Georgi Chorbadzhiyski
f1f15c3c1a
mpegts: improve error reporting
When reporting continuity error show pid, expected and received cc.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Aviad Rozenhek
162f1fbc14
mpegts: on seek, reset the cc for all PIDs
Prevent false positive continuity counter error logs.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Michael Niedermayer
cb66db8010
mpegts: update comment to match code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Joakim Plate
6796b82407
libavformat/utils: Only require first packet to be known for all audio and video streams
It can take a long time before subtitles or data streams show up,
so we shouldn't wait for those before assuming we have all info
for streams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Joakim Plate
6d40f88cab
mpegts: Some additional HDMV types and reg descriptors for mpegts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
chinshou
b10ba1175d
avisynth: Fix upside down bug
14 years ago
chinshou
4f123a7d7c
avisynth: Remove wrong pts calculation.
Fixes Ticket428
14 years ago
Laurent Aimar
e5e0580b93
Fixed size given to init_get_bits().
init_get_bits() takes a number of bits and not a number of bytes as
its size argument.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Wolfram Gloger
6dcbbe34e8
av_interleave_packet_per_dts: switch noninterleaved flushing logic to max dts.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Chiranjeevi Melam
8096b7c67f
asfenc: fix assert failure on long ffserver runs
14 years ago
Gavin Kinsey
d64066f6e8
Prevent double free of side_data when AVFMT_FLAG_KEEP_SIDE_DATA flag is set
14 years ago
Yan Jing
8ba987bff3
ffmdec: set avio buffer to ffm->packet_size, avoid dirty reads
14 years ago
Michael Niedermayer
0b99e858d1
ffmdec: fix seeking for non indexed files
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Yan Jing
59810f8388
ffmdec: handle wrapped file in ffm_seek
14 years ago
Diego Biurrun
6376362d15
Employ FF_ARRAY_ELEMS instead of manually calculating array length.
14 years ago
Carl Eugen Hoyos
f6e99bf514
Add loas as an extension for LOAS/LATM.
14 years ago
Carl Eugen Hoyos
c1fcd7e1ab
Support remuxing aac_latm.
14 years ago
zhentan feng
42d4df06e1
WTV muxer (1_extract_wtv_common_code.patch)
14 years ago
Asad Mehmood
bcc531f04a
flvdec: Remove AVFMTCTX_NOHEADER if both flags and metadata claim 1 stream
If there is only 1 stream in an flv avformat_find_stream_info will continually
read until probesize is reached. This should stop it reading if the metadata
also claims there to be 1 stream.
14 years ago
Michael Niedermayer
5ea091fb5a
rtpdec_asf: Fix integer underflow that could allow remote code execution
Fixes MSVR-11-0088.
Credit: Jeong Wook Oh of Microsoft and Microsoft Vulnerability Research (MSVR)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Michael Niedermayer
a2b66a366d
rtpdec_asf: fix memleak
Based on a suggestion by Ronald S. Bultje
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
ba9a7e0d71
rtp: Fix integer underflow that could allow remote code execution.
Fixes MSVR-11-0088
Credit: Jeong Wook Oh of Microsoft and Microsoft Vulnerability Research (MSVR)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Kieran Kunhya
0ca36b4de7
Add LATM muxer
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Anton Khirnov
9c684feadc
libx264: add 'direct-pred' private option
Deprecate AVCodecContext.directpred
14 years ago
Anton Khirnov
0635a8aa21
libx264: add 'partitions' private option
Deprecate AVCodecContext.partitions.
14 years ago
Joseph Wecker
0078430e30
flvdec: A little bit of cleanup
14 years ago
Joseph Wecker
4ee53d7e86
flvenc: Correctly encode data stream into in-band metadata frames.
14 years ago
Joseph Wecker
4c05042978
flvdec: Properly decoding in-band metadata packets as data frames.
14 years ago
Joseph Wecker
c054f11606
flvdec: Started to remove most of the "only 1-audio+1-video" assumptions
14 years ago
Joseph Wecker
30bcd6a945
flv: Ammon's changes migrated from 0.6.0 - I believe for the android broadcaster.
14 years ago
Carl Eugen Hoyos
b5d4c0e26e
Support Speex in isom.
Adobe Flash Media Server produces such files although the f4v
specification does not allow Speex (nor Nellymoser).
14 years ago
Michael Niedermayer
9243454e31
libavformat/utils: only run delta_dts_min calculation code when its value is used.
This should improve speed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
effbeff503
libavformat/utils: use FFMIN() where possible
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
wg
37ed5df5c5
libavformat/utils: Treat subtitle streams as noninterleaved when 20 seconds have passed without a packet
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefan Fritsch
346ea9e222
http: Consider the stream as seekable if the reply contains Accept-Ranges: bytes
The initial request contains "Range: 0-", which servers normally
have responded with "HTTP/1.1 206 Partial Content" reply with
a Content-Range header, which was used as indicator for seekability.
Apache, since 2.2.20, responds with "HTTP/1.1 200 OK" for these
requests, which is more friendly to caches and proxies, but the
seekability still is indicated via the Accept-Ranges: bytes header.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Luca Barbato
5ee5dc4e9a
nutenc: add namespace to the api facing functions
Rename write_{header,packet,trailer} to nut_write_{header,packet,trailer}
in order to make easier debugging them.
14 years ago
Stefan Fritsch
31dfc49598
http: Fix decetion of range support in HTTP servers
currently libavformat only allows seeking if a request with "Range:
0-" results in a 206 reply from the HTTP server which includes a
Content-Range header. But according to RFC 2616, the server may also
reply with a normal 200 reply (which is more efficient for a request
for the whole file). In fact Apache HTTPD 2.2.20 has changed the
behaviour in this way and it looks like this change will be kept in
future versions. The fix for libavformat is easy: Also look at the
Accept-Ranges header.
14 years ago
Anton Khirnov
fb4ca26bdb
lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.
14 years ago
Anton Khirnov
c11fb8288d
AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().
It allows to search for options only with AVClass, without allocating
the corresponding context.
14 years ago
Tomas Härdin
9289eada91
Parse MXF partitions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Clément Bœsch
3dd2c8bbbc
wav: init st to NULL to avoid a false-positive warning.
If st is NULL, it means no 'fmt ' tag is found, but 'data' tag (which
needs a previous 'fmt ' tag to be parsed correctly and st initialized)
check will make sure st is never dereferenced in that case.
14 years ago
Diego Biurrun
aebb56e184
Replace some commented-out debug printf() / av_log() messages with av_dlog().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
a9424d27c4
Support speex in avi.
14 years ago
Carl Eugen Hoyos
c41bf905f4
Only autodetect loas in transport streams.
The Makito encoder sets stream type 0x11 for AAC.
This patch should be reverted if it breaks decoding valid streams (and
the problem can't be fixed in the probe function).
14 years ago
Carl Eugen Hoyos
75a225217c
Support Nellymoser in isom.
14 years ago
Baptiste Coudurier
f33be93b1b
mov: read tmcd tag and set timecode drop flag accordingly.
14 years ago
Tomas Härdin
8b7222979c
isom: add missing AVC-Intra tags, rearrange list and update comments
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Carl Eugen Hoyos
312645e030
Do not set codec_tag property for matroska muxers.
Fixes ticket #8 .
14 years ago
Carl Eugen Hoyos
262ab1c59a
Do not assume timestamps for mp2 format.
14 years ago
Fredrik Axelsson
09a858da7d
Add support for BDAV/m2ts-mode muxing
Signed-off-by: Fredrik Axelsson <fraxbe@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago