Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-24avformat/mxfdec: compute sample_count for all streams on seekMarton Balint
sample_count will be used for per-stream current_edit_unit. Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-24avformat/mxfdec: add support for returning the partition for ↵Marton Balint
mxf_edit_unit_absolute_offset and mxf_absolute_bodysid_offset Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-24avformat/mxfdec: make current_edit_unit a parameter of mxf_compute_samplesMarton Balint
No change in functionality. Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-24avformat/mxfdec: make edit_units_per_packet a track propertyMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-24avformat/mxfdec: simply use the first essence element for non frame-wrapped ↵Marton Balint
partition essence offset Also add the canopus essence element to the list of the recognized essence element keys. Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-24avformat/mxfdec: compute both essence_offset and essence_length in ↵Marton Balint
mxf_compute_essence_containers Also compute the correct essence_offset and essence_length for all clip wrapped essences. Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-24avformat/mxfdec: extend mxf_handle_missing_index_segment for all clip ↵Marton Balint
wrapped essences Also make sure we set a valid track index sid and a valid track edit rate in order for the index to be useful. Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-24avformat/mxfdec: add some essence container uls from SMPTE draftMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-24avformat/mxfdec: add support for determining essence wrapping schemeMarton Balint
Some code is based on bmxlib-libmxf/mxf/mxf_utils.c. Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-24avformat/mxfdec: store next_klv in KLVPacketMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-22lavf/amr: Make the heuristic for auto-detection even stricter.Carl Eugen Hoyos
Fixes ticket #7270.
2018-06-21avformat/movenc: allow hdlr name field to be emptyGyan Doshi
Both QTFF and the ISOBMFF standards allow it. Fixes #7262
2018-06-19lavf/mov: Do not fail hard for truncated stsz atoms.Carl Eugen Hoyos
Fixes ticket #6433.
2018-06-19avformat/movenc: read track title from correct keyGyan Doshi
da9cc22d5bd allowed the MOV muxer to relay a custom stream handler name, whether populated from the input stream or user-set. However, the entry key didn't match the key set by the MOV demuxer, so it wasn't effective. Fixed. Due to the change, four FATE refs have to be updated. Verified that the target payload of the tests hasn't changed in terms of CRC.
2018-06-18avformat/mpegts: parse large PMTs with multiple tablesAman Gupta
In 9152c1e4955, the mpegts parser was taught how to parse PMT sections which contained multiple tables. That commit fixed parsing of PMT packets from some cable providers, which included a special SCTE table (0xc0) before the standard program map table (0x2). Sometimes, however, the combined 0xc0 and 0x2 tables are larger than a single TS packet (188 bytes). The mpegts parser already attempts to parse sections which span multiple packets, but still assumed that the split section only contained one table. This patch fixes parsing of such a sample[1]. Before: Input #0, mpegts, from 'combined-pmt-tids-split.ts': Duration: 00:00:01.26, start: 39188.931756, bitrate: 597 kb/s Program 1 No Program Stream #0:0[0xeff]: Audio: ac3, 48000 Hz, mono, fltp, 64 kb/s Stream #0:1[0xefd]: Audio: mp3, 0 channels, fltp Stream #0:2[0xefe]: Unknown: none After: Input #0, mpegts, from 'combined-pmt-tids-split.ts': Duration: 00:00:01.27, start: 39188.931756, bitrate: 589 kb/s Program 1 Stream #0:0[0xefd]: Video: h264 ([27][0][0][0] / 0x001B), none, 59.94 fps, 59.94 tbr, 90k tbn, 180k tbc Stream #0:1[0xefe](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 384 kb/s Stream #0:2[0xeff](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, mono, fltp, 64 kb/s Stream #0:3[0xf00]: Data: scte_35 Stream #0:4[0xf01]: Unknown: none (ETV1 / 0x31565445) Stream #0:5[0xf02]: Unknown: none (ETV1 / 0x31565445) Stream #0:6[0xf03]: Unknown: none ([192][0][0][0] / 0x00C0) With the patch, the PMT is parsed correctly so the streams are created in the correct order, are associated with "Program 1", and their codecs are set correctly. [1] https://s3.amazonaws.com/tmm1/combined-pmt-tids-split.ts Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-06-17lavf/tedcaptionsdec: Replace the number by macro for bprint initJun Zhao
Replace the number by macro for bprint init. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-06-17lavf/icecast: Replace the number by macro for bprint initJun Zhao
Replace the number by macro for bprint init. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-06-16lavf/aviobuf: Increase Statistics verbosity to AV_LOG_VERBOSE.Carl Eugen Hoyos
2018-06-14avformat/mov: Only set pkt->duration to non negative valuesMichael Niedermayer
Reviewed-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-06-13avformat/movenc: fix recognization of cover image streamsTimo Teräs
For chapter images, the mov demux produces streams with disposition set to attached_pic+timed_thumbnails. This patch fixes to properly recognize streams that should be encoded as cover image (ones with only and only attached_pic disposition set). Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-06-13avformat/movenc: properly handle cover image codecsTimo Teräs
Find codec tag for attached images using appropriate list of supported image formats. This fixes writing the cover image to m4v/m4a and other container formats that do not allow these codecs as a track. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-06-13avformat/mov: Add check for per-sample IV size.Jacob Trimble
Found by Chrome's ClusterFuzz: http://crbug.com/849062. Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-06-13avformat: deprecate unused MP4A_LATM flagGyan Doshi
A generic lavf flag for AAC LATM packetization for the RTP muxer was added in ef409645f0 and then made inert 20 days later in 0832122880 when a private muxer option was added and the generic flag no longer read.
2018-06-09avformat/mov: Fix reading saio/saiz for clear content.Jacob Trimble
This validates that the common encryption saio/saiz atoms only appear when the data is actually encrypted. This also ignores those atoms in clear content. Found by Chrome's ClusterFuzz: http://crbug.com/850389 Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-06-09avformat/mxfdec: add support for recognizing timed text streamsMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-09avformat/mxfdec: remove check for NULL MXFTrack in mxf_set_ptsMarton Balint
It cannot happen for video streams. Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-09avformat/mxfdec: only disallow seek on metadata streamsMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-09avformat/mxfdec: recognize SMPTE 436 VBI dataMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-09avformat/mxfdec: use MXFCodecUL struct to store essence description for ↵Marton Balint
data_essence_container_uls Signed-off-by: Marton Balint <cus@passwd.hu>
2018-06-06lavf/mov.c: Set st->start_time for video streams explicitly.Sasi Inguva
If start_time is not set, ffmpeg takes the duration from the global movie instead of the per stream duration. Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-06-05lavf/mov.c: Fix timestamps to be strictly monotonic for video also.Sasi Inguva
We already do this for audio, but it should be done for video too. If we don't, seeking back to the start of the file, for example, can become quite broken, since the first N packets will have repeating and nonmonotonic PTS, yet they need to be decoded even if they are to be discarded. Signed-off-by: Sasi Inguva <isasi@isasi.mtv.corp.google.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2018-06-02libavformat/mov: Fix heap buffer overflow.Jacob Trimble
Found by Chrome's ClusterFuzz: https://crbug.com/847060 Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-31avformat/mxfdec: add some missing picture_essence_container_ulsMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-05-31avformat/mxfdec: use int math for sample count calculationMarton Balint
This also changes the rounding to nearest. Signed-off-by: Marton Balint <cus@passwd.hu>
2018-05-31avformat/mxfdec: fix klv_decode_ber_length return value usageMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-05-30flvenc: Fix sequence header update timestampsAlex Converse
2018-05-30flvenc: Factorize timestamp writingAlex Converse
The code is trivial but the semantics in the spec are ambiguous. This should help keep parts of the muxer interpreting them consistently.
2018-05-29avformat/movenc: creating producer reference time (PRFT) boxVishwanath Dixit
The producer reference time box supplies relative wall-clock times at which movie fragments, or files containing movie fragments (such as segments) were produced. The box is mainly useful in live streaming use cases. A media player can parse the box and utilize the time fields to measure and improve the latency during real time playout.
2018-05-29avformat/utils: function to get the formatted ntp timeVishwanath Dixit
This utility function creates 64-bit NTP time format as per the RFC 5905. A simple explaination of 64-bit NTP time format is here http://www.beaglesoft.com/Manual/page53.htm
2018-05-28lavf/libssh: translate a read of 0 to EOFJan Ekström
Yet another case of forgotten 0 =! EOF translation. While the documentation for this specific synchronous read function does not mention it, the documentation for `sftp_async_read` documents it, as well as looking at the implementation of this function leads one to find `if (handle->eof) { return 0; }`. Reported by stnutt on IRC.
2018-05-28avformat/dashenc: Added a warning for incorrect segment name extensionKarthick Jeyapal
Applicable only to webm output format. By default all the segment filenames end with .m4s extension. When someone chooses webm output format, we recommend they also override the relevant segment name options to end with .webm extension. This patch will issue a warning for he same
2018-05-28avformat/dashenc: Added option for Segment file formatKarthick Jeyapal
Right now segment file format is chosen to be either mp4 or webm based on the codec format. This patch makes that choice configurable by the user, instead of being decided by the muxer. Also with this change per-stream choice segment file format(based on codec type) is not possible. All the output audio and video streams should be in the same file format.
2018-05-27libavformat/mxfenc: Add some () to attempt to workaround build issue on osxMichael Niedermayer
fixes ticket7209 Tested-by: Jim DeLaHunt <from.ffmpeg-dev@jdlh.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-27avformat/mxf: fix NTSC 59.94 samples per frame layoutMarton Balint
FFmbc uses this. bmx uses this. XAVC MXF Mapping and Operating Points prefers this. Basic rounding rules also yields these numbers. Signed-off-by: Marton Balint <cus@passwd.hu>
2018-05-25lavf/img2dec: Auto-detect xwd images.Carl Eugen Hoyos
2018-05-24avformat/hlsenc: support http method for hls fmp4Steven Liu
fix ticket: 7160 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-05-24avformat/dashdec: replace user-agent to user_agent for deprecate warning messageSteven Liu
2018-05-24avformat/dashdec: Fix for ticket 7149 (Segfault when decoding dash streams)Colin NG
simplify the code to check common init section
2018-05-24avformat/dashdec: Fix for ticket 7149 (Segfault when decoding dash streams)Colin NG
Add NULL pointer check for init_section
2018-05-22avformat/mov: replace a value error by clipping into valid range in ↵Michael Niedermayer
mov_read_stsc() Fixes: #7165 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>