Stefan Kost [Tue, 8 Feb 2011 10:17:53 +0000 (12:17 +0200)]
ffmpeg: don't divide by 0 when checking the framerates
Check for denom==0 first and set it to on in that case.
Wim Taymans [Thu, 7 Apr 2011 10:34:51 +0000 (12:34 +0200)]
dec: avoid making the buffer writable
Set the caps right after allocation of the buffer because we know the buffer is
writable then and we are correctly negotiated. Since ffmpeg keeps around
references to frames, making the buffer metadata writable where it was done
before pushing will always end up with a copy and that makes the sink do a slow
memcpy all the time.
Miguel Angel Cabrera Moya [Mon, 4 Apr 2011 14:37:42 +0000 (16:37 +0200)]
ffmpegdec: do buffer padding before parsing and before decoding
FFMpeg parsing and decoding calls require to additionally allocate bytes
at the end of the input bitstream and this padding must be initialized
to zero.
https://bugzilla.gnome.org/show_bug.cgi?id=595590
Stefan Kost [Mon, 4 Apr 2011 12:58:24 +0000 (15:58 +0300)]
Automatic update of common submodule
From 1ccbe09 to c3cafe1
Sebastian Dröge [Fri, 25 Mar 2011 21:35:11 +0000 (22:35 +0100)]
Automatic update of common submodule
From 193b717 to 1ccbe09
Stefan Kost [Fri, 25 Mar 2011 12:57:12 +0000 (14:57 +0200)]
Automatic update of common submodule
From b77e2bf to 193b717
Sebastian Dröge [Fri, 25 Mar 2011 08:33:36 +0000 (09:33 +0100)]
Automatic update of common submodule
From d8814b6 to b77e2bf
Sebastian Dröge [Fri, 25 Mar 2011 08:09:54 +0000 (09:09 +0100)]
Automatic update of common submodule
From 6aaa286 to d8814b6
Stefan Kost [Thu, 24 Mar 2011 16:50:36 +0000 (18:50 +0200)]
Automatic update of common submodule
From 6aec6b9 to 6aaa286
Luis de Bethencourt [Fri, 18 Mar 2011 18:34:57 +0000 (19:34 +0100)]
autogen: wingo signed comment
Mark Nauwelaerts [Sun, 23 Jan 2011 13:43:26 +0000 (14:43 +0100)]
configure.ac: no need to mess with AS
Mark Nauwelaerts [Thu, 27 Jan 2011 21:22:02 +0000 (22:22 +0100)]
configure.ac: cygwin/mingw32; enable linking static non-import libs
... such as to internal ffmpeg static libs.
Fixes #642507.
Mark Nauwelaerts [Thu, 27 Jan 2011 21:22:22 +0000 (22:22 +0100)]
configure.ac: export plugin description more platform independent
Fixes #642504.
Mark Nauwelaerts [Mon, 28 Feb 2011 17:33:49 +0000 (18:33 +0100)]
Automatic update of common submodule
From 1de7f6a to 6aec6b9
Julien Isorce [Thu, 10 Feb 2011 11:00:11 +0000 (12:00 +0100)]
ffvideoscale: add support for UYVY
Fixes #642015
Stefan Kost [Mon, 14 Feb 2011 10:54:26 +0000 (12:54 +0200)]
Automatic update of common submodule
From f94d739 to 1de7f6a
Tim-Philipp Müller [Mon, 31 Jan 2011 23:28:33 +0000 (23:28 +0000)]
ffmpegdec: improve error message when set_caps is called but we have no mapping
This may happen e.g. if gst-ffmpeg is compiled against an external
libavcodec and the external lib is upgraded.
See e.g.
https://bugzilla.gnome.org/show_bug.cgi?id=640825
Edward Hervey [Tue, 25 Jan 2011 15:34:04 +0000 (16:34 +0100)]
codecmap: Add mapping for g722
Edward Hervey [Tue, 25 Jan 2011 10:30:02 +0000 (11:30 +0100)]
gst-libs: Remove .config file from ffmpeg build when cleaning up
Edward Hervey [Mon, 24 Jan 2011 17:29:24 +0000 (18:29 +0100)]
codecmap: Add proper caps name for Camstudio
Edward Hervey [Mon, 24 Jan 2011 17:29:00 +0000 (18:29 +0100)]
gstffmpegdemux: Ignore more pseudo demuxers
Edward Hervey [Mon, 24 Jan 2011 16:43:44 +0000 (17:43 +0100)]
gstffmpegmux: Blacklist some muxer formats
Edward Hervey [Mon, 24 Jan 2011 16:20:56 +0000 (17:20 +0100)]
gstffmpegcodecmap: Add some new codec mappings
VP8
LAGARITH
GSM
GSM_MS
Edward Hervey [Sun, 7 Nov 2010 16:08:50 +0000 (17:08 +0100)]
ffmpegprotocol: Slight API change
Edward Hervey [Sun, 7 Nov 2010 16:08:19 +0000 (17:08 +0100)]
configure.ac: Don't forget to include new libavcore library
Edward Hervey [Sun, 7 Nov 2010 16:08:04 +0000 (17:08 +0100)]
ffmpegrev: Switch to revision 26402 of ffmpeg
This is the last svn revision. They have switched to using git...
but since there's still some controversy, we'll stick to this version
for the time being and maybe switch to using a git submodule in a month
with the same equivalent revision (or newer/older if needed)
Tim-Philipp Müller [Fri, 14 Jan 2011 09:35:17 +0000 (09:35 +0000)]
configure: require core 0.10.31
For gst_util_fraction_compare()
Stefan Kost [Tue, 11 Jan 2011 13:51:38 +0000 (15:51 +0200)]
Automatic update of common submodule
From e572c87 to f94d739
Tim-Philipp Müller [Mon, 10 Jan 2011 16:37:49 +0000 (16:37 +0000)]
Automatic update of common submodule
From ccbaa85 to e572c87
Tim-Philipp Müller [Mon, 10 Jan 2011 14:55:03 +0000 (14:55 +0000)]
Automatic update of common submodule
From 46445ad to ccbaa85
Edward Hervey [Fri, 7 Jan 2011 17:08:15 +0000 (18:08 +0100)]
ffmpegdec: Set the mp3 decoder to a rank of NONE
It's just causing too many headaches. This will force people to use
a working mp3 decoder, like mad.
Edward Hervey [Wed, 5 Jan 2011 15:59:55 +0000 (16:59 +0100)]
ffmpegdec: Fix unitialized variables on macosx
Edward Hervey [Mon, 3 Jan 2011 10:45:04 +0000 (11:45 +0100)]
ffmpegenc: Disable non-audio/video encoders
Fixes #629648
Wim Taymans [Tue, 21 Dec 2010 11:11:32 +0000 (12:11 +0100)]
ffmpgdec: work around parser timestamp bug
Sometimes the parser loses track of timestamps and starts to reuse old
timestamp. Feed it some dummy data and clear some context variables to work
around the problem.
Edward Hervey [Mon, 20 Dec 2010 16:47:51 +0000 (17:47 +0100)]
Automatic update of common submodule
From 169462a to 46445ad
Sebastian Dröge [Thu, 16 Dec 2010 09:12:02 +0000 (10:12 +0100)]
ffvideoscale: Change classification to Filter/Converter/Video/Scaler
Sebastian Dröge [Thu, 16 Dec 2010 09:05:03 +0000 (10:05 +0100)]
ffdeinterlace: Change classification to Filter/Effect/Video/Deinterlace
Stefan Kost [Wed, 15 Dec 2010 12:56:50 +0000 (14:56 +0200)]
Automatic update of common submodule
From 20742ae to 169462a
Stefan Kost [Mon, 13 Dec 2010 14:24:24 +0000 (16:24 +0200)]
Automatic update of common submodule
From 011bcc8 to 20742ae
Wim Taymans [Sun, 12 Dec 2010 11:38:55 +0000 (12:38 +0100)]
dec: scale the estimated duration by number of frames
When estimating the frame duration, the diff between two incomming timestamps
should be scaled by the amount of frames in the interval. Improves duration
estimation and DTS interpolation.
Wim Taymans [Sun, 12 Dec 2010 09:54:09 +0000 (10:54 +0100)]
dec: use input timestamp diff for duration estimation
Use the diff between input timestamps to estimate the duration when no duration
is set on input buffers. Only do this when there are no reordered input
timestamps. Improves interpolation in DTS mode when no input duration is set.
Jan Schmidt [Wed, 27 Oct 2010 12:17:43 +0000 (13:17 +0100)]
Automatic update of common submodule
From 7bbd708 to 011bcc8
Mark Nauwelaerts [Mon, 25 Oct 2010 10:14:42 +0000 (12:14 +0200)]
ffmpegenc: ensure proper clean state prior to (re-)negotiation
Fixes #632691.
Wim Taymans [Fri, 22 Oct 2010 11:03:12 +0000 (13:03 +0200)]
ffdec: don't destroy the parser state
When we flush the parser cache, we only need to clear the bytes of the cache,
not the complete state of the cache. In the case of H264 this doesn't require
the parser to receive a new SPS/PPS after a DISCONT buffer.
Wim Taymans [Fri, 22 Oct 2010 10:59:02 +0000 (12:59 +0200)]
ffdec: be more careful with DTS timestamp interpolation
Don't use -1 and 0 duration buffers to calculate next output timestamp as they
are very likely wrong.
Fixes #632877
Stefan Kost [Tue, 19 Oct 2010 14:26:08 +0000 (17:26 +0300)]
various: add missing G_PARAM_STATIC_STRINGS flags
Sebastian Dröge [Wed, 13 Oct 2010 18:48:19 +0000 (20:48 +0200)]
ffmpeg: Add mapping for YUVA420P <-> A420
This is used by VP6a, which is used by Flash.
See bug #613901.
David Schleef [Thu, 14 Oct 2010 19:32:28 +0000 (12:32 -0700)]
Automatic update of common submodule
From 5a668bf to 7bbd708
Edward Hervey [Tue, 12 Oct 2010 14:17:51 +0000 (16:17 +0200)]
ffmpegdec: Fix debug statements
David Schleef [Fri, 8 Oct 2010 19:45:01 +0000 (12:45 -0700)]
Automatic update of common submodule
From c4a8adc to 5a668bf
Sebastian Dröge [Fri, 8 Oct 2010 10:56:28 +0000 (12:56 +0200)]
Automatic update of common submodule
From 5e3c9bf to c4a8adc
Wim Taymans [Thu, 7 Oct 2010 15:46:22 +0000 (17:46 +0200)]
ffdec: use a better algorithm to detect DTS timestamps
Add function to reset the timestamp tracking.
Check for reordered timestamps on the input buffers and assume PTS input
timestamps when we see reordered timestamps.
Recover from an occasionally wrong input timestamp by also tracking the output
timestamps. When we detect a reordered output timestamp, assume DTS input
timestamps again.
Fixes #611500
Wim Taymans [Wed, 6 Oct 2010 16:51:24 +0000 (18:51 +0200)]
ffdec: add debug line
Wim Taymans [Wed, 6 Oct 2010 16:23:57 +0000 (18:23 +0200)]
ffdec: add fixmes
Wim Taymans [Wed, 6 Oct 2010 16:15:03 +0000 (18:15 +0200)]
ffdec: add some comments
Wim Taymans [Wed, 6 Oct 2010 14:00:05 +0000 (16:00 +0200)]
ffdec: Add timestamp tracking
Use ffmpeg reordered_opaque to track an id that combines all timing info we have
for a frame. The ids are kept in a 255 item cache.
Fixes #631075
Wim Taymans [Wed, 6 Oct 2010 10:30:57 +0000 (12:30 +0200)]
ffdec: remove broken TSHandler
Remove the TShandler code, it is broken when QoS is enabled and ffmpeg provides
much easier methods for tracking timestamps.
Simplify pcache joining.
Wim Taymans [Wed, 6 Oct 2010 14:43:27 +0000 (16:43 +0200)]
ffcodecmap: avoid setting large framerates
When the framerate is bigger than 1000/1, set it to 0/1 instead. This avoids
letting the videosink do QoS on these very small frame durations.
Wim Taymans [Wed, 6 Oct 2010 10:26:09 +0000 (12:26 +0200)]
ffdec: rename time variable
Rename the time variable to avoid confusion with the time function.
Add some debug to the QoS update function.
Wim Taymans [Tue, 5 Oct 2010 17:22:28 +0000 (19:22 +0200)]
ffenc: pass the input size to the encoder
Pass the input buffer size to the encoder instead of the expected output size.
This is needed to make fixed input/output encoder work.
Edward Hervey [Tue, 21 Sep 2010 16:34:43 +0000 (18:34 +0200)]
Automatic update of common submodule
From aa0d1d0 to 5e3c9bf
Tim-Philipp Müller [Tue, 7 Sep 2010 10:43:15 +0000 (11:43 +0100)]
Automatic update of common submodule
From c2e10bf to aa0d1d0
David Schleef [Mon, 6 Sep 2010 01:58:59 +0000 (18:58 -0700)]
Automatic update of common submodule
From d3d9acf to c2e10bf
Sebastian Dröge [Sun, 5 Sep 2010 10:27:58 +0000 (12:27 +0200)]
configure: Require orc >= 0.4.6 for --compat
Sebastian Dröge [Sun, 5 Sep 2010 10:20:44 +0000 (12:20 +0200)]
Automatic update of common submodule
From ec60217 to d3d9acf
Sebastian Dröge [Fri, 27 Aug 2010 16:29:15 +0000 (18:29 +0200)]
ffmpegdemux: Don't use GST_FLOW_IS_FATAL() and GST_FLOW_IS_SUCCESS()
Stefan Kost [Fri, 13 Aug 2010 14:24:53 +0000 (17:24 +0300)]
Automatic update of common submodule
From 3e8db1d to ec60217
Tim-Philipp Müller [Tue, 10 Aug 2010 09:59:24 +0000 (10:59 +0100)]
Automatic update of common submodule
From bd2054b to 3e8db1d
Stefan Kost [Thu, 5 Aug 2010 10:57:39 +0000 (13:57 +0300)]
Automatic update of common submodule
From a519571 to bd2054b
Sebastian Dröge [Wed, 4 Aug 2010 17:41:06 +0000 (19:41 +0200)]
configure: Use AC_PROG_CC_STDC instead of the automake variant
Sebastian Dröge [Wed, 4 Aug 2010 17:32:51 +0000 (19:32 +0200)]
configure: Fix FIXME comment
Tim-Philipp Müller [Sun, 18 Jul 2010 19:15:32 +0000 (20:15 +0100)]
ffdeinterlace: some minor clean-ups
Don't use studlyCaps; gboolean != GstFlowReturn; use gst_caps_set_simple()
instead of creating a GValue just to set a boolean field on a caps structure.
See #622736.
Edward Hervey [Fri, 16 Jul 2010 10:45:18 +0000 (12:45 +0200)]
Back to development.
Edward Hervey [Thu, 15 Jul 2010 19:28:30 +0000 (21:28 +0200)]
releasing 0.10.11, "Feeding trolls is strictly forbidden"
Edward Hervey [Wed, 7 Jul 2010 10:41:24 +0000 (12:41 +0200)]
configure.ac: 0.10.10.5 pre-release
Edward Hervey [Tue, 6 Jul 2010 11:58:30 +0000 (13:58 +0200)]
ffmpegmux: Use "Formatter/Metadata" klass when needed
https://bugzilla.gnome.org/show_bug.cgi?id=623671
Edward Hervey [Tue, 6 Jul 2010 11:58:05 +0000 (13:58 +0200)]
ffmpegmux: Add more replacements
https://bugzilla.gnome.org/show_bug.cgi?id=623671
Edward Hervey [Tue, 6 Jul 2010 10:03:25 +0000 (12:03 +0200)]
codecmap: Fix the caps of various mov/amr formats
https://bugzilla.gnome.org/show_bug.cgi?id=623671
Edward Hervey [Tue, 6 Jul 2010 09:58:40 +0000 (11:58 +0200)]
gstffmpegmux: Set rank of blacklisted muxers to GST_RANK_NONE
https://bugzilla.gnome.org/show_bug.cgi?id=623671
Edward Hervey [Mon, 5 Jul 2010 13:48:06 +0000 (15:48 +0200)]
ext: Fix CFLAGS order
We'd pick up system-wide ffmpeg headers otherwise
Mark Nauwelaerts [Mon, 5 Jul 2010 08:32:42 +0000 (10:32 +0200)]
ffmpegenc: fix timestamp resyncing some more
Convert bytes to samples in remaining occurrence.
See #623388.
Thiago Santos [Fri, 2 Jul 2010 21:38:06 +0000 (18:38 -0300)]
ffmpegenc: Fix timestamp resyncing
Properly convert bytes into time using sample size, sample rate
and channels number, instead of sample rate only.
This can cause huge timestamp discontinuities (even though the
durations remain correct) and might cause problems to muxers.
Fixes #623388
Edward Hervey [Fri, 2 Jul 2010 15:21:27 +0000 (17:21 +0200)]
ffmpegmux: Add rtp to the blacklisted muxers
Edward Hervey [Fri, 2 Jul 2010 10:40:03 +0000 (12:40 +0200)]
codecmap: Specify the quicktime variant for mov and mp4 formats
Edward Hervey [Wed, 30 Jun 2010 08:32:25 +0000 (10:32 +0200)]
configure.ac: 0.10.10.4 pre-release
Tim-Philipp Müller [Mon, 28 Jun 2010 16:13:50 +0000 (17:13 +0100)]
Bump automake requirement to 1.10, autoconf to 2.60 and libtool to 1.5
For maintainability reasons. These are the versions we require in
other modules.
Edward Hervey [Sun, 27 Jun 2010 10:52:39 +0000 (12:52 +0200)]
0.10.10.3 pre-release
Edward Hervey [Sun, 27 Jun 2010 10:49:02 +0000 (12:49 +0200)]
gst-libs: Simplify make dist by a metric truckload
Just use svn export instead of trying to be smart about which files
we need.
This makes the resulting gst-ffmpeg tarball a bit bigger, but at least
we know we have everything needed to build gst-ffmpeg
Edward Hervey [Sun, 27 Jun 2010 08:51:48 +0000 (10:51 +0200)]
0.10.10.2 pre-release
David Schleef [Fri, 25 Jun 2010 22:59:24 +0000 (15:59 -0700)]
ffmpegmux: Add alternate element in description
For muxers where there is a better GStreamer alternative, add
"(not recommended, use alternate_element_name instead)" to
the description.
https://bugzilla.gnome.org/show_bug.cgi?id=622773
David Schleef [Fri, 25 Jun 2010 22:57:45 +0000 (15:57 -0700)]
ffmpegmux: Disable raw muxers
They are effectively identity elements. Many are already
disabled via blacklist.
https://bugzilla.gnome.org/show_bug.cgi?id=622773
Andoni Morales Alastruey [Fri, 25 Jun 2010 14:26:00 +0000 (16:26 +0200)]
ffdeinterlace: Set "interlaced=false" in the source pad's caps
https://bugzilla.gnome.org/show_bug.cgi?id=622736
Stefan Kost [Thu, 24 Jun 2010 12:09:59 +0000 (15:09 +0300)]
Automatic update of common submodule
From 35617c2 to a519571
Edward Hervey [Wed, 16 Jun 2010 10:10:34 +0000 (12:10 +0200)]
gst-libs: Fixup make distclean for new ffmpeg
Edward Hervey [Wed, 16 Jun 2010 09:55:40 +0000 (11:55 +0200)]
configure: Disable doc/applicatoin building
Edward Hervey [Wed, 16 Jun 2010 09:46:02 +0000 (11:46 +0200)]
configure: Use --enable-pic instead of --enabled-shared
Not sure when that option was added, but it does what we want (i.e. produce
PIC code in .a/.la that we can then link into a shared library)
Edward Hervey [Wed, 16 Jun 2010 08:53:39 +0000 (10:53 +0200)]
ffmpegrev: Switch to head of ffmpeg SVN as of Wed Jun 5th
Sebastian Dröge [Tue, 15 Jun 2010 17:50:29 +0000 (19:50 +0200)]
ffmpegrev: Fix checkout directory to prevent a new checkout every time autogen.sh runs
Edward Hervey [Tue, 15 Jun 2010 14:50:33 +0000 (16:50 +0200)]
Automatic update of common submodule
From 9339ccc to 35617c2
Stefan Kost [Tue, 15 Jun 2010 13:54:55 +0000 (16:54 +0300)]
Automatic update of common submodule
From 5adb1ca to 9339ccc