I am trying to convert a video clip (MP4, yuv420p) from 30 fps to 24 fps. The number of frames is correct so my output should change from 20 minutes at 30fps to 25 minutes at 24fps. Everything else should remain the same.
Try as I might everything I try with ffmpeg converts the frame rate but changes the number of frames to keep the same duration or changes the duration without altering the framerate.
So I have been typically trying things like;
ffmpeg -y -r 30 -i seeing_noaudio.mp4 -r 24 seeing.mp4
(I'm doing this on windows but normally would be on linux). That converts the framerate but drops frames so the total duration is unaltered.
Or I have tried
ffmpeg -y -i seeing_noaudio.mp4 -filter:v "setpts=1.25*PTS" seeing.mp4
Which changes the duration but not the framerate.
Surely I should be able to do this with a single ffmpeg command without having to reencode or even as some people suggested going back to the original raw frames.
Help please
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…