[FFmpeg-user] Extra video frames were added when doing the resolution transform

Du Dengke pinganddu90 at gmail.com
Sat Mar 7 12:16:16 EET 2020

Hi all
When I run the following command
    ffmpeg -i test.mp4 -vf scale=640x360 test2.mp4
where test.mp4 located at:

And run the ffprobe on test.mp4 and test2.mp4 respectively:
    ffprobe -i test.mp4 -show_entries stream=nb_frames
video stream show:
     ffprobe -i test2.mp4 -show_entries stream=nb_frames
video stream show:

32 frames was added after the transform, and I saw some static picture
within the first second.
My question:
    Why the 32 frames was added, does this video trigger some mechanism?
And why the static picture was added at the first?


More information about the ffmpeg-user mailing list