annotate ffmpeg/doc/outdevs.texi @ 13:844d341cf643 tip

Back up before ISMIR
author Yading Song <yading.song@eecs.qmul.ac.uk>
date Thu, 31 Oct 2013 13:17:06 +0000
parents 6840f77b83aa
children
rev   line source
yading@10 1 @chapter Output Devices
yading@10 2 @c man begin OUTPUT DEVICES
yading@10 3
yading@10 4 Output devices are configured elements in FFmpeg which allow to write
yading@10 5 multimedia data to an output device attached to your system.
yading@10 6
yading@10 7 When you configure your FFmpeg build, all the supported output devices
yading@10 8 are enabled by default. You can list all available ones using the
yading@10 9 configure option "--list-outdevs".
yading@10 10
yading@10 11 You can disable all the output devices using the configure option
yading@10 12 "--disable-outdevs", and selectively enable an output device using the
yading@10 13 option "--enable-outdev=@var{OUTDEV}", or you can disable a particular
yading@10 14 input device using the option "--disable-outdev=@var{OUTDEV}".
yading@10 15
yading@10 16 The option "-formats" of the ff* tools will display the list of
yading@10 17 enabled output devices (amongst the muxers).
yading@10 18
yading@10 19 A description of the currently available output devices follows.
yading@10 20
yading@10 21 @section alsa
yading@10 22
yading@10 23 ALSA (Advanced Linux Sound Architecture) output device.
yading@10 24
yading@10 25 @section caca
yading@10 26
yading@10 27 CACA output device.
yading@10 28
yading@10 29 This output devices allows to show a video stream in CACA window.
yading@10 30 Only one CACA window is allowed per application, so you can
yading@10 31 have only one instance of this output device in an application.
yading@10 32
yading@10 33 To enable this output device you need to configure FFmpeg with
yading@10 34 @code{--enable-libcaca}.
yading@10 35 libcaca is a graphics library that outputs text instead of pixels.
yading@10 36
yading@10 37 For more information about libcaca, check:
yading@10 38 @url{http://caca.zoy.org/wiki/libcaca}
yading@10 39
yading@10 40 @subsection Options
yading@10 41
yading@10 42 @table @option
yading@10 43
yading@10 44 @item window_title
yading@10 45 Set the CACA window title, if not specified default to the filename
yading@10 46 specified for the output device.
yading@10 47
yading@10 48 @item window_size
yading@10 49 Set the CACA window size, can be a string of the form
yading@10 50 @var{width}x@var{height} or a video size abbreviation.
yading@10 51 If not specified it defaults to the size of the input video.
yading@10 52
yading@10 53 @item driver
yading@10 54 Set display driver.
yading@10 55
yading@10 56 @item algorithm
yading@10 57 Set dithering algorithm. Dithering is necessary
yading@10 58 because the picture being rendered has usually far more colours than
yading@10 59 the available palette.
yading@10 60 The accepted values are listed with @code{-list_dither algorithms}.
yading@10 61
yading@10 62 @item antialias
yading@10 63 Set antialias method. Antialiasing smoothens the rendered
yading@10 64 image and avoids the commonly seen staircase effect.
yading@10 65 The accepted values are listed with @code{-list_dither antialiases}.
yading@10 66
yading@10 67 @item charset
yading@10 68 Set which characters are going to be used when rendering text.
yading@10 69 The accepted values are listed with @code{-list_dither charsets}.
yading@10 70
yading@10 71 @item color
yading@10 72 Set color to be used when rendering text.
yading@10 73 The accepted values are listed with @code{-list_dither colors}.
yading@10 74
yading@10 75 @item list_drivers
yading@10 76 If set to @option{true}, print a list of available drivers and exit.
yading@10 77
yading@10 78 @item list_dither
yading@10 79 List available dither options related to the argument.
yading@10 80 The argument must be one of @code{algorithms}, @code{antialiases},
yading@10 81 @code{charsets}, @code{colors}.
yading@10 82 @end table
yading@10 83
yading@10 84 @subsection Examples
yading@10 85
yading@10 86 @itemize
yading@10 87 @item
yading@10 88 The following command shows the @command{ffmpeg} output is an
yading@10 89 CACA window, forcing its size to 80x25:
yading@10 90 @example
yading@10 91 ffmpeg -i INPUT -vcodec rawvideo -pix_fmt rgb24 -window_size 80x25 -f caca -
yading@10 92 @end example
yading@10 93
yading@10 94 @item
yading@10 95 Show the list of available drivers and exit:
yading@10 96 @example
yading@10 97 ffmpeg -i INPUT -pix_fmt rgb24 -f caca -list_drivers true -
yading@10 98 @end example
yading@10 99
yading@10 100 @item
yading@10 101 Show the list of available dither colors and exit:
yading@10 102 @example
yading@10 103 ffmpeg -i INPUT -pix_fmt rgb24 -f caca -list_dither colors -
yading@10 104 @end example
yading@10 105 @end itemize
yading@10 106
yading@10 107 @section oss
yading@10 108
yading@10 109 OSS (Open Sound System) output device.
yading@10 110
yading@10 111 @section sdl
yading@10 112
yading@10 113 SDL (Simple DirectMedia Layer) output device.
yading@10 114
yading@10 115 This output devices allows to show a video stream in an SDL
yading@10 116 window. Only one SDL window is allowed per application, so you can
yading@10 117 have only one instance of this output device in an application.
yading@10 118
yading@10 119 To enable this output device you need libsdl installed on your system
yading@10 120 when configuring your build.
yading@10 121
yading@10 122 For more information about SDL, check:
yading@10 123 @url{http://www.libsdl.org/}
yading@10 124
yading@10 125 @subsection Options
yading@10 126
yading@10 127 @table @option
yading@10 128
yading@10 129 @item window_title
yading@10 130 Set the SDL window title, if not specified default to the filename
yading@10 131 specified for the output device.
yading@10 132
yading@10 133 @item icon_title
yading@10 134 Set the name of the iconified SDL window, if not specified it is set
yading@10 135 to the same value of @var{window_title}.
yading@10 136
yading@10 137 @item window_size
yading@10 138 Set the SDL window size, can be a string of the form
yading@10 139 @var{width}x@var{height} or a video size abbreviation.
yading@10 140 If not specified it defaults to the size of the input video,
yading@10 141 downscaled according to the aspect ratio.
yading@10 142 @end table
yading@10 143
yading@10 144 @subsection Examples
yading@10 145
yading@10 146 The following command shows the @command{ffmpeg} output is an
yading@10 147 SDL window, forcing its size to the qcif format:
yading@10 148 @example
yading@10 149 ffmpeg -i INPUT -vcodec rawvideo -pix_fmt yuv420p -window_size qcif -f sdl "SDL output"
yading@10 150 @end example
yading@10 151
yading@10 152 @section sndio
yading@10 153
yading@10 154 sndio audio output device.
yading@10 155
yading@10 156 @c man end OUTPUT DEVICES