Martin Storsjö
76b0d03d82
rtsp: Request that dynamic rate is disabled
...
DSS enables this automatically if streaming VOD over TCP. If
enabled, the server feeds packets faster than realtime, screwing
up RTCP NTP based timestamps.
Also, DSS doesn't indicate that this was indicated, if it was
enabled automatically (although if it was requested to be enabled,
a header saying that it was enabled is added, but this isn't
added if it is enabled automatically), making it even harder
to detect and work around properly without explicitly asking
for it to be disabled(/enabled, if we were able to support it).
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
30eae32530
rtsp: Parse the x-Accept-Dynamic-Rate header
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
bfc6db4477
rtpdec: Add ff_ prefix to all nonstatic symbols
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
John Brooks
07b77fe387
rtpdec: Read the packet length for all RTCP packet types
...
This allows skipping past unsupported RTCP packet types, as
RFC 3550 section 6.1 mandates.
Currently this only has any practical effect if a sender puts
an unrecognized type before RTCP_BYE in a compounded packet, or
(incorrectly) does not put RTCP_SR first.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
John Brooks
5d6ecf5345
rtpdec: Fix the minimum packet length for RTCP SR packets
...
We actually read 20 bytes of these packets.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
5e87222fd1
flvdec: Don't export metadata entries that aren't proper metadata
...
This avoids writing these entries doubly if transcoding from
flv to flv, since the muxer blindly writes any and all metadata
keys set, in addition to the fixed fields that the muxer
always writes.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
b204c46d9d
flvdec: Split out setting of numeric fields from storing metadata
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Michael Niedermayer
b75d89a478
cdg: enable seeking
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
fe19e138cd
cdg: Try to detect keyframes.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
045c5283c3
cdg: set timestamps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
d69fda9127
lavf: check stream_index from read_packet() for validity.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Luca Barbato
30c3d976f1
mov: do not misreport empty stts
...
Return -1 instead of ENOMEM if entries is 0.
Fixes a av_malloc(0) crash in macosx.
14 years ago
Luca Barbato
5a7ba58657
mov: cosmetics, fix for and if spacing
14 years ago
Anton Khirnov
c780b543e7
id3v2: fix NULL pointer dereference
...
Bug found by Laurent Aimar fenrir at videolan org
14 years ago
Raivo Hool
2804d32075
mov: read album_artist atom
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Raivo Hool
dff4177546
mov: fix disc/track numbers and totals
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Justin Ruggles
a7984a6a6d
smacker: Separate audio flags from sample rates in smacker demuxer.
...
Makes the code easier to understand.
14 years ago
Laurent Aimar
79964745b3
4xmdemux: prevent use of uninitialized memory
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
6de33611c9
avsdemux: check for out of bound writes
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
76c6971a64
avsdemux: check for corrupted data
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Clément Bœsch
92e36ee567
libmodplug: do not call av_expr_parse() in case of no expr specified.
14 years ago
Clément Bœsch
964465eb1a
libmodplug: simpler and faster use of eval expr.
14 years ago
Mans Rullgard
1703013cb7
avidec: fix signed overflow in avi_sync()
...
Keeping byte values read from the file as unsigned is consistent
with how they are subsequently used and avoids an undefined left
shift by 24 when bit 7 is set.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Alex Converse
0c46e958d1
mxfdec: Fix some buffer overreads caused by the misuse of AVPacket related functions.
14 years ago
Tomas Härdin
d377deaaa3
mxfdec: Move FooterPartition to MXFContext and make sure it's never set to zero
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Reimar Döffinger
4b4a6ebd68
Support playing SMV files.
...
Audio and video are interleaved via stream cur_dts - no idea how
reliable this is.
It also cannot display the video properly - it is stored with
about 15 in a single JPEG frame, I cannot think of a reasonable
way to implement this.
Samples: http://samples.mplayerhq.hu/smv/
Format description: http://wiki.multimedia.cx/index.php?title=SMV
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Clément Bœsch
86a771143f
libmodplug: add bintext video stream capability.
14 years ago
Michael Niedermayer
b2f88ce21c
mpegts: reduce av_log level for seek back to begin on unseekable protocols to info level.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Petter Ericson
1fb30586cf
mpegts: Attempt to seek back to beginning in non-seekable mpegts files.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Janne Grunau
2886f6759f
avidec: simplify size parameter in memset()
14 years ago
Carl Eugen Hoyos
0b3e070035
Bump minor for G.723.1 encoder and muxer.
14 years ago
Mohamed Naufal
19562b68cb
g723.1 muxer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
059707ee2d
Do not auto-detect Sorenson Spark in f4v.
...
Assuming codec_tag H263 for FLV only leads to trouble.
14 years ago
Carl Eugen Hoyos
7e75f06182
Be less verbose about continuity check errors.
14 years ago
Laurent Aimar
e3123856c7
vqa: fix double free on corrupted streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
a31e9f68a4
lavf: fix signed overflow in avformat_find_stream_info()
...
On the first iteration through this code, last_dts is always
INT64_MIN (AV_NOPTS_VALUE) and the subtraction overflows in
an invalid manner. Although the result is only used if the
input values are valid, performing the subtraction is still
not allowed in a strict environment.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Alex Converse
98ef887a75
mpegps: Use av_get_packet() instead of poorly emulating it.
14 years ago
Maksym Veremeyenko
4052bf69ac
return error code if error happens
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Laurent Aimar
1e3336de69
mpc8: Fix return value on EOF
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
1775b92fee
segafilm: Check for memory allocation failures in segafilm demuxer.
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
762ffa6861
segafilm: Fix potential division by 0 on corrupted streams in the demuxer
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Laurent Aimar
790f4dd5c9
Fixed segfault on corrupted sega streams in the demuxer.
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Michael Niedermayer
f7fbbf466f
lavf/utils: document AVIndexEntry.timestamp
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
955113e31b
mpegps: drop incorrect line of sofdec detection
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Clément Bœsch
1b3b4a575b
libmodplug: free file content buffer in read_close() callback.
14 years ago
Clément Bœsch
8830c4e8a9
libmodplug: add TODO entry for probing.
14 years ago
Clément Bœsch
c768e96668
libmodplug: add metadata support.
14 years ago
Clément Bœsch
e6f937237a
libmodplug: add an option to enlarge the max supported file size.
14 years ago
Clément Bœsch
a763b46298
libmodplug: support options (noise reduction, reverb, bass boost, ...)
14 years ago
Michael Niedermayer
714517b26a
flvenc: Ignore metadata that has special values and is stored already based on
...
more correct values.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago