Sebastian Dröge [Tue, 10 Jan 2012 10:35:55 +0000 (11:35 +0100)]
Merge branch 'master' into 0.11
Conflicts:
configure.ac
ext/ffmpeg/gstffmpegcodecmap.c
ext/ffmpeg/gstffmpegdec.c
ext/ffmpeg/gstffmpegdeinterlace.c
ext/ffmpeg/gstffmpegmux.c
ext/libswscale/gstffmpegscale.c
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.
Sebastian Dröge [Tue, 10 Jan 2012 09:59:57 +0000 (10:59 +0100)]
ffdec: Revert accidentially committed rank change of the (E)AC3/DTS decoders
Sebastian Dröge [Tue, 10 Jan 2012 09:45:42 +0000 (10:45 +0100)]
ffmpegdec: Reorder audio channels after clipping the audio buffer
Sebastian Dröge [Tue, 10 Jan 2012 09:37:50 +0000 (10:37 +0100)]
ffmpegdec: Correctly reorder audio channels to the GStreamer order if necessary
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 09:01:26 +0000 (10:01 +0100)]
ffmpeg: Use stack-allocated channel positions array
Sebastian Dröge [Mon, 9 Jan 2012 12:40:05 +0000 (13:40 +0100)]
ffmpeg: Put the new layout field in raw audio caps
Sebastian Dröge [Mon, 9 Jan 2012 12:24:55 +0000 (13:24 +0100)]
ffdec: Add mappings for the top channel positions
Sebastian Dröge [Mon, 9 Jan 2012 12:23:29 +0000 (13:23 +0100)]
ffdec: Correctly set the channel-mask and also set it for stereo
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.
Wim Taymans [Thu, 5 Jan 2012 13:06:33 +0000 (14:06 +0100)]
ffmpeg: port to new channel mapping
Tim-Philipp Müller [Wed, 4 Jan 2012 19:54:49 +0000 (19:54 +0000)]
Automatic update of common submodule
From 11f0cd5 to 0807187
Wim Taymans [Wed, 4 Jan 2012 09:17:01 +0000 (10:17 +0100)]
tests: make tests compile
Wim Taymans [Tue, 3 Jan 2012 14:27:54 +0000 (15:27 +0100)]
GST_FLOW_UNEXPECTED -> GST_FLOW_EOS
Wim Taymans [Wed, 21 Dec 2011 22:52:00 +0000 (23:52 +0100)]
update for videofilter changes
Wim Taymans [Wed, 21 Dec 2011 17:06:32 +0000 (18:06 +0100)]
ffdec: fill in the stride alignment
Copy the stride alignment we got from ffmpeg to the alignment structure.
Wim Taymans [Mon, 19 Dec 2011 17:14:27 +0000 (18:14 +0100)]
ffmpegdec: update for new interlace fields
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
Tim-Philipp Müller [Sat, 26 Nov 2011 15:39:40 +0000 (15:39 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11
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
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
Wim Taymans [Mon, 21 Nov 2011 12:36:34 +0000 (13:36 +0100)]
update for activation changes
Wim Taymans [Fri, 18 Nov 2011 17:00:59 +0000 (18:00 +0100)]
update for new scheduling query
Wim Taymans [Fri, 18 Nov 2011 12:59:59 +0000 (13:59 +0100)]
add parent to activate functions
Wim Taymans [Thu, 17 Nov 2011 11:49:33 +0000 (12:49 +0100)]
add parent to pad functions
Stefan Sauer [Thu, 17 Nov 2011 07:25:48 +0000 (08:25 +0100)]
collectpads: port API changes
Wim Taymans [Wed, 16 Nov 2011 16:29:22 +0000 (17:29 +0100)]
add parent to query function
Wim Taymans [Tue, 15 Nov 2011 16:55:29 +0000 (17:55 +0100)]
_query_peer_*() -> _peer_query_*()
Wim Taymans [Tue, 15 Nov 2011 16:23:21 +0000 (17:23 +0100)]
_peer_get_caps() -> _peer_query_caps()
Wim Taymans [Tue, 15 Nov 2011 15:35:17 +0000 (16:35 +0100)]
ffmpeg: change getcaps to query
Wim Taymans [Thu, 10 Nov 2011 17:25:21 +0000 (18:25 +0100)]
update for adapter api change
Wim Taymans [Wed, 9 Nov 2011 10:58:15 +0000 (11:58 +0100)]
remove query types
Wim Taymans [Fri, 4 Nov 2011 15:23:32 +0000 (16:23 +0100)]
ffdec: get the pixfmt correctly
Use the pixfmt from the passed context, which can be different from our other
context and which might not have the pixfmt set correctly.
Wim Taymans [Fri, 4 Nov 2011 11:43:17 +0000 (12:43 +0100)]
ffmpeg: fix template to %u
Wim Taymans [Fri, 4 Nov 2011 10:02:32 +0000 (11:02 +0100)]
Merge branch 'master' into 0.11
Conflicts:
configure.ac
Edward Hervey [Fri, 4 Nov 2011 09:15:32 +0000 (10:15 +0100)]
tests: Fix for pad probe API change
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"
Wim Taymans [Wed, 2 Nov 2011 11:10:25 +0000 (12:10 +0100)]
tags: update for tag API removal
Wim Taymans [Wed, 2 Nov 2011 09:31:57 +0000 (10:31 +0100)]
Merge branch 'master' into 0.11
Wim Taymans [Sat, 29 Oct 2011 07:27:46 +0000 (09:27 +0200)]
demux: update for new task api
Wim Taymans [Sat, 29 Oct 2011 07:11:53 +0000 (09:11 +0200)]
structure: fix for api upate
Tim-Philipp Müller [Mon, 31 Oct 2011 14:53:01 +0000 (14:53 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11
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
Tim-Philipp Müller [Sun, 30 Oct 2011 12:23:51 +0000 (12:23 +0000)]
tests: port to 0.11
Some still fail though, for various reasons. ffmpeg warning:
"get_buffer() cannot be called after ff_thread_finish_setup()".
Tim-Philipp Müller [Sun, 30 Oct 2011 12:03:36 +0000 (12:03 +0000)]
ffmpegdemux: update for taglist API changes
Wim Taymans [Fri, 28 Oct 2011 14:35:54 +0000 (16:35 +0200)]
fix compilation with new caps api
Wim Taymans [Thu, 27 Oct 2011 14:47:18 +0000 (16:47 +0200)]
ffenc: fix compilation
Wim Taymans [Thu, 27 Oct 2011 14:31:30 +0000 (16:31 +0200)]
Merge branch 'master' into 0.11
Conflicts:
ext/ffmpeg/gstffmpegcodecmap.c
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:29:10 +0000 (16:29 +0200)]
Merge remote-tracking branch 'origin/master' into 0.11
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
Edward Hervey [Tue, 11 Oct 2011 12:02:53 +0000 (14:02 +0200)]
gstffmpegcodecmap: Avoid string operations on NULL
Wim Taymans [Mon, 3 Oct 2011 09:34:34 +0000 (11:34 +0200)]
dec: remove interlaced update code
Wim Taymans [Mon, 3 Oct 2011 09:32:24 +0000 (11:32 +0200)]
Merge branch 'master' into 0.11
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
Wim Taymans [Wed, 28 Sep 2011 11:29:08 +0000 (13:29 +0200)]
Merge branch 'master' into 0.11
Conflicts:
configure.ac
ext/ffmpeg/gstffmpegcodecmap.c
ext/ffmpeg/gstffmpegdeinterlace.c
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
Wim Taymans [Tue, 6 Sep 2011 13:29:26 +0000 (15:29 +0200)]
ffmpeg: fix for audio caps change
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
Wim Taymans [Thu, 25 Aug 2011 14:41:36 +0000 (16:41 +0200)]
ffdec: port to new flags
Wim Taymans [Mon, 22 Aug 2011 11:33:31 +0000 (13:33 +0200)]
ffmpeg: convert to new caps
Wim Taymans [Fri, 19 Aug 2011 16:33:11 +0000 (18:33 +0200)]
ffmpeg: port to new audio caps
Wim Taymans [Fri, 5 Aug 2011 10:04:13 +0000 (12:04 +0200)]
ffmpegdec: react to the reconfigure event
Also renegotiate the caps and bufferpool when we have a rereconfigure event
pending.
Wim Taymans [Thu, 4 Aug 2011 09:10:26 +0000 (11:10 +0200)]
ffdec: ensure bufferpool size
Make sure the bufferpool size is at least what we expect.
Add some more debug.
Wim Taymans [Mon, 1 Aug 2011 16:10:53 +0000 (18:10 +0200)]
ffdec: enable direct rendering for all formats
Since we now support padding, we can enable direct rendering for all formats.
Wim Taymans [Mon, 1 Aug 2011 15:57:38 +0000 (17:57 +0200)]
ffdec: add alignment support
Always diable EMU_EDGE. Use the bufferpool options to enable extra padding on
allocated frames. If the downstream bufferpool does not support the padding,
disable direct rendering and do the final copy/cropping into the non-padded
output frame.
Wim Taymans [Fri, 29 Jul 2011 11:40:30 +0000 (13:40 +0200)]
ffdec: refactor picture fill code
Make a method to hold the code to convert a GstVideoFrame to an AVFrame so that
we can reuse it in the non-direct rendering case.
Wim Taymans [Fri, 29 Jul 2011 11:08:53 +0000 (13:08 +0200)]
ffdec: cleanups
Make things a little more readable.
Wim Taymans [Fri, 29 Jul 2011 10:36:12 +0000 (12:36 +0200)]
ffdec: use video frame helpers
Use the video frame helper functions to map and set up the strides in the
picture for ffmpeg.
Wim Taymans [Fri, 29 Jul 2011 10:34:04 +0000 (12:34 +0200)]
ffmpegdec: fix for query API change
Wim Taymans [Fri, 29 Jul 2011 10:32:45 +0000 (12:32 +0200)]
ffmpeg: fix for query API changes
Wim Taymans [Fri, 29 Jul 2011 08:57:20 +0000 (10:57 +0200)]
ffdec: remove unused variable