Commit graph

1114 commits

Author SHA1 Message Date
Wim Taymans
6444bd2557 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.
2011-04-07 12:34:51 +02:00
Miguel Angel Cabrera Moya
f63d36ade8 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
2011-04-05 14:14:38 +02:00
Stefan Kost
2289cc2d5b Automatic update of common submodule
From 1ccbe09 to c3cafe1
2011-04-04 15:58:24 +03:00
Sebastian Dröge
b46a849499 Automatic update of common submodule
From 193b717 to 1ccbe09
2011-03-25 22:35:11 +01:00
Stefan Kost
b875244820 Automatic update of common submodule
From b77e2bf to 193b717
2011-03-25 14:57:12 +02:00
Sebastian Dröge
309440d0f5 Automatic update of common submodule
From d8814b6 to b77e2bf
2011-03-25 09:33:36 +01:00
Sebastian Dröge
aecbd7931f Automatic update of common submodule
From 6aaa286 to d8814b6
2011-03-25 09:09:54 +01:00
Stefan Kost
9754a1e262 Automatic update of common submodule
From 6aec6b9 to 6aaa286
2011-03-24 18:50:36 +02:00
Luis de Bethencourt
c50822e605 autogen: wingo signed comment 2011-03-22 13:30:18 +01:00
Mark Nauwelaerts
74145fb2e5 configure.ac: no need to mess with AS 2011-02-28 19:41:04 +01:00
Mark Nauwelaerts
4be4063fd9 configure.ac: cygwin/mingw32; enable linking static non-import libs
... such as to internal ffmpeg static libs.

Fixes #642507.
2011-02-28 19:39:38 +01:00
Mark Nauwelaerts
68e51f2a15 configure.ac: export plugin description more platform independent
Fixes #642504.
2011-02-28 19:39:15 +01:00
Mark Nauwelaerts
77040f373d Automatic update of common submodule
From 1de7f6a to 6aec6b9
2011-02-28 18:33:49 +01:00
Julien Isorce
32ca9c111b ffvideoscale: add support for UYVY
Fixes #642015
2011-02-14 16:58:49 +01:00
Stefan Kost
2bea2467ce Automatic update of common submodule
From f94d739 to 1de7f6a
2011-02-14 12:54:26 +02:00
Tim-Philipp Müller
8d40c6357d 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
2011-01-31 23:28:33 +00:00
Edward Hervey
a2a4ee93c4 codecmap: Add mapping for g722 2011-01-25 16:34:04 +01:00
Edward Hervey
199c03a2e0 gst-libs: Remove .config file from ffmpeg build when cleaning up 2011-01-25 11:30:02 +01:00
Edward Hervey
5429138b89 codecmap: Add proper caps name for Camstudio 2011-01-24 18:29:24 +01:00
Edward Hervey
7879105579 gstffmpegdemux: Ignore more pseudo demuxers 2011-01-24 18:29:00 +01:00
Edward Hervey
9a1d1fef32 gstffmpegmux: Blacklist some muxer formats 2011-01-24 17:43:44 +01:00
Edward Hervey
cc4a11831d gstffmpegcodecmap: Add some new codec mappings
VP8
LAGARITH
GSM
GSM_MS
2011-01-24 17:26:20 +01:00
Edward Hervey
ed1b1eefaf ffmpegprotocol: Slight API change 2011-01-24 17:26:20 +01:00
Edward Hervey
e879166d44 configure.ac: Don't forget to include new libavcore library 2011-01-24 17:26:20 +01:00
Edward Hervey
fdb604d1cf 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)
2011-01-24 17:26:15 +01:00
Tim-Philipp Müller
60e8ca179f configure: require core 0.10.31
For gst_util_fraction_compare()
2011-01-14 09:36:46 +00:00
Stefan Kost
34b4cb7cf7 Automatic update of common submodule
From e572c87 to f94d739
2011-01-11 15:51:38 +02:00
Tim-Philipp Müller
0907606b32 Automatic update of common submodule
From ccbaa85 to e572c87
2011-01-10 16:37:49 +00:00
Tim-Philipp Müller
b8b627b6b9 Automatic update of common submodule
From 46445ad to ccbaa85
2011-01-10 14:55:03 +00:00
Edward Hervey
2de5aaf22d 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.
2011-01-07 18:08:15 +01:00
Edward Hervey
051e2de3d3 ffmpegdec: Fix unitialized variables on macosx 2011-01-05 16:59:55 +01:00
Edward Hervey
a90df26e15 ffmpegenc: Disable non-audio/video encoders
Fixes #629648
2011-01-03 11:45:04 +01:00
Wim Taymans
22d44c87b1 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.
2010-12-21 12:14:22 +01:00
Edward Hervey
3177801827 Automatic update of common submodule
From 169462a to 46445ad
2010-12-20 17:47:51 +01:00
Sebastian Dröge
dde194dc1a ffvideoscale: Change classification to Filter/Converter/Video/Scaler 2010-12-16 10:12:02 +01:00
Sebastian Dröge
a5910b4ec4 ffdeinterlace: Change classification to Filter/Effect/Video/Deinterlace 2010-12-16 10:05:03 +01:00
Stefan Kost
73f9eed375 Automatic update of common submodule
From 20742ae to 169462a
2010-12-15 14:56:50 +02:00
Stefan Kost
eb202fde0a Automatic update of common submodule
From 011bcc8 to 20742ae
2010-12-13 16:24:24 +02:00
Wim Taymans
ec48b24291 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.
2010-12-12 12:38:55 +01:00
Wim Taymans
957c728b3d 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.
2010-12-12 11:20:22 +01:00
Jan Schmidt
da5245865b Automatic update of common submodule
From 7bbd708 to 011bcc8
2010-10-27 13:17:43 +01:00
Mark Nauwelaerts
e837ec505d ffmpegenc: ensure proper clean state prior to (re-)negotiation
Fixes #632691.
2010-10-25 12:16:44 +02:00
Wim Taymans
d82633c4e3 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.
2010-10-22 13:05:16 +02:00
Wim Taymans
cc2a6e493b 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
2010-10-22 13:05:16 +02:00
Stefan Kost
07ce1d1906 various: add missing G_PARAM_STATIC_STRINGS flags 2010-10-19 17:26:08 +03:00
Sebastian Dröge
51fe1a04e6 ffmpeg: Add mapping for YUVA420P <-> A420
This is used by VP6a, which is used by Flash.

See bug #613901.
2010-10-15 11:23:26 +02:00
David Schleef
6a0e167c29 Automatic update of common submodule
From 5a668bf to 7bbd708
2010-10-14 12:32:28 -07:00
Edward Hervey
51a0e1270f ffmpegdec: Fix debug statements 2010-10-12 16:17:51 +02:00
David Schleef
c0a656726e Automatic update of common submodule
From c4a8adc to 5a668bf
2010-10-08 12:45:01 -07:00
Sebastian Dröge
cade95ff9b Automatic update of common submodule
From 5e3c9bf to c4a8adc
2010-10-08 12:56:28 +02:00