Commit graph

1235 commits

Author SHA1 Message Date
Edward Hervey
1ca115c44b ffmpegviddec: Properly error out when codec doesn't open
Avoids ending up using an un-set codec
2012-06-14 15:04:33 +02:00
Edward Hervey
9761a6501b Automatic update of common submodule
From b811047 to 3baf58a
2012-06-08 14:26:40 +02:00
Sebastian Dröge
945633b48f libav: Update to 0.8.3 release 2012-06-07 12:34:16 +02:00
Edward Hervey
38607bd5e8 Automatic update of common submodule
From b098abb to b811047
2012-06-06 18:19:20 +02:00
Edward Hervey
9d8496f2b1 Automatic update of common submodule
From 96f075b to b098abb
2012-06-01 10:22:26 +02:00
Sebastian Dröge
a7bdb143a1 Automatic update of common submodule
From 1e6c5ea to 96f075b
2012-05-30 12:40:59 +02:00
Sebastian Dröge
437c89780c Automatic update of common submodule
From ff4cad1 to 1e6c5ea
2012-05-30 12:31:59 +02:00
Sebastian Dröge
899aa190fb Automatic update of common submodule
From 7604bab to ff4cad1
2012-05-30 11:26:07 +02:00
Sebastian Dröge
9bb6517794 libav: Update to 0.8.2 release 2012-05-22 12:57:40 +02:00
Sebastian Dröge
346c32abf0 tests: Don't run the postproc test if compiled as an LGPL plugin 2012-05-15 14:43:19 +02:00
Nicolas Dufresne
35cf2e84f2 codecmap: correctly set height in AVCodecContext
https://bugzilla.gnome.org/show_bug.cgi?id=674899
2012-04-27 16:53:28 +02:00
Edward Hervey
f0a411235a ffmpegviddec: Always keep a reference to the frame
Ensures no data gets cleared before the decoders are really done
with it.
2012-04-26 18:56:35 +02:00
Edward Hervey
6d2b483e15 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
2012-04-26 18:53:51 +02:00
Edward Hervey
252c5e0a92 ffmpegviddec: Add video/x-raw-gray to src pad template 2012-04-24 15:36:30 +02:00
Edward Hervey
8e42e0b6a4 codecmap: Add more GstVideoInfo<=>PixelFormat mappings 2012-04-24 15:36:00 +02:00
Edward Hervey
272823296f ffmpegviddec: Port to GstVideoDecoder 2012-04-24 11:37:02 +02:00
Edward Hervey
134f7d7058 gstffmpegvidenc: Port to -base video classes 2012-04-24 11:37:02 +02:00
Edward Hervey
bdf7ebf411 ffmpegenc/dec: Remove audio/video specific code
Makes each file more manageable, second step to porting to base classes
2012-04-24 11:36:31 +02:00
Edward Hervey
6310ed46dd ffmpeg: Clone encoder and decoder files
First step in porting to base video classes
2012-04-24 11:35:56 +02:00
Edward Hervey
04a2d01877 codecmap: Add utility for using with GstVideoFormat 2012-04-24 11:35:56 +02:00
Wim Taymans
630790f50d 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
2012-04-20 16:16:25 +02:00
Wim Taymans
e746746120 postproc: fix compilation when ORC is missing
Fix 'set but not used' compiler error when ORC is missing.
2012-04-19 15:35:48 +02:00
Wim Taymans
b053a50508 ffscale: fix compilation when ORC is missing
Fix set but not used compiler error when ORC is missing.
2012-04-19 14:45:42 +02:00
Sebastian Dröge
d417f99cd7 ffmux: Use correct enum type for return value 2012-03-06 15:27:22 +01:00
Edward Hervey
57c7f59268 ffmpegdec: Use auto-threads if available, and only slice-threading
Slice threading causes less latency (and corruption)
2012-03-02 17:27:30 +01:00
Edward Hervey
0a16f7edf6 codecmap: Add mapping for Indeo 4 video codec 2012-02-22 12:14:21 +01:00
Edward Hervey
db8a94fcfb libav: Switch to tracking 0.8 release branch 2012-02-22 11:53:35 +01:00
Sebastian Dröge
39808588c0 configure: Add --disable-fatal-warnings configure option 2012-01-25 13:14:01 +01:00
Sebastian Dröge
99d4792014 ffdec: Only set get_buffer() function for video
Fixes bug #666435.
2012-01-18 10:11:49 +01:00
Tim-Philipp Müller
c84802ffef 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.
2012-01-12 18:03:10 +00:00
Vincent Penquerc'h
49e3bc6e35 ffmpegdemux: fix caps leak 2012-01-12 14:57:48 +00:00
Mark Nauwelaerts
9b7bd04ad9 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.
2012-01-10 12:09:28 +01:00
Sebastian Dröge
b9ff7da938 ffmpeg: Channel layouts are now set for DTS and (E)AC3 by libav 2012-01-10 11:30:00 +01:00
Sebastian Dröge
c7168efb65 libav: Update to current GIT master 2012-01-10 11:12:59 +01:00
Sebastian Dröge
3d43013d4f 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.
2012-01-10 11:06:53 +01:00
Tim-Philipp Müller
a0be7eef02 configure: require core from git/pre-release
For  gst_element_class_add_static_pad_template() which
was added only recently.
2012-01-07 19:56:42 +00:00
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