[FFmpeg-user] Slide show with vfr

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Jan 24 21:15:23 EET 2021


Am So., 24. Jan. 2021 um 18:23 Uhr schrieb Wolfgang Hugemann <auto at hugemann.de>:
>
> I did one step backward and tried to construct a vfr video from the
> scratch using slides a an input:
>
> ffmpeg -y -f concat -i input.txt colors.mkv
>
> with input.txt as:
>
> ffconcat version 1.0
> file 'red.png'
> duration 250ms
> file 'yellow.png'
> duration 500ms
> file 'green.png'
> duration 500ms
> file 'cyan.png'
> duration 250ms
> file 'blue.png'
> duration 500ms
> file 'black.png'
> duration 500ms
>
> This resulted in cfr for mp4 an vfr for mkv or webm (according to
> MediaInfo, a Windows application). However, there seems to be something
> wrong with the result colors.mkv, as no player, including ffplay uses
> the specified durations.

I suspect that no player is able to deal with above frame durations.

Old RealMedia files can be good sources for vfr tests.

Carl Eugen


More information about the ffmpeg-user mailing list