Commit graph

1199 commits

Author SHA1 Message Date
Vincent Penquerc'h
f66834c11f ffmpeg: port to GstCollectPads2 2011-12-15 14:28:00 +00:00
Edward Hervey
15ae52392e 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
2011-12-01 19:29:24 +01:00
Vincent Penquerc'h
dcd387b313 ffmpeg: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:23:42 +00:00
Matej Knopp
28142d9549 Fix cpu cores detection on OS X
https://bugzilla.gnome.org/show_bug.cgi?id=664687
2011-11-23 23:57:01 +00:00
Edward Hervey
6c290ab6de Merge remote-tracking branch 'origin/0.10.13' 2011-11-02 17:48:30 +01:00
Edward Hervey
da885673c1 0.10.13 Release "Speeding, sparks like lightning" 2011-11-02 17:26:54 +01:00
Edward Hervey
814c3f983b configure.ac: Remove --enable-postproc from the default flags
fixes previous patch
2011-10-31 11:47:10 +01:00
Edward Hervey
acfee56dd4 0.10.12.3 pre-release 2011-10-31 11:40:37 +01:00
Martin Storsjo
2d767fe58f 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
2011-10-31 11:14:23 +01:00
Sjoerd Simons
dc80daec38 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.
2011-10-31 11:14:03 +01:00
Sjoerd Simons
d5e4fc3bbb ffmpegcodecmap: Further specify allowed rates for G722 and G726 2011-10-31 11:14:03 +01:00
Sjoerd Simons
13d1ff40f0 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
2011-10-31 11:14:03 +01:00
Martin Storsjo
77fa4072ee 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
2011-10-31 10:59:27 +01:00
Sjoerd Simons
eb2e9f48e3 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.
2011-10-19 13:18:35 +01:00
Sjoerd Simons
b05352beee ffmpegcodecmap: Further specify allowed rates for G722 and G726 2011-10-19 13:18:35 +01:00
Sjoerd Simons
93b333cfea 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
2011-10-19 13:18:35 +01:00
Edward Hervey
de5557ef84 0.10.12.2 pre-release 2011-10-18 10:23:44 +02:00
Edward Hervey
e8aafaca95 libav: Update to v0.7.2 release 2011-10-18 10:18:27 +02:00
Edward Hervey
99e61c5f3b gstffmpegdec: Re-enable MT-decoding by default 2011-10-17 16:27:36 +02:00
Edward Hervey
fc0a8893d8 gstffmpegutils: Fix include 2011-10-17 16:26:52 +02:00
Edward Hervey
56854de873 configure.ac: Fix for new libav 2011-10-17 16:26:20 +02:00
Edward Hervey
2e9cb81120 libav: Switch to current git master 2011-10-17 16:02:51 +02:00
Vincent Penquerc'h
d4d5e350d0 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
2011-10-03 11:18:06 +02:00
Vincent Penquerc'h
8bf3d5a2b7 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
2011-09-26 20:13:58 +01:00
Tim-Philipp Müller
8a34abff64 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
2011-09-26 19:55:54 +01:00
Tim-Philipp Müller
902ee8a905 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
2011-09-26 19:54:52 +01:00
Tvrtko Ursulin
42cb5bd386 ffdeinterlace: add "mode" property including automatic mode
Just like deinterlace.

https://bugzilla.gnome.org/show_bug.cgi?id=656328
2011-09-26 19:17:41 +01:00
Stefan Sauer
79e0c1f52d 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.
2011-09-07 16:10:02 +02:00
Stefan Sauer
1ad6b4447e Automatic update of common submodule
From a39eb83 to 11f0cd5
2011-09-06 21:52:50 +02:00
Stefan Sauer
47bf93d84b Automatic update of common submodule
From 605cd9a to a39eb83
2011-09-06 16:06:23 +02:00
Nicolas Dufresne
eacf516f7f 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
2011-09-03 12:32:55 +01:00
Tim-Philipp Müller
7b7928082b tests: add simple test for creating postproc elements
https://bugzilla.gnome.org/show_bug.cgi?id=654634
2011-09-03 12:32:06 +01:00
Tim-Philipp Müller
9d6f797f7a Update internal libav snapshot to latest releases/0.7 tip for postproc fix
https://bugzilla.gnome.org/show_bug.cgi?id=654634
2011-09-03 12:30:26 +01:00
Tim-Philipp Müller
18aea78543 configure: back to development 2011-09-03 12:27:28 +01:00
Edward Hervey
4e71f12ee9 Release 0.10.12 2011-07-20 12:14:45 +02:00
Edward Hervey
0f91915a89 Update dope file 2011-07-20 12:05:34 +02:00
Raimo Järvi
95fe6ca01e 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.
2011-07-18 12:04:29 +02:00
Edward Hervey
82ac8b1e14 gst-libs: Update libav checkout to latest 0.7 tip
Contains MT fixes
2011-07-12 18:37:37 +02:00
David Schleef
e799091c8a configure: Remove -gnu from target_os
Fixes #651768.
2011-07-12 12:24:54 +02:00
Edward Hervey
2f63830924 ffmpegdec: Set default number of threads to 1
Too many suspicious errors/warnings pop up when more than 1 thread
is used.

Fixes #653649
2011-07-11 10:47:26 +02:00
Wim Taymans
54cdf039b9 remove -Wcast-align
See: https://bugzilla.gnome.org/show_bug.cgi?id=615698
2011-07-11 10:37:03 +02:00
Edward Hervey
37f5d70332 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
2011-06-30 21:38:57 +02:00
Mark Nauwelaerts
6d517b3b76 ffmpegcodecmap: really include all supported sample formats in audio caps
Fixes #653717.
2011-06-30 11:50:21 +02:00
Mark Nauwelaerts
856dbe6f21 ffmpegdec: avoid allocating and leaking local avpacket helpers
... by _init'ing them as locals rather than _new'ing them.

Fixes #653648.
2011-06-30 11:49:39 +02:00
Edward Hervey
d9e60c1d5c configure.ac: 0.10.11.2 pre-release 2011-06-25 13:05:41 +02:00
Edward Hervey
4bcd9dcc1b ext: Bumping libav checkout to current tip of v0.7 branch 2011-06-25 12:58:12 +02:00
David Schleef
40d80934dd Automatic update of common submodule
From 69b981f to 605cd9a
2011-06-23 11:29:42 -07:00
Jan Schmidt
3a12092ae6 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.
2011-06-21 14:33:29 +10:00
Raimo Järvi
8e2404b8df ffdec: Fix calculating frame duration from last timestamp and frame count.
Fixes bug #651714.
2011-06-06 14:45:56 +02:00
Raimo Järvi
4a66ecdf25 ffdec: Check for AV_NOPTS_VALUE in PTS value.
https://bugzilla.gnome.org/show_bug.cgi?id=651625
2011-06-01 16:11:05 +02:00