- 19 May, 2018 1 commit
-
-
Aman Gupta authored
This new optional flag makes it easier to deal with mpegts samples where the PMT is updated and elementary streams move to different PIDs in the middle of playback. Previously, new AVStreams were created per PID, and it was up to the user to figure out which streams had migrated to a new PID (by iterating over the list of AVProgram and making guesses), and switch seamlessly to the new AVStream during playback. Transcoding or remuxing these streams with ffmpeg on the CLI was also quite painful, and the user would need to extract each set of PIDs into a separate file and then stitch them back together. With this new option, the mpegts demuxer will automatically detect PMT changes and feed data from the new PID to the original AVStream that was created for the orignal PID. For mpegts samples with stream_identifier_descriptor available, the unique ID is used to merge PIDs together. If the stream id is not available, the demuxer attempts to map PIDs based on their position within the PMT. With this change, I am able to playback and transcode/remux these two samples which previously caused issues: https://tmm1.s3.amazonaws.com/pmt-version-change.ts https://kuroko.fushizen.eu/videos/pid_switch_sample.ts I also have another longer sample in which the PMT changes repeatedly and ES streams move to different pids three times during playback: https://tmm1.s3.amazonaws.com/multiple-pmt-change.ts Demuxing this sample with the new option shows several new log messages as the PMT changes are handled: [mpegts] detected PMT change (program=1, version=3/6, pcr_pid=0xf98/0xfb7) [mpegts] re-using existing video stream 0 (pid=0xf98) for new pid=0xfb7 [mpegts] re-using existing audio stream 1 (pid=0xf99) for new pid=0xfb8 [mpegts] re-using existing audio stream 2 (pid=0xf9a) for new pid=0xfb9 [mpegts] detected PMT change (program=1, version=6/3, pcr_pid=0xfb7/0xf98) [mpegts] detected PMT change (program=1, version=3/4, pcr_pid=0xf98/0xf9b) [mpegts] re-using existing video stream 0 (pid=0xf98) for new pid=0xf9b [mpegts] re-using existing audio stream 1 (pid=0xf99) for new pid=0xf9c [mpegts] re-using existing audio stream 2 (pid=0xf9a) for new pid=0xf9d [mpegts] detected PMT change (program=1, version=4/5, pcr_pid=0xf9b/0xfa9) [mpegts] re-using existing video stream 0 (pid=0xf98) for new pid=0xfa9 [mpegts] re-using existing audio stream 1 (pid=0xf99) for new pid=0xfaa [mpegts] re-using existing audio stream 2 (pid=0xf9a) for new pid=0xfab [mpegts] detected PMT change (program=1, version=5/6, pcr_pid=0xfa9/0xfb7) Signed-off-by:
Aman Gupta <aman@tmm1.net>
-
- 18 May, 2018 1 commit
-
-
Tobias Rapp authored
Generates color bar test patterns based on EBU PAL recommendations. Reviewed-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Tobias Rapp <t.rapp@noa-archive.com>
-
- 16 May, 2018 1 commit
-
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- 11 May, 2018 2 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Tobias Rapp authored
Adds tests for the hue angle and brightness filter parameters. Renames the existing saturation parameter test for consistency. Signed-off-by:
Tobias Rapp <t.rapp@noa-archive.com>
-
- 10 May, 2018 1 commit
-
-
Mark Thompson authored
The artificial sample file sei-1.h264 contains five frames (IDR P B I B) and the following SEI message types: * Buffering period * Picture timing * Pan-scan rectangle (display as 4:3) * User data registered, containing A/53 closed captions (captions match frame content, including reordering) * Recovery point (at the I frame) * Display orientation (identity transformation) * Mastering display (with arbitrary contents) * Undefined SEI type 1234 (containing ascending bytes)
-
- 08 May, 2018 10 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Other tools (XFConvert at least) write this as well. Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 05 May, 2018 3 commits
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 03 May, 2018 2 commits
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
This one actually works with hd1080 y4m files when seeking backwards. Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 02 May, 2018 1 commit
-
-
Mark Thompson authored
Uses the same mechanism as other codecs - conformance test files are passed through the metadata filter (which, with no options, reads the input and writes it back) and the output verified to match the input.
-
- 30 Apr, 2018 1 commit
-
-
Marton Balint authored
The specs says that the the first color component in the color array is not alpha, but simply 0. Fixes 0 alpha of fate-suite/cvid/catfight-cvid-pal8-partial.mov Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- 28 Apr, 2018 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 26 Apr, 2018 1 commit
-
-
Derek Buitenhuis authored
The track's media duration from the mdhd atom takes precedence over both the stts and elst atom for calculating and setting the track's total duraion. Technically, we shouldn't be using the stts atom at all for calculating stream durations. This fixes incorrect stream and final packet durations on files with edit lists that are longer than the media duration. The FATE changes are expected, and output is more correct (the AAC frame is not 1028 samples). Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 25 Apr, 2018 3 commits
-
-
Jerome Borsboom authored
Add previously omitted overlap smooting and loop filtering for frame/field-interlace pictures. For progressive pictures switch to the re-implemented versions of overlap smooting and loop filtering. Signed-off-by:
Jerome Borsboom <jerome.borsboom@carpalis.nl>
-
Jerome Borsboom authored
The existing implementation did out-of-bounds reference pixel replication for progressive reference frames. In interlaced reference frames both the even and odd line on the horizontal edges need to be replicated. Fixes #3262. Signed-off-by:
Jerome Borsboom <jerome.borsboom@carpalis.nl>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 19 Apr, 2018 1 commit
-
-
Jacob Trimble authored
- Parse schm atom to get different encryption schemes. - Allow senc atom to appear in track fragments. - Allow 16-byte IVs. - Allow constant IVs (specified in tenc). - Allow only tenc to specify encryption (i.e. no senc/saiz/saio). - Use sample descriptor to detect clear fragments. This doesn't support: - Different sample descriptor holding different encryption info. - Only first sample descriptor can be encrypted. - Encrypted sample groups (i.e. seig). - Non-'cenc' encryption scheme when using -decryption_key. Signed-off-by:
Jacob Trimble <modmaker@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 13 Apr, 2018 1 commit
-
-
Michael Niedermayer authored
tests/fate/filter-video: Use a bitexact/lossless input sample for fate-filter-metadata-silencedetect Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 12 Apr, 2018 2 commits
-
-
Bela Bodecs authored
Signed-off-by:
Bela Bodecs <bodecsb@vivanet.hu> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Mattias Amnefelt authored
Some ADTS streams can have multiple ID3 tags between frames. This change parses all of them, rather than just the first one. Signed-off-by:
Mattias Amnefelt <mattiasa@avm.se> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 03 Apr, 2018 1 commit
-
-
Gagandeep Singh authored
Also update fate reference. Fixes ticket #6675.
-
- 02 Apr, 2018 1 commit
-
-
Paul B Mahol authored
Fate output changes and under close inspection looks more correct. Fixes #6187. Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 01 Apr, 2018 1 commit
-
-
Rostislav Pehlivanov authored
On modern x86 systems its around 2x faster. For systems without FPUs it'll be slower, but our policy is to prefer floating point implementations and to let users decide what's best (or just not compile them on systems without FPUs). Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 29 Mar, 2018 4 commits
-
-
Nicolas Gaullier authored
-
Nicolas Gaullier authored
-
Nicolas Gaullier authored
Set relevant filter parameters such that the result can easily be checked with a waveform editor. In particular, it makes it clear the silence_start is not accurate in the current code.
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 24 Mar, 2018 1 commit
-
-
Sasi Inguva authored
Signed-off-by:
Sasi Inguva <isasi@isasi.mtv.corp.google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-