Commit graph

1946 commits

Author SHA1 Message Date
Edward Hervey
fe1a971b31 ffmpegdec: Use new AVPacket-based API
Right now it doesn't use any of the extra fields AVPacket provides.
It might be wise to investigate the pts/dts ones to see if we can finally
get rid of the timing-related cruft we have.
2011-04-21 20:56:45 +02:00
Edward Hervey
436a211aff gstffmpegdec: Use non-deprecated av_parser_parse2 2011-04-21 20:56:45 +02:00
Edward Hervey
7c85e2d743 ffmpegdec: Use skip_frame instead of deprecated hurry_up 2011-04-21 20:56:45 +02:00
Edward Hervey
71f48a1d84 ffmpegcfg: mb_qmin/mb_qmax are deprecated/removed
We just use qmin/qmax instead
2011-04-21 20:56:45 +02:00
Edward Hervey
a004f0bc34 ffmpegdemux: Define our own MAX_STREAMS 2011-04-21 20:56:45 +02:00
Edward Hervey
f16291a6cc ffmpeg: Disable code using old metadata API
It is now gone and we need to switch to the new API

See #566605
2011-04-21 20:56:45 +02:00
Edward Hervey
5aa722965c ffmpegdemux: The index_built AVFormatContext hasn't been used in over 2 years 2011-04-21 20:56:45 +02:00
Edward Hervey
fd80f177c9 codecmap: _XVID is gone
It was always a bogus one, since it used the external libxvid for encoding.
2011-04-21 20:56:45 +02:00
Edward Hervey
78ae6a34cb ffmpeg: PKT_FLAG_KEY => AV_PKT_FLAG_KEY 2011-04-21 20:56:44 +02:00
Edward Hervey
dfd26c36f3 ffmpeg: AVERROR_* => AVERROR(*) 2011-04-21 20:56:44 +02:00
Edward Hervey
2f81d0d63b ffmpeg: CodecType => AVMediaType 2011-04-21 20:56:44 +02:00
Edward Hervey
446c50e052 gstffmpeg: register_protocol => av_register_protocol2 2011-04-21 20:56:44 +02:00
Edward Hervey
09e4d11de0 configure.ac: FFmpeg => Libav 2011-04-21 20:56:44 +02:00
Edward Hervey
860648e9e6 Remove usage of SVN now that we use git submodules for libav 2011-04-21 20:56:44 +02:00
Edward Hervey
4da73abcc4 ext: Add libav as a git submodule 2011-04-19 19:32:02 +02:00
Wim Taymans
6d4cdb2877 ffmpeg_use G_DEFINE_TYPE 2011-04-19 19:04:36 +02:00
Wim Taymans
198fa2571b Merge branch 'master' into 0.11 2011-04-19 19:03:06 +02:00
Marc Plano-Lesay
9c42b7cae9 Fix unused-but-set-variable warnings with gcc 4.6 2011-04-19 16:21:20 +01:00
Edward Hervey
c35c1d1446 gstffmpeg(de)mux: Disable known broken (de)muxers
Idea provided by David Schleef
Support provided by Michael Smith and Tim Mueller
Food and Drinks provided by Toronado
2011-04-09 01:17:24 +02:00
Stefan Kost
dd7b219c42 ffmpeg: don't divide by 0 when checking the framerates
Check for denom==0 first and set it to on in that case.
2011-04-08 11:42:33 +03:00
Wim Taymans
4dc84f9aff Merge branch 'master' into 0.11
Conflicts:
	ext/ffmpeg/gstffmpegdec.c
2011-04-07 12:38:01 +02:00
Wim Taymans
112231dc89 common: recommit to updated version 2011-04-07 12:37:09 +02:00
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
Wim Taymans
8faa991476 Merge branch 'master' into 0.11
Conflicts:
	ext/ffmpeg/gstffmpegdec.c
2011-04-07 12:11:37 +02:00
Wim Taymans
450a4fdb51 dec: Fixes
Set caps on buffers right after we allocate them to avoid refcounting problems
and having to make the buffer metadata writable for no good reason.
Don't unmap the memory with a 0 size or we would modify the memory size when
it's not needed.
2011-04-07 12:02:57 +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
Wim Taymans
8095b31f9c ffmpeg: port to new memory API 2011-04-04 13:18:13 +02:00
Wim Taymans
b304fff551 Merge branch 'master' into 0.11 2011-04-04 12:24:03 +02:00
Wim Taymans
4345d10577 WIP: porting to 0.11 2011-04-04 12:23:05 +02: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
Wim Taymans
739b439f02 Merge branch 'master' into 0.11 2011-03-04 14:00:28 +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
Wim Taymans
88271530e4 ffmpeg: disable resample 2011-02-28 12:13:17 +01:00
Wim Taymans
7a225ab604 codecmap: use new g_value getters 2011-02-28 12:13:17 +01:00
Wim Taymans
73f2667ff2 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
2011-02-28 12:12:51 +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