[MPlayer-users] to change sleep time between frames

Joey Parrish joey.parrish at gmail.com
Mon May 28 08:22:45 CEST 2007


On 5/27/07, Pramod Reddy Patlolla <qkpramodreddy at gmail.com> wrote:
> > mplayer -fps 10 yourmovie.avi
> >
> > whereas <fps>=1/<sleep_time>
> >
> > roman
>
> Hi Roman,
> You are right I need to display a frame for a particular amount of time.
> Based on the display time of frame the video play rate changes. My project
> requires to change this every 2 secs.
> The goal is to send a video file and a text file(containing fps to be
> displayed every 2 secs) as input. Based on the text file data the video has
> to be displayed. The video which has been shot is taken from a moving
> vehicle with GPS readings. So this video which has been shot also has data
> containg moving vehicke every two seconds. By changing  fps every two
> seconds the video displays equal length of ground every second.
> I tried sending 'fps command' using mplayer slave option, because of delay
> in sending the command every 2 secs I am not getting desired results. The
> other options is to change the display time of frame every 2 secs
> internally.

Read the manual, especially regarding the fps option.  But here's a shortcut.

$ mplayer -fps 0.5 something.avi

0.5 fps = 1 frame every 2 seconds

--Joey



More information about the MPlayer-users mailing list