Edward Hervey [Fri, 15 Jun 2012 10:19:58 +0000 (12:19 +0200)]
ffmpegviddec: Properly return if negotiation fails
Instead of crashing ....
Edward Hervey [Thu, 14 Jun 2012 13:13:31 +0000 (15:13 +0200)]
ffmpegviddec: Properly update the interlacing
Fixes #678080
Edward Hervey [Thu, 14 Jun 2012 13:04:33 +0000 (15:04 +0200)]
ffmpegviddec: Properly error out when codec doesn't open
Avoids ending up using an un-set codec
Edward Hervey [Fri, 8 Jun 2012 12:26:40 +0000 (14:26 +0200)]
Automatic update of common submodule
From b811047 to 3baf58a
Sebastian Dröge [Thu, 7 Jun 2012 10:29:41 +0000 (12:29 +0200)]
libav: Update to 0.8.3 release
Edward Hervey [Wed, 6 Jun 2012 16:19:20 +0000 (18:19 +0200)]
Automatic update of common submodule
From b098abb to b811047
Edward Hervey [Fri, 1 Jun 2012 08:22:26 +0000 (10:22 +0200)]
Automatic update of common submodule
From 96f075b to b098abb
Sebastian Dröge [Wed, 30 May 2012 10:40:59 +0000 (12:40 +0200)]
Automatic update of common submodule
From 1e6c5ea to 96f075b
Sebastian Dröge [Wed, 30 May 2012 10:31:59 +0000 (12:31 +0200)]
Automatic update of common submodule
From ff4cad1 to 1e6c5ea
Sebastian Dröge [Wed, 30 May 2012 09:26:07 +0000 (11:26 +0200)]
Automatic update of common submodule
From 7604bab to ff4cad1
Sebastian Dröge [Tue, 22 May 2012 10:57:40 +0000 (12:57 +0200)]
libav: Update to 0.8.2 release
Sebastian Dröge [Tue, 15 May 2012 12:43:19 +0000 (14:43 +0200)]
tests: Don't run the postproc test if compiled as an LGPL plugin
Nicolas Dufresne [Thu, 26 Apr 2012 19:31:41 +0000 (15:31 -0400)]
codecmap: correctly set height in AVCodecContext
https://bugzilla.gnome.org/show_bug.cgi?id=674899
Edward Hervey [Thu, 26 Apr 2012 16:56:35 +0000 (18:56 +0200)]
ffmpegviddec: Always keep a reference to the frame
Ensures no data gets cleared before the decoders are really done
with it.
Edward Hervey [Thu, 26 Apr 2012 15:00:43 +0000 (17:00 +0200)]
ffmpegviddec: Flush and drain when needed
we need to flush avcodec internal state on hard resets
we need to drain out pending buffers on EOS and soft resets
Edward Hervey [Tue, 24 Apr 2012 13:36:30 +0000 (15:36 +0200)]
ffmpegviddec: Add video/x-raw-gray to src pad template
Edward Hervey [Tue, 24 Apr 2012 13:36:00 +0000 (15:36 +0200)]
codecmap: Add more GstVideoInfo<=>PixelFormat mappings
Edward Hervey [Wed, 18 Apr 2012 10:37:53 +0000 (12:37 +0200)]
ffmpegviddec: Port to GstVideoDecoder
Edward Hervey [Tue, 24 Apr 2012 09:31:27 +0000 (11:31 +0200)]
gstffmpegvidenc: Port to -base video classes
Edward Hervey [Sat, 7 Apr 2012 09:14:45 +0000 (11:14 +0200)]
ffmpegenc/dec: Remove audio/video specific code
Makes each file more manageable, second step to porting to base classes
Edward Hervey [Sat, 7 Apr 2012 08:36:04 +0000 (10:36 +0200)]
ffmpeg: Clone encoder and decoder files
First step in porting to base video classes
Edward Hervey [Tue, 24 Apr 2012 09:31:44 +0000 (11:31 +0200)]
codecmap: Add utility for using with GstVideoFormat
Wim Taymans [Fri, 20 Apr 2012 14:16:25 +0000 (16:16 +0200)]
ffdec: don't flush buffers on DISCONT
Don't flush the buffers that ffmpeg has on DISCONT but instead let it recover.
This gives a much better image in the case of packet loss.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=635020
Wim Taymans [Thu, 19 Apr 2012 13:35:48 +0000 (15:35 +0200)]
postproc: fix compilation when ORC is missing
Fix 'set but not used' compiler error when ORC is missing.
Wim Taymans [Thu, 19 Apr 2012 12:45:42 +0000 (14:45 +0200)]
ffscale: fix compilation when ORC is missing
Fix set but not used compiler error when ORC is missing.
Sebastian Dröge [Tue, 6 Mar 2012 14:27:22 +0000 (15:27 +0100)]
ffmux: Use correct enum type for return value
Edward Hervey [Fri, 2 Mar 2012 16:27:30 +0000 (17:27 +0100)]
ffmpegdec: Use auto-threads if available, and only slice-threading
Slice threading causes less latency (and corruption)
Edward Hervey [Wed, 22 Feb 2012 11:14:21 +0000 (12:14 +0100)]
codecmap: Add mapping for Indeo 4 video codec
Edward Hervey [Wed, 22 Feb 2012 10:53:35 +0000 (11:53 +0100)]
libav: Switch to tracking 0.8 release branch
Sebastian Dröge [Wed, 25 Jan 2012 12:10:07 +0000 (13:10 +0100)]
configure: Add --disable-fatal-warnings configure option
Sebastian Dröge [Wed, 18 Jan 2012 09:05:09 +0000 (10:05 +0100)]
ffdec: Only set get_buffer() function for video
Fixes bug #666435.
Tim-Philipp Müller [Thu, 12 Jan 2012 18:03:10 +0000 (18:03 +0000)]
ffmpegdemux: demote swf demuxer to GST_RANK_NONE
SWF doesn't really make sense in our context, don't pretend
to support it. People should use a dedicated swf player for that.
Vincent Penquerc'h [Thu, 12 Jan 2012 14:57:48 +0000 (14:57 +0000)]
ffmpegdemux: fix caps leak
Mark Nauwelaerts [Thu, 27 Jan 2011 21:25:13 +0000 (22:25 +0100)]
configure.ac: improve path handling in out-of-tree build
That is, handle the srcdir being given by a relative path as well as
an absolute path by using autotools provided absolute path.
Sebastian Dröge [Tue, 10 Jan 2012 09:08:05 +0000 (10:08 +0100)]
ffmpeg: Channel layouts are now set for DTS and (E)AC3 by libav
Sebastian Dröge [Tue, 10 Jan 2012 10:12:59 +0000 (11:12 +0100)]
libav: Update to current GIT master
Sebastian Dröge [Tue, 10 Jan 2012 10:04:56 +0000 (11:04 +0100)]
ffdec: Give the (E)AC3/DTS decoders a rank of marginal
Even if they don't downmix to stereo, they're still working
correctly. The only advantage of dtsdec/a52dec is that they
downmix to stereo (using the special downmixing matrices) if
downstream prefers stereo but in every other case they should
be equivalent.
Tim-Philipp Müller [Sat, 7 Jan 2012 19:56:42 +0000 (19:56 +0000)]
configure: require core from git/pre-release
For gst_element_class_add_static_pad_template() which
was added only recently.
Vincent Penquerc'h [Thu, 15 Dec 2011 14:28:00 +0000 (14:28 +0000)]
ffmpeg: port to GstCollectPads2
Edward Hervey [Tue, 8 Nov 2011 17:56:54 +0000 (18:56 +0100)]
ffmpegdec: Report latency if B-frames are present
... and cleanup the query handler while we're at it
https://bugzilla.gnome.org/show_bug.cgi?id=663616
Vincent Penquerc'h [Mon, 28 Nov 2011 13:23:42 +0000 (13:23 +0000)]
ffmpeg: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
Matej Knopp [Wed, 23 Nov 2011 23:41:27 +0000 (00:41 +0100)]
Fix cpu cores detection on OS X
https://bugzilla.gnome.org/show_bug.cgi?id=664687
Edward Hervey [Wed, 2 Nov 2011 16:47:40 +0000 (17:47 +0100)]
Merge remote-tracking branch 'origin/0.10.13'
Edward Hervey [Wed, 2 Nov 2011 16:26:54 +0000 (17:26 +0100)]
0.10.13 Release "Speeding, sparks like lightning"
Edward Hervey [Mon, 31 Oct 2011 10:47:10 +0000 (11:47 +0100)]
configure.ac: Remove --enable-postproc from the default flags
fixes previous patch
Edward Hervey [Mon, 31 Oct 2011 10:40:37 +0000 (11:40 +0100)]
0.10.12.3 pre-release
Martin Storsjo [Tue, 5 Jul 2011 18:35:46 +0000 (21:35 +0300)]
Allow building a LGPL only gst-ffmpeg plugin
This removes --enable-gpl and --enable-postproc from the
ffmpeg configure line, and disables building the postproc
gstreamer plugin.
https://bugzilla.gnome.org/show_bug.cgi?id=654037
Conflicts:
configure.ac
Sjoerd Simons [Mon, 10 Oct 2011 22:56:04 +0000 (23:56 +0100)]
ffmpegenc: Pass the size of the output buffer to avcodec_encode_audio
avcodec_encode_audio is documented as taking the size of the output
buffer not the size of the input buffer. This fixes the use of the G722
encoder and makes the code more consistent with avconv from the libav
source tree.
Sjoerd Simons [Mon, 10 Oct 2011 21:04:48 +0000 (22:04 +0100)]
ffmpegcodecmap: Further specify allowed rates for G722 and G726
Sjoerd Simons [Mon, 10 Oct 2011 13:50:09 +0000 (14:50 +0100)]
ffmpegcodecmap: Always restrict audio codec in the unfixed cases
If the context isn't fixed yet or if it doesn't exist then always
restrict the caps.
Also restrict the maximum channels for G726 and G722 to 1 channel
Martin Storsjo [Tue, 5 Jul 2011 18:35:46 +0000 (21:35 +0300)]
Allow building a LGPL only gst-ffmpeg plugin
This removes --enable-gpl and --enable-postproc from the
ffmpeg configure line, and disables building the postproc
gstreamer plugin.
https://bugzilla.gnome.org/show_bug.cgi?id=654037
Sjoerd Simons [Mon, 10 Oct 2011 22:56:04 +0000 (23:56 +0100)]
ffmpegenc: Pass the size of the output buffer to avcodec_encode_audio
avcodec_encode_audio is documented as taking the size of the output
buffer not the size of the input buffer. This fixes the use of the G722
encoder and makes the code more consistent with avconv from the libav
source tree.
Sjoerd Simons [Mon, 10 Oct 2011 21:04:48 +0000 (22:04 +0100)]
ffmpegcodecmap: Further specify allowed rates for G722 and G726
Sjoerd Simons [Mon, 10 Oct 2011 13:50:09 +0000 (14:50 +0100)]
ffmpegcodecmap: Always restrict audio codec in the unfixed cases
If the context isn't fixed yet or if it doesn't exist then always
restrict the caps.
Also restrict the maximum channels for G726 and G722 to 1 channel
Edward Hervey [Tue, 18 Oct 2011 08:23:44 +0000 (10:23 +0200)]
0.10.12.2 pre-release
Edward Hervey [Tue, 18 Oct 2011 08:18:27 +0000 (10:18 +0200)]
libav: Update to v0.7.2 release
Edward Hervey [Mon, 17 Oct 2011 14:27:36 +0000 (16:27 +0200)]
gstffmpegdec: Re-enable MT-decoding by default
Edward Hervey [Mon, 17 Oct 2011 14:26:52 +0000 (16:26 +0200)]
gstffmpegutils: Fix include
Edward Hervey [Mon, 17 Oct 2011 14:26:20 +0000 (16:26 +0200)]
configure.ac: Fix for new libav
Edward Hervey [Mon, 17 Oct 2011 14:02:51 +0000 (16:02 +0200)]
libav: Switch to current git master
Vincent Penquerc'h [Mon, 29 Aug 2011 14:18:39 +0000 (15:18 +0100)]
ffdec: ensure buffers have correct interlacedness in caps
Whether a frame is interlaced or not is unknown at the time of
buffer allocation, so caps on the buffer in opaque will have
a previous frame's interlaced flag set. So if interlacedness
changes, we update the buffer (if any) caps with the correct
interlaced flag once we know.
https://bugzilla.gnome.org/show_bug.cgi?id=656155
Vincent Penquerc'h [Thu, 1 Sep 2011 15:46:47 +0000 (16:46 +0100)]
ffmpegdec: post QoS messages when dropping a frame
There seems to be a little bit of non obvious logic where
the QoS logic can decide to not drop decoding a frame and
pass it to ffmpeg, telling it to drop.
In this case, the QoS logic does not drop the frame itself,
but since the frame will end up being dropped, we still
mark it as dropped and post a QoS message.
https://bugzilla.gnome.org/show_bug.cgi?id=657950
Tim-Philipp Müller [Mon, 26 Sep 2011 18:55:54 +0000 (19:55 +0100)]
ffmpegdec: disable parser for already-parsed FLAC input
Not needed to make anything work, just seems to make sense.
https://bugzilla.gnome.org/show_bug.cgi?id=589361
Tim-Philipp Müller [Mon, 26 Sep 2011 18:54:52 +0000 (19:54 +0100)]
ffmpegcodecmap: don't create dummy codec data for FLAC decoder
Since then it just errors out because it's too small, as it
wants the flac headers as codec data if there is codec data.
https://bugzilla.gnome.org/show_bug.cgi?id=589361
Tvrtko Ursulin [Fri, 12 Aug 2011 08:06:03 +0000 (09:06 +0100)]
ffdeinterlace: add "mode" property including automatic mode
Just like deinterlace.
https://bugzilla.gnome.org/show_bug.cgi?id=656328
Stefan Sauer [Wed, 7 Sep 2011 14:10:02 +0000 (16:10 +0200)]
docs: cleanup makefiles
Remove commented out parts that we don't need. Remove "the wingo addition" - no
so useful after all. Narrow down file-globs for plugin docs.
Stefan Sauer [Tue, 6 Sep 2011 19:52:50 +0000 (21:52 +0200)]
Automatic update of common submodule
From a39eb83 to 11f0cd5
Stefan Sauer [Tue, 6 Sep 2011 14:06:23 +0000 (16:06 +0200)]
Automatic update of common submodule
From 605cd9a to a39eb83
Nicolas Dufresne [Fri, 2 Sep 2011 20:25:16 +0000 (16:25 -0400)]
ffdec: Blacklist non-working subtitle decoders
This include decoder for ASS, SRT, PGS, DVD and DVB. Those are generated
with bad capabilities and are not usable in GStreamer. Other elements exist
to handle those subtitle formats.
https://bugzilla.gnome.org/show_bug.cgi?id=658019
Tim-Philipp Müller [Mon, 18 Jul 2011 11:12:38 +0000 (12:12 +0100)]
tests: add simple test for creating postproc elements
https://bugzilla.gnome.org/show_bug.cgi?id=654634
Tim-Philipp Müller [Sat, 3 Sep 2011 11:30:26 +0000 (12:30 +0100)]
Update internal libav snapshot to latest releases/0.7 tip for postproc fix
https://bugzilla.gnome.org/show_bug.cgi?id=654634
Tim-Philipp Müller [Sat, 3 Sep 2011 11:27:28 +0000 (12:27 +0100)]
configure: back to development
Edward Hervey [Wed, 20 Jul 2011 10:14:45 +0000 (12:14 +0200)]
Release 0.10.12
Edward Hervey [Wed, 20 Jul 2011 10:05:34 +0000 (12:05 +0200)]
Update dope file
Raimo Järvi [Fri, 17 Jun 2011 11:05:58 +0000 (14:05 +0300)]
codecmap: Don't create dummy extradata for AAC LATM
If extradata is created for LATM, libav will use it for initialising AAC
decoder and decoding will fail.
Fixes bug #652812.
Edward Hervey [Tue, 12 Jul 2011 16:36:35 +0000 (18:36 +0200)]
gst-libs: Update libav checkout to latest 0.7 tip
Contains MT fixes
David Schleef [Sun, 5 Jun 2011 02:10:15 +0000 (19:10 -0700)]
configure: Remove -gnu from target_os
Fixes #651768.
Edward Hervey [Mon, 11 Jul 2011 08:47:26 +0000 (10:47 +0200)]
ffmpegdec: Set default number of threads to 1
Too many suspicious errors/warnings pop up when more than 1 thread
is used.
Fixes #653649
Wim Taymans [Thu, 7 Jul 2011 16:52:23 +0000 (18:52 +0200)]
remove -Wcast-align
See: https://bugzilla.gnome.org/show_bug.cgi?id=615698
Edward Hervey [Thu, 30 Jun 2011 19:38:57 +0000 (21:38 +0200)]
ffmpegdec: Setting AC3/EAC3/DTS decoders to rank NONE for release
This still causes issues with bad (missing?) downmixing.
They can be handled by existing a52dec/dtsdec
See Bug #608892
Mark Nauwelaerts [Thu, 30 Jun 2011 07:06:21 +0000 (09:06 +0200)]
ffmpegcodecmap: really include all supported sample formats in audio caps
Fixes #653717.
Mark Nauwelaerts [Wed, 29 Jun 2011 14:22:48 +0000 (16:22 +0200)]
ffmpegdec: avoid allocating and leaking local avpacket helpers
... by _init'ing them as locals rather than _new'ing them.
Fixes #653648.
Edward Hervey [Sat, 25 Jun 2011 11:05:41 +0000 (13:05 +0200)]
configure.ac: 0.10.11.2 pre-release
Edward Hervey [Thu, 16 Jun 2011 18:02:40 +0000 (20:02 +0200)]
ext: Bumping libav checkout to current tip of v0.7 branch
David Schleef [Thu, 23 Jun 2011 18:29:42 +0000 (11:29 -0700)]
Automatic update of common submodule
From 69b981f to 605cd9a
Jan Schmidt [Tue, 21 Jun 2011 04:33:29 +0000 (14:33 +1000)]
Enable threading in ffmpeg decoders that support it.
Add a max-threads property, which defaults to '0 = auto'
Add a utility function taken from libschroedinger which sets
the ffmpeg worker thread count to match the computer processor
count by default.
Raimo Järvi [Thu, 2 Jun 2011 15:02:38 +0000 (18:02 +0300)]
ffdec: Fix calculating frame duration from last timestamp and frame count.
Fixes bug #651714.
Raimo Järvi [Tue, 31 May 2011 10:16:26 +0000 (13:16 +0300)]
ffdec: Check for AV_NOPTS_VALUE in PTS value.
https://bugzilla.gnome.org/show_bug.cgi?id=651625
Raimo Järvi [Mon, 30 May 2011 10:14:09 +0000 (13:14 +0300)]
ffdec: Add mpegversion 2 to AAC decoder caps
Fixes bug #651447.
Edward Hervey [Sun, 29 May 2011 15:39:38 +0000 (17:39 +0200)]
ffmpegdec: Don't discard timestamps if output AND input are in order
Avoids bogus timestamps for AVCHD-lite streams
Edward Hervey [Sun, 29 May 2011 15:43:46 +0000 (17:43 +0200)]
ext: Update to libav git master as of Sunday 29th May 2011
Sebastian Dröge [Fri, 27 May 2011 08:54:12 +0000 (10:54 +0200)]
ffenc_aac: Add profile and level to the caps
Fixes bug #650596.
Sebastian Dröge [Thu, 26 May 2011 13:09:18 +0000 (15:09 +0200)]
ffdec: Always use parser for AAC LATM/LOAS
Rafael Diniz [Wed, 25 May 2011 08:08:06 +0000 (10:08 +0200)]
ffmpeg: Add codec mapping for AAC LATM/LOAS
Also add the stream-format fields to the CODEC_ID_AAC caps.
Fixes bug #650695.
Stefan Kost [Thu, 19 May 2011 19:59:07 +0000 (22:59 +0300)]
Automatic update of common submodule
From 9e5bbd5 to 69b981f
Stefan Kost [Wed, 18 May 2011 13:12:49 +0000 (16:12 +0300)]
Automatic update of common submodule
From fd35073 to 9e5bbd5
Stefan Kost [Wed, 18 May 2011 09:26:15 +0000 (12:26 +0300)]
Automatic update of common submodule
From 46dfcea to fd35073
Thadeu Lima de Souza Cascardo [Mon, 28 Feb 2011 21:16:24 +0000 (21:16 +0000)]
ffdec: Do not use invalid input timestamp as next timestamp.
When input buffer timestamps are invalid, next timestamp are used for
audio. Then, the next out timestamp is updated with the used timestamp
and the calculated duration. However, if the used timestamp is invalid,
it should not be used. Otherwise, the next buffer will use a wrong
timestamp that is not in the clipped segment, making the buffer to be
dropped.
This fixes playback with SBTVD MPEG TS streams, using AAC LATM.
Vincent Penquerc'h [Wed, 4 May 2011 14:33:03 +0000 (17:33 +0300)]
ffdec: do not try to resync to the next keyframe when late
A keyframe may be quite a while in the future, and the decoder
has no way of knowing this. A poor decision could mean quite some
time with no video output.
This decision should be left to the upstream element: a demuxer
might know about incoming keyframes, or some other element might
be able to request a keyframe.
Fixes bug #649372.
Punya Prakash [Thu, 5 May 2011 16:12:20 +0000 (11:12 -0500)]
configure: Fix ac_cs_config handling
Previously autoconf appended too many additional quotes
to parameters like --with-ffmpeg-extra-configure=" --target-os=linux
--extra-cflags='-mfpu=neon -mfloat-abi=softfp'".
Fixes bug #648816.