summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* avformat/mpegts: include stream type for aacAman Gupta2016-06-21
| | | | | | | | 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>
* Merge commit '5c31eaa9998b2185e0aa04d11adff128498dc14a'Clément Bœsch2016-06-21
|\ | | | | | | | | | | | | * commit '5c31eaa9998b2185e0aa04d11adff128498dc14a': Remove unnecessary get_bits.h #includes and add missing headers where needed. Merged-by: Clément Bœsch <clement@stupeflix.com>
| * Remove unnecessary get_bits.h #includes and add missing headers where needed.Alexandra Hájková2016-05-04
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit '0f40c9098498ad90dbbd2380eb4269015e84bde4'Clément Bœsch2016-06-21
|\| | | | | | | | | | | | | * commit '0f40c9098498ad90dbbd2380eb4269015e84bde4': Drop pointless assert.h #includes Merged-by: Clément Bœsch <clement@stupeflix.com>
| * Drop pointless assert.h #includesDiego Biurrun2016-05-03
| |
* | Merge commit '74d98d1b0e0e7af444c933ea3c472494de3ce6f2'Clément Bœsch2016-06-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '74d98d1b0e0e7af444c933ea3c472494de3ce6f2': mpegts: Validate the SL Packet Header Configuration See e630ca5111077fa8adc972fe8a3d7e2b3e8dc91f Our local timestamp_len > 64 is adjusted to > 63 to match the Libav check and the actual specifications (14496-1, 10.2.2). There is no need to request a sample as it violates the specifications and such a file would likely be the result of a crafted/fuzzed sample. On the other hand, the clipping of the value is kept for extra safety. Merged-by: Clément Bœsch <clement@stupeflix.com>
| * mpegts: Validate the SL Packet Header ConfigurationLuca Barbato2016-05-03
| | | | | | | | | | | | | | timeStampLength, OCRLength and AU_Length have well specified upper boundaries. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * rtpdec_vp9: Support parsing the scalability structureMartin Storsjö2016-04-30
| | | | | | | | | | | | | | | | 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>
| * rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_logMartin Storsjö2016-04-30
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpdec: Use AVERROR_PATCHWELCOME instead of AVERROR(ENOSYS) for ↵Martin Storsjö2016-04-30
| | | | | | | | | | | | unimplemented features Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpdec_vp9: Update header parsing to spec draft 02Martin Storsjö2016-04-30
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpdec_vp9: Make sure to free the temp buffer on closeMartin Storsjö2016-04-30
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | avformat/oggparsevorbis: free base64 encoded data immediately after decoding itJames Almer2016-06-20
| | | | | | | | | | | | | | 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>
* | avformat/oggparsevorbis: use the base64 decode size macroJames Almer2016-06-20
| | | | | | | | | | | | | | Allocate the memory needed for the decoded data rather than the encoded data. Signed-off-by: James Almer <jamrial@gmail.com>
* | lavf/mov: ignore ctts entries that do not apply to a least one sampleMatthieu Bouron2016-06-20
| | | | | | | | Fixes packet pts of samples which contain ctts entries with count <= 0.
* | avformat/mux: do not call write_packet with a flush packet if header is not ↵Marton Balint2016-06-20
| | | | | | | | | | | | written Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/mux: do not call write_header multiple times if it fails the first timeMarton Balint2016-06-20
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/version: Change the version bumping commentMichael Niedermayer2016-06-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/udp: replace packet_gap with bitrate optionMarton Balint2016-06-19
| | | | | | | | | | | | | | | | 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>
* | avformat/udp: do not accumulate packet_gap delay errorsMarton Balint2016-06-19
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | lavc/cafenc: Allow QDMC muxing.Carl Eugen Hoyos2016-06-19
| |
* | Add experimental support for vp9 in iso-bmffKongqun Yang2016-06-17
| | | | | | | | | | | | | | | | | | | | 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>
* | avformat/http: change seek_ret to int64Yuri Zats2016-06-16
| | | | | | | | | | Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | os_support: use the appropriate stat functions matching the stat typeHendrik Leppkes2016-06-14
| | | | | | | | | | | | | | 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
* | avformat/utils: in debug mode, print number of streams found before ↵Aman Gupta2016-06-14
| | | | | | | | | | | | avformat_find_stream_info() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mpegts: enhance logging in trace modeAman Gupta2016-06-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/utils: fix timestamp trace log in estimate_timings() functionStefano Sabatini2016-06-14
| | | | | | | | | | Use the correct timebase, also replace "stream" with "format" in the context of the format.
* | rtpdec_vp9: Support parsing the scalability structureMartin Storsjö2016-06-14
| | | | | | | | | | | | | | | | 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>
* | rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_logMartin Storsjö2016-06-14
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | rtpdec: Use AVERROR_PATCHWELCOME instead of AVERROR(ENOSYS) forMartin Storsjö2016-06-14
| | | | | | | | | | | | unimplemented features Signed-off-by: Martin Storsjö <martin@martin.st>
* | rtpdec_vp9: Update header parsing to spec draft 02Martin Storsjö2016-06-14
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | rtpdec_vp9: Make sure to free the temp buffer on closeMartin Storsjö2016-06-14
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | avformat/mpegts: adjust probe score for low check_countMichael Niedermayer2016-06-14
| | | | | | | | | | | | | | Fixes mis-detection of tiff as mpegts Fixes Ticket5565 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mux: factorize header writing codeMarton Balint2016-06-13
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/mux: call deinit if write_header failsMarton Balint2016-06-13
| | | | | | | | | | | | | | | | 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>
* | avformat/mxfdec: check if source_package is NULLMarton Balint2016-06-13
| | | | | | | | | | | | | | Fixes ticket #5554. Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/au: Read MetaData from AU Sun audio file headerThomas Bernard2016-06-13
| | | | | | | | | | | | recognize title= album= artist= genre= track= Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/dump: Show coded dimensions againMichael Niedermayer2016-06-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | rtpdec_vc2hq: avoid magic numberThomas Volkert2016-06-13
| |
* | rtpenc: packetizer for VP9 RTP payload format (draft v2)Thomas Volkert2016-06-13
| |
* | avformat/utils: Export coded dimensions unconditionallyMichael Niedermayer2016-06-13
| | | | | | | | | | | | | | This fixes a API regression Probably fixes Ticket5451 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/os_support.h: Fix for unicode filenames on windows.Matt Oliver2016-06-13
| | | | | | | | | | | | Fixes #819 #5256 #5281 Signed-off-by: Matt Oliver <protogonoi@gmail.com>
* | avformat/redspark: deobfuscate header decrypt codeJames Almer2016-06-12
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/redspark: remove av_malloc usageJames Almer2016-06-12
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/utvideodec: add support for UQRG and UQRA formatsPaul B Mahol2016-06-12
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | libavformat/flvenc: support for codec configuration change mid streamIvan2016-06-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavformat/flvenc: refactoring: extracted method for writing codec headersIvan2016-06-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mp3dec: Increase probe score slightly when the whole data from ↵Michael Niedermayer2016-06-11
| | | | | | | | | | | | | | | | 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>
* | avformat/utils: Do not overwrite, but use sample_fmt from contextMichael Niedermayer2016-06-09
| | | | | | | | | | | | Fixes Ticket 3759 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/utils: Open decoder even if there are no packets if parameters are ↵Michael Niedermayer2016-06-09
| | | | | | | | | | | | missing Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>