Linux Commands Examples

A great documentation place for Linux commands


Display YUV4MPEG2 streams (using SDL)

see also : lavpipe - lav2yuv - lavplay


yuvplay [options]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


yuvplay produces on-screen playback of a YUV4MPEG2 stream which is provided to stdin, typically through piping from the stdout of lavpipe(1), lav2yuv(1), mpeg2dec(1) or a similar program. It should be noted that for pure playback lavplay should be a superior option. yuvplay is intended primarily as a debugging or diagnostic utility when setting up video processing pipelines.


yuvplay accepts the following options:

-s WxH

The size of the SDL window. By default, it uses the size of the input video stream scaled to yield 1:1 pixels (using the sample aspect ratio encoded in the stream header). However, you can specify any size you want. WxH is the width x height of the scaled window.


Set the window title.

-f num

Override the framerate specified in the input stream header.


By default, yuvplay will try to play at the framerate of the input movie. With this option, yuvplay will just play all the frames as fast as it can.

-v [0,1,2]

Set the verbosity of user feedback. Default is "1": errors, warnings, and info messages.

see also

mjpegtools, lavpipe , lav2yuv lavplay


This man page was originally written by Ronald Bultje (and since edited by Matt Marjanovic).
If you have questions, remarks, problems or you just want to contact the developers, the main mailing list for the MJPEG-tools is:

For more info, see our website at

How can this site be more helpful to YOU ?

give  feedback