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
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
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
Michael Niedermayer
00c4861f13
avformat/mpegts: adjust probe score for low check_count
...
Fixes mis-detection of tiff as mpegts
Fixes Ticket5565
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Marton Balint
9da27fb579
avformat/mux: factorize header writing code
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
301ead1313
avformat/mux: call deinit if write_header fails
...
Docs clearly states that av_write_trailer should only be called if
avformat_write_header was successful, therefore we have to deinit if we return
failure.
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
4bee44007a
avformat/mxfdec: check if source_package is NULL
...
Fixes ticket #5554 .
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Thomas Bernard
836f3555a8
avformat/au: Read MetaData from AU Sun audio file header
...
recognize title= album= artist= genre= track=
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
4879841d15
avformat/dump: Show coded dimensions again
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Thomas Volkert
1f872332c4
rtpdec_vc2hq: avoid magic number
9 years ago
Thomas Volkert
668fb1cb6a
rtpenc: packetizer for VP9 RTP payload format (draft v2)
9 years ago
Michael Niedermayer
60de31e98c
avformat/utils: Export coded dimensions unconditionally
...
This fixes a API regression
Probably fixes Ticket5451
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Matt Oliver
37787f2616
lavf/os_support.h: Fix for unicode filenames on windows.
...
Fixes #819 #5256 #5281
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
9 years ago
James Almer
15f9189b9c
avformat/redspark: deobfuscate header decrypt code
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
8fdad638f9
avformat/redspark: remove av_malloc usage
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Paul B Mahol
84efdabc94
avcodec/utvideodec: add support for UQRG and UQRA formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Ivan
c1f57e2f91
libavformat/flvenc: support for codec configuration change mid stream
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Ivan
52985768af
libavformat/flvenc: refactoring: extracted method for writing codec headers
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
5fd73948bb
avformat/mp3dec: Increase probe score slightly when the whole data from begin to end is mp3
...
Improves score for 1000-frames-of-noise-encoded-with-lame.mp3 without file extension
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
6826f16e4a
avformat/utils: Do not overwrite, but use sample_fmt from context
...
Fixes Ticket 3759
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
218bb8b3f3
avformat/utils: Open decoder even if there are no packets if parameters are missing
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
2a70e78a28
avformat/utils: Initialize st in loop
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
4888932c4d
avformat: Fix max value of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago