On 02/10/2005, at 6:35 PM, Frank Albrecht wrote:


Is it possible to use mencoder or ffmpeg for capturing for
mjpegtools? I couldn't figure out how to create an input
satifying lav2yuv/mpeg2.

Hopefully this is will answer what you are asking.

Mplayer and ffmpeg can both produce a yuv4mpeg stream which works nicely with mjpeg tools.

the command lines would be like this:

ffmpeg -i input_file.ext -f yuv4mpegpipe  outfile.yuv

you can replace outfile.yuv with - if you want to use standard out.


mplayer will only write to a file called stream.yuv, so if you want to pipe it, you have to use mkfifo. It messes up the interlacing field, it says that every file is progressive and the aspect field saying that the file is 0:0

mplayer -vo yuv4mpeg   input_file.ext

you can use some other option in mplayer to turn off the sound and to run at full speed rather than at the frame rate that the file determines.

eg -ao null -benchmark -noframedrop

I hope this is what you were after.
Mark


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to