From b2a6f25c67cca644257f008c8de83e4939f87196 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Fri, 27 May 2011 01:34:35 +0200 Subject: lavdev: add SDL output device --- doc/outdevs.texi | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'doc/outdevs.texi') diff --git a/doc/outdevs.texi b/doc/outdevs.texi index fbb3123..9985900 100644 --- a/doc/outdevs.texi +++ b/doc/outdevs.texi @@ -26,6 +26,49 @@ ALSA (Advanced Linux Sound Architecture) output device. OSS (Open Sound System) output device. +@section sdl + +SDL (Simple Directmedia Layer) output device. + +This output devices allows to show a video stream in an SDL +window. Only one SDL window is allowed per application, so you can +have only one instance of this output device in an application. + +To enable this output device you need libsdl installed on your system +when configuring your build. + +For more information about SDL, check: +@url{http://www.libsdl.org/} + +@subsection Options + +@table @option + +@item window_title +Set the SDL window title, if not specified default to "SDL video +outdev". + +@item icon_title +Set the name of the iconified SDL window, if not specified it is set +to the same value of @var{window_title}. + +@item window_size +Set the SDL window size, can be a string of the form +@var{width}x@var{height} or a video size abbreviation. +If not specified it defaults to the size of the input video. +@end table + +@subsection Examples + +The following command shows the @file{ffmpeg} output is an +SDL window, forcing its size to the qcif format: +@example +ffmpeg -i INPUT -vcodec rawvideo -pix_fmt yuv420p -window_size qcif -f sdl none +@end example + +Note that the name specified for the output device is ignored, so it +can be set to an arbitrary value ("none" in the above example). + @section sndio sndio audio output device. -- cgit v1.1