Vadim Kalinsky
e370aad67d
avformat/mov: Skip non-key frames if AVDISCARD_NONKEY is set.
...
Github: Closes #222
9 years ago
Michael Niedermayer
8a3221cc67
avformat/mov: Check sample size
...
Fixes integer overflow
Fixes: poc.mp4
Found-by: ajax secure <ajax4sec@hotmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
d693392886
avformat/mov: parse rtmd track timecode
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
8fb92ea7e2
avcodec: add YUY2 Lossless Codec decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Jan Sebechlebsky
d46a8e30dc
avformat/tee: Support arbitrary number of slaves
...
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
9 years ago
Rodger Combs
6ee7adb881
lavf/srtdec: fix indent
9 years ago
Rodger Combs
af7e2734b9
lavf: update auto-bsf to new BSF API
9 years ago
Rodger Combs
150e5e13b1
lavf: deprecate av_apply_bitstream_filters
9 years ago
Rodger Combs
1df401505c
lavf/srtdec: fix probing files with negative first timestamps
9 years ago
Michael Niedermayer
4cc896ea5f
avformat/format: Fix registering a format more than once and related races
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
David Murmann
0296b4b8d8
avformat/movenc: add option to use keys/mdta atoms for metadata
...
Add -movflags use_metadata_tags to the mov muxer. This will cause
the muxer to write all metadata to the file in the keys and mtda
atoms.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Clément Bœsch
8ca78d0fef
lavf/utils: fix const warning at a find_decoder() call
9 years ago
Clément Bœsch
1e9b79b2db
movenc: mark astronomical_body const string as static
9 years ago
Michael Niedermayer
46a60fe184
avformat: Fix ff_interleaved_peek()
...
Fixes assertion failures in movenc
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
f573acc424
avformat/matroskadec: Call matroska_read_close() on header parsing error
...
Fixes memleak
Fixes Ticket5169
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
388f095766
avformat/g729dec: Fix av_log() formating string
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
David Murmann
c3b0af7456
avformat/mov: add more datatypes in metadata handling
...
Implement variable sized big-endian integers, since these are found
in files created by ARRI cameras.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
d0b21b28a3
avformat/flacdec: Fix seeking close to EOF
...
Fixes Ticket5428
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Clément Bœsch
48ac4532d4
lavf/img2dec: add pnm pipe demuxers
9 years ago
Michael Niedermayer
99c3c3237b
avformat/utils: Use internal->avctx for bitrate in estimate_timings_from_bit_rate() if needed
...
The internal avctx bitrate is copied into codecpar after estimate_timings()
Fixes Ticket5646
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
4fecb97fd3
avformat/utils: change bit_rate to 64 bit in estimate_timings_from_bit_rate()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Bradshaw
989a614b70
libavformat/matroskaenc: omit segment UID for webm
...
SegmentUID is not a supported element in WebM. See:
http://www.webmproject.org/docs/container/#SegmentUID
Reviewed-by: Dave Rice <dave@dericed.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
e0faad837c
avformat/flvdec: Do not check last size if it could not be read due to EOF
...
Fixes part of Ticket5648
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
3f380b9b40
avformat/flvdec: Also print sum_flv_tag_size on size mismatches
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
e8931d79cc
avformat/flvdec: Accept last size if its off by 1
...
Fixes part of Ticket5648
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Aman Gupta
373b82066c
avformat/mpegts: include stream type for aac
...
this removes the need to probe to discover aac streams
inside mpegts containers, thus speeding up initial playback.
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
afd04058bc
avformat/oggparsevorbis: free base64 encoded data immediately after decoding it
...
It has no use afterwards and freeing it before calling ff_flac_parse_picture()
may help prevent OOM issues on memory constrained scenarios.
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
8b5b756c4d
avformat/oggparsevorbis: use the base64 decode size macro
...
Allocate the memory needed for the decoded data rather than the
encoded data.
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Paul B Mahol
470cd0c5fe
Add TrueMotion 2.0 Real Time decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Paul B Mahol
d78fd2fa21
Add MagicYUV decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Matthieu Bouron
acfab2dce6
lavf/mov: ignore ctts entries that do not apply to a least one sample
...
Fixes packet pts of samples which contain ctts entries with count <= 0.
9 years ago
Marton Balint
e07b8d68f5
avformat/mux: do not call write_packet with a flush packet if header is not written
...
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
517fe64406
avformat/mux: do not call write_header multiple times if it fails the first time
...
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Michael Niedermayer
3fd0694a11
avformat/version: Change the version bumping comment
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Marton Balint
cc16229d91
avformat/udp: replace packet_gap with bitrate option
...
We haven't had a stable release since the packet_gap addition, so probably it
is worth reworking the option to something that makes more sense to the end
user. Also add burst_bits option to specify maximum length of bit bursts.
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
0a06569487
avformat/udp: do not accumulate packet_gap delay errors
...
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Carl Eugen Hoyos
e274113292
lavc/cafenc: Allow QDMC muxing.
9 years ago
Vittorio Giovara
846a3e78a5
mov: Support prores with multiple stsd
...
This function needs to return false, or data in the additional tables
will be skipped, and the decoder will not be able to decode frames
associated with them.
9 years ago
Vittorio Giovara
7672997004
mov: Implement support for multiple sample description tables
...
Store data from each stsd in a separate extradata buffer, keep track of
the stsc index for read and seek operations, switch buffers when the
index differs. Decoder is notified with an AV_PKT_DATA_NEW_EXTRADATA
packet side data.
Since H264 supports this notification, and can be reset midstream, enable
this feature only for multiple avcC's. All other stsd types (such as
hvc1 and hev1) need decoder-side changes, so they are left disabled for
now.
This is implemented only in non-fragmented MOVs.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Kongqun Yang
54327c2b34
Add experimental support for vp9 in iso-bmff
...
Implemented according to the draft specification
"VP Codec ISO Media File Format Binding":
http://www.webmproject.org/vp9/#draft-vp-codec-iso-media-file-format-binding
'-strict -2' is required to use this feature.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
9 years ago
Yuri Zats
ebda8216dc
avformat/http: change seek_ret to int64
...
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Hendrik Leppkes
cb46b78b2e
os_support: use the appropriate stat functions matching the stat type
...
The stat struct is defined to stati64, which requires using the appropriate wstati/stati functions as well.
Fixes a whole bunch of compiler warnings as well as build breakage with the decklink avdevice.
Fixes trac #5640
9 years ago
Aman Gupta
ddffafc0b0
avformat/utils: in debug mode, print number of streams found before avformat_find_stream_info()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Aman Gupta
e9391ab121
avformat/mpegts: enhance logging in trace mode
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Stefano Sabatini
4b5620446a
lavf/utils: fix timestamp trace log in estimate_timings() function
...
Use the correct timebase, also replace "stream" with "format" in the
context of the format.
9 years ago
Martin Storsjö
cab237953e
rtpdec_vp9: Support parsing the scalability structure
...
We still only support one single layer though, but this allows
receiving streams that have this structure present even for
single layer streams.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
d50b3fe463
rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
94dee9067a
rtpdec: Use AVERROR_PATCHWELCOME instead of AVERROR(ENOSYS) for
...
unimplemented features
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
43880f9716
rtpdec_vp9: Update header parsing to spec draft 02
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
03aa4cd22b
rtpdec_vp9: Make sure to free the temp buffer on close
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago