Changing FPS rate of a video with FFMPEG
If you want to change frame per second (fps) rate of a video file, you need a codec to achieve that. We can use FFMpeg to change this rate. You can run below script via CMD on windows or CLI on Linux.
ffmpeg -r 10 -f image2 -i C:\test\captures\image%d.png C:\test\captures\test2.flv
A point to keep it mind that,
-r 10 : define new fps rate
image2 : image file format
C:\5d\captures\image%d.png : image files in a directory which will be converted a video
C:\5d\captures\test2.flv : destination file name
If you have any problem of this script please share it with a comment.
Advertisement
leave a comment