Hi, I have an avi video with 5000 frames. The original frame rate is 15 frames/per second, and it takes 300 seconds to play the whole video. I want the video to play faster so that it takes less time to complete, so I change the frame rate using the following command: mencoder in.avi -o out.avi -ofps 100 -ovc copy However, out.avi still take around 300 seconds to complete, even though out.avi does have fps of 100fps according to the info displayed by mplayer. What command options should I use if I want the output video to be complete in 50 sec? Thanks. Shiyuan
On Sun, Feb 19, 2012 at 7:23 PM, Shiyuan <gshy2014@gmail.com> wrote:
Hi, I have an avi video with 5000 frames. The original frame rate is 15 frames/per second, and it takes 300 seconds to play the whole video. I want the video to play faster so that it takes less time to complete, so I change the frame rate using the following command:
mencoder in.avi -o out.avi -ofps 100 -ovc copy
However, out.avi still take around 300 seconds to complete, even though out.avi does have fps of 100fps according to the info displayed by mplayer.
What command options should I use if I want the output video to be complete in 50 sec? Thanks.
You can't increase the FPS with mencoder. You can only decrease it.
Shiyuan _______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
On Sun, Feb 19, 2012 at 07:35:35PM +0100, Grozdan wrote:
On Sun, Feb 19, 2012 at 7:23 PM, Shiyuan <gshy2014@gmail.com> wrote:
Hi, I have an avi video with 5000 frames. The original frame rate is 15 frames/per second, and it takes 300 seconds to play the whole video. I want the video to play faster so that it takes less time to complete, so I change the frame rate using the following command:
mencoder in.avi -o out.avi -ofps 100 -ovc copy
However, out.avi still take around 300 seconds to complete, even though out.avi does have fps of 100fps according to the info displayed by mplayer.
Yes, -ofps only says how many frames are encoded for one second of video. It does not change the speed. For changing the speed there is the -fps and the -speed option.
What command options should I use if I want the output video to be complete in 50 sec? Thanks.
Most straight-forward would be -speed 50/300 (so 300 seconds become 50 seconds).
You can't increase the FPS with mencoder. You can only decrease it.
That's not true.
You may refer to this step by step guide to change video frame rate at http://www.idealshare.net/video-converter/frame-rate-converter.html This guide applies to: Change video frame rate from 1 to 60 especially among 23.97fps, 24fps, 25fps, 29.97fps, 30fps, 50i/p, 60i/p, 72p, 120p, 300p and etc; Change frame rate of video files of all variety like change AVI frame rate, change MP4 frame rate, change frame rate of MOV, Apple ProRes, R3D, AVCHD, WMV, MKV, VOB, DV, WTV, FLV, SWF, MXF, RMVB and more; Change video frame rate as well as keep the same video format; Change frame rate as well as convert video to other format;
participants (4)
-
fabriceharveynew -
Grozdan -
Reimar Döffinger -
Shiyuan