Commit graph

1140 commits

Author SHA1 Message Date
Thadeu Lima de Souza Cascardo
a3c56f60cd ffdec: Do not use invalid input timestamp as next timestamp.
When input buffer timestamps are invalid, next timestamp are used for
audio. Then, the next out timestamp is updated with the used timestamp
and the calculated duration. However, if the used timestamp is invalid,
it should not be used. Otherwise, the next buffer will use a wrong
timestamp that is not in the clipped segment, making the buffer to be
dropped.

This fixes playback with SBTVD MPEG TS streams, using AAC LATM.
2011-05-09 11:02:50 +02:00
Vincent Penquerc'h
920bfb0da2 ffdec: do not try to resync to the next keyframe when late
A keyframe may be quite a while in the future, and the decoder
has no way of knowing this. A poor decision could mean quite some
time with no video output.
This decision should be left to the upstream element: a demuxer
might know about incoming keyframes, or some other element might
be able to request a keyframe.

Fixes bug #649372.
2011-05-06 13:23:45 +02:00
Punya Prakash
cc9d778844 configure: Fix ac_cs_config handling
Previously autoconf appended too many additional quotes
to parameters like --with-ffmpeg-extra-configure=" --target-os=linux
--extra-cflags='-mfpu=neon -mfloat-abi=softfp'".

Fixes bug #648816.
2011-05-06 13:20:34 +02:00
Tim-Philipp Müller
e94538ce1d Automatic update of common submodule
From c3cafe1 to 46dfcea
2011-04-24 14:05:34 +01:00
David Schleef
eede713953 autogen.sh: Also check for libav submodule 2011-04-22 12:53:22 -07:00
Edward Hervey
775a3a0640 postproc: pp_*_t => pp_* 2011-04-21 20:56:45 +02:00
Edward Hervey
2ce58ad764 audioresample: Use new av_audio_resample API
We might want to expose the various properties in the future
2011-04-21 20:56:45 +02:00
Edward Hervey
a30b434b53 ffmpegdec: Set caps on outgoing audio buffers 2011-04-21 20:56:45 +02:00
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
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
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