You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
3.7KB

  1. @chapter Output Devices
  2. @c man begin OUTPUT DEVICES
  3. Output devices are configured elements in FFmpeg which allow to write
  4. multimedia data to an output device attached to your system.
  5. When you configure your FFmpeg build, all the supported output devices
  6. are enabled by default. You can list all available ones using the
  7. configure option "--list-outdevs".
  8. You can disable all the output devices using the configure option
  9. "--disable-outdevs", and selectively enable an output device using the
  10. option "--enable-outdev=@var{OUTDEV}", or you can disable a particular
  11. input device using the option "--disable-outdev=@var{OUTDEV}".
  12. The option "-formats" of the ff* tools will display the list of
  13. enabled output devices (amongst the muxers).
  14. A description of the currently available output devices follows.
  15. @section alsa
  16. ALSA (Advanced Linux Sound Architecture) output device.
  17. @section caca
  18. CACA output device.
  19. This output devices allows to show a video stream in CACA window.
  20. Only one CACA window is allowed per application, so you can
  21. have only one instance of this output device in an application.
  22. To enable this output device you need to configure FFmpeg with
  23. @code{--enable-libcaca}.
  24. libcaca is a graphics library that outputs text instead of pixels.
  25. For more information about libcaca, check:
  26. @url{http://caca.zoy.org/wiki/libcaca}
  27. @subsection Options
  28. @table @option
  29. @item window_title
  30. Set the CACA window title, if not specified default to the filename
  31. specified for the output device.
  32. @item window_size
  33. Set the CACA window size, can be a string of the form
  34. @var{width}x@var{height} or a video size abbreviation.
  35. If not specified it defaults to the size of the input video.
  36. @item driver
  37. Set display driver.
  38. @item algorithm
  39. Set dithering algorithm. Dithering is necessary
  40. because the picture being rendered has usually far more colours than
  41. the available palette.
  42. @item antialias
  43. Set antialias method. Antialiasing smoothens the rendered
  44. image and avoids the commonly seen staircase effect.
  45. @item charset
  46. Set which characters are going to be used when rendering text.
  47. @item colors
  48. Set colors to be used when rendering text.
  49. @item list_drivers
  50. List available drivers.
  51. @item list_dither
  52. List available dither options.
  53. @end table
  54. @subsection Examples
  55. The following command shows the @command{ffmpeg} output is an
  56. CACA window, forcing its size to 80x25:
  57. @example
  58. ffmpeg -i INPUT -vcodec rawvideo -pix_fmt rgb24 -window_size 80x25 -f caca -
  59. @end example
  60. @section oss
  61. OSS (Open Sound System) output device.
  62. @section sdl
  63. SDL (Simple DirectMedia Layer) output device.
  64. This output devices allows to show a video stream in an SDL
  65. window. Only one SDL window is allowed per application, so you can
  66. have only one instance of this output device in an application.
  67. To enable this output device you need libsdl installed on your system
  68. when configuring your build.
  69. For more information about SDL, check:
  70. @url{http://www.libsdl.org/}
  71. @subsection Options
  72. @table @option
  73. @item window_title
  74. Set the SDL window title, if not specified default to the filename
  75. specified for the output device.
  76. @item icon_title
  77. Set the name of the iconified SDL window, if not specified it is set
  78. to the same value of @var{window_title}.
  79. @item window_size
  80. Set the SDL window size, can be a string of the form
  81. @var{width}x@var{height} or a video size abbreviation.
  82. If not specified it defaults to the size of the input video,
  83. downscaled according to the aspect ratio.
  84. @end table
  85. @subsection Examples
  86. The following command shows the @command{ffmpeg} output is an
  87. SDL window, forcing its size to the qcif format:
  88. @example
  89. ffmpeg -i INPUT -vcodec rawvideo -pix_fmt yuv420p -window_size qcif -f sdl "SDL output"
  90. @end example
  91. @section sndio
  92. sndio audio output device.
  93. @c man end OUTPUT DEVICES