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

Nico Sabbi nsabbi at email.it
Tue Jan 23 17:21:05 CET 2007


Pierre PARENT wrote:

>>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.
>  
>

maybe you want encoding at exactly real time? not faster and not slower 
than fps?

>>>      
>>>
>>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...
>  
>

mkfifo mypipe
mencoder -o mypipe ... &

yourpgm < mypipe
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Refill s.r.l. - Il risparmio è fai da te! Inchiostri, cartucce, toner, carta speciale: ogni ricarica per la tua stampante ti costa solo 1 EURO!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5193&d=23-1



More information about the MEncoder-users mailing list