Hi! On 2020-06-22 17:34 +0000, Leonardo via ffmpeg-user wrote: > I have two images named figur001.png and figur002.png that I want to make a > video of 10 seconds, each figure being displayed for 5 seconds. > > After command > > ffmpeg -framerate 1/5 -i figur%03d.png -c:v libx264 -pix_fmt yuv420p -r 30 > -vf scale=1920:1080 video.mp4 > > It seems that the full duration is 10 seconds because ffmpeg displays this: > > Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
> However, using mplayer or vlc to play the video, the first image is showed > during 5 seconds (as it should be) but the second image no. > The second image is displayed by less than a second (0.1s maybe) If you test with MPlayer, please make sure you have a recent build. I believe the duration of the last frame wasn't respected in old versions of MPlayer. Sorry, I can't remember the date when it was added on top of my head. If you post the version output of mplayer, I will look it up. [...] Alexander _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".