Lines Matching +full:set +full:- +full:output
1 @chapter Output Devices
2 @c man begin OUTPUT DEVICES
4 Output devices are configured elements in FFmpeg that can write
5 multimedia data to an output device attached to your system.
7 When you configure your FFmpeg build, all the supported output devices
9 configure option "--list-outdevs".
11 You can disable all the output devices using the configure option
12 "--disable-outdevs", and selectively enable an output device using the
13 option "--enable-outdev=@var{OUTDEV}", or you can disable a particular
14 input device using the option "--disable-outdev=@var{OUTDEV}".
16 The option "-devices" of the ff* tools will display the list of
17 enabled output devices.
19 A description of the currently available output devices follows.
23 ALSA (Advanced Linux Sound Architecture) output device.
31 ffmpeg -i INPUT -f alsa default
37 ffmpeg -i INPUT -f alsa hw:1,7
43 CACA output device.
45 This output device allows one to show a video stream in CACA window.
47 have only one instance of this output device in an application.
49 To enable this output device you need to configure FFmpeg with
50 @code{--enable-libcaca}.
61 Set the CACA window title, if not specified default to the filename
62 specified for the output device.
65 Set the CACA window size, can be a string of the form
70 Set display driver.
73 Set dithering algorithm. Dithering is necessary
76 The accepted values are listed with @code{-list_dither algorithms}.
79 Set antialias method. Antialiasing smoothens the rendered
81 The accepted values are listed with @code{-list_dither antialiases}.
84 Set which characters are going to be used when rendering text.
85 The accepted values are listed with @code{-list_dither charsets}.
88 Set color to be used when rendering text.
89 The accepted values are listed with @code{-list_dither colors}.
92 If set to @option{true}, print a list of available drivers and exit.
104 The following command shows the @command{ffmpeg} output is an
107 ffmpeg -i INPUT -c:v rawvideo -pix_fmt rgb24 -window_size 80x25 -f caca -
113 ffmpeg -i INPUT -pix_fmt rgb24 -f caca -list_drivers true -
119 ffmpeg -i INPUT -pix_fmt rgb24 -f caca -list_dither colors -
125 The decklink output device provides playback capabilities for Blackmagic
128 To enable this output device, you need the Blackmagic DeckLink SDK and you
129 need to configure with the appropriate @code{--extra-cflags}
130 and @code{--extra-ldflags}.
135 device with @command{-list_formats 1}. Audio sample rate is always 48 kHz.
142 If set to @option{true}, print a list of devices and exit.
144 @code{-sinks} option of ffmpeg to list the available output devices.
147 If set to @option{true}, print a list of supported formats and exit.
159 Sets the genlock timing pixel offset on the used output.
169 List output devices:
171 ffmpeg -sinks decklink
177 ffmpeg -i test.avi -f decklink -list_formats 1 'DeckLink Mini Monitor'
183 ffmpeg -i test.avi -f decklink -pix_fmt uyvy422 'DeckLink Mini Monitor'
187 Play video clip with non-standard framerate or video size:
189 ffmpeg -i test.avi -f decklink -pix_fmt uyvy422 -s 720x486 -r 24000/1001 'DeckLink Mini Monitor'
196 Linux framebuffer output device.
198 The Linux framebuffer is a graphic hardware-independent abstraction
211 Set x/y coordinate of top left corner. Default is 0.
218 ffmpeg -re -i INPUT -c:v rawvideo -pix_fmt bgra -f fbdev /dev/fb0
221 See also @url{http://linux-fbdev.sourceforge.net/}, and fbset(1).
224 OpenGL output device.
226 To enable this output device you need to configure FFmpeg with @code{--enable-opengl}.
228 This output device allows one to render to OpenGL context.
232 @code{AV_DEV_TO_APP_CREATE_WINDOW_BUFFER} - create OpenGL context on current thread.
233 @code{AV_DEV_TO_APP_PREPARE_WINDOW_BUFFER} - make OpenGL context current.
234 @code{AV_DEV_TO_APP_DISPLAY_WINDOW_BUFFER} - swap buffers.
235 @code{AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER} - destroy OpenGL context.
242 Set background color. Black is a default.
244 Disables default SDL window when set to non-zero value.
245 …OpenGL context and both @code{window_size_cb} and @code{window_swap_buffers_cb} callbacks when set.
247 Set the SDL window title, if not specified default to the filename specified for the output device.
248 Ignored when @option{no_window} is set.
250 Set preferred window size, can be a string of the form widthxheight or a video size abbreviation.
252 Mostly usable when @option{no_window} is not set.
259 ffmpeg -i INPUT -f opengl "window title"
264 OSS (Open Sound System) output device.
268 PulseAudio output device.
270 To enable this output device you need to configure FFmpeg with @code{--enable-libpulse}.
287 by default it is set to the specified output name.
291 List of output devices can be obtained with command @command{pactl list sinks}.
303 are set to 0 (which is default), the device will use the default
304 PulseAudio duration value. By default PulseAudio set buffer duration
308 Specify pre-buffering size in bytes. The server does not start with
316 is free enough to request more bytes at once. It is recommended to not set
325 ffmpeg -i INPUT -f pulse "stream name"
330 SDL (Simple DirectMedia Layer) output device.
334 This output device allows one to show a video stream in an SDL
336 have only one instance of this output device in an application.
338 To enable this output device you need libsdl installed on your system
349 Set the SDL window title, if not specified default to the filename
350 specified for the output device.
353 Set the name of the iconified SDL window, if not specified it is set
357 Set the SDL window size, can be a string of the form
364 Set the position of the window on the screen.
367 Set fullscreen mode when non-zero value is provided.
372 when non-zero value is provided.
388 The following command shows the @command{ffmpeg} output is an
391 ffmpeg -i INPUT -c:v rawvideo -pix_fmt yuv420p -window_size qcif -f sdl "SDL output"
396 sndio audio output device.
400 Video4Linux2 output device.
404 XV (XVideo) output device.
406 This output device allows one to show a video stream in a X Window System
427 For example, @code{dual-headed:0.1} would specify screen 1 of display
428 0 on the machine named ``dual-headed''.
434 When set to non-zero value then device doesn't create new window,
436 this options is set to zero and device creates its own window.
439 Set the created window size, can be a string of the form
442 Ignored when @var{window_id} is set.
446 Set the X and Y window offsets for the created window. They are both
447 set to 0 by default. The values may be ignored by the window manager.
448 Ignored when @var{window_id} is set.
451 Set the window title, if not specified default to the filename
452 specified for the output device. Ignored when @var{window_id} is set.
464 ffmpeg -i INPUT OUTPUT -f xv display
470 ffmpeg -i INPUT -f xv normal -vf negate -f xv negated
474 @c man end OUTPUT DEVICES