[MEncoder-users] How can I decode a movie->image at a specified rate ?!

Pierre PARENT pp57 at hotmail.com
Tue Jan 23 15:22:49 CET 2007


> Pierre PARENT wrote:
> 
> >Hi everybody,
> >
> >I would like to know if there is a way to obtain PPM images from a video in stdout at the video frame rate.
> >The goal is to show a video using amsn(or similar) by simulating a video device (/dev/video*) like it was a webcam.
> >
> >I have tried that :
> >-> "mencoder -really-quiet my_movie.wmv -nosound -ovc raw -vf format=rgb24 -of rawvideo -o /dev/stdout"
> >  
> >
> -fps 25
I tried this option, but it doesn't have any impact on the decoding rate.

> 
> >Then, I pipe the output using "dd" to bufferize and finally send the stream to the dummy V4L device I just have implemented.
> >
> >BUT it decodes the video at the maximum speed. Is there a way to decode the video at 25fps with mencoder or ffmpeg ??
> >
> > Thanks,
> >  Pierre.
> >
> >ps : sorry for my poor english .. If you have not understood what I'm trying to do, just say it and I will explain better ;-)
> >  
> >
> stdout is seriously abused by mencoder. Don't rely on  it
>  
yes, but it is the only way I have found to do that. If you have any suggestions to make it differently...
_________________________________________________________________
Essayez Live.com, votre nouvelle page d'accueil ! Personnalisez-la en quelques clics pour retrouver tout ce qui vous intéresse au même endroit.
http://www.live.com/getstarted


More information about the MEncoder-users mailing list