aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/ffmpeg-streamloop-transcode-av
Commit message (Collapse)AuthorAgeFilesLines
* fftools/ffmpeg: rework keeping track of file duration for -stream_loopAnton Khirnov2023-11-141-80/+80
| | | | | | | | | | | | | | | | | | | | Current code tracks min/max pts for each stream separately; then when the file ends it combines them with last frame's duration to compute the total duration of each stream; finally it selects the longest of those durations as the file duration. This is incorrect - the total file duration is the largest timestamp difference between any frames, regardless of the stream. Also change the way the last frame information is reported from decoders to the muxer - previously it would be just the last frame's duration, now the end timestamp is sent, which is simpler. Changes the result of the fate-ffmpeg-streamloop-transcode-av test, where the timestamps are shifted slightly forward. Note that the matroska demuxer does not return the first audio packet after seeking (due to buggy interaction betwen the generic code and the demuxer), so there is a gap in audio.
* tests/fate/ffmpeg: silence the audio for fate-ffmpeg-streamloop-transcode-avAnton Khirnov2023-06-211-72/+72
| | | | | | | | Fixed-point AAC decoder currently does not produce the same output on all platforms. Until that is fixed, silence the audio stream using the volume filter. Also, actually use the aac_fixed decoder as was the original intent.
* tests/fate: add a test for -streamloop with transcoding video+audioAnton Khirnov2023-06-191-0/+151