doc/indevs: add various missing options

Signed-off-by: Lou Logan <lou@lrcd.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
This commit is contained in:
Lou Logan 2015-08-18 17:43:33 -08:00
parent 2fa019958b
commit 4918726d41

View File

@ -51,6 +51,18 @@ ffmpeg -f alsa -i hw:0 alsaout.wav
For more information see: For more information see:
@url{http://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html} @url{http://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html}
@subsection Options
@table @option
@item sample_rate
Set the sample rate in Hz. Default is 48000.
@item channels
Set the number of channels. Default is 2.
@end table
@section avfoundation @section avfoundation
AVFoundation input device. AVFoundation input device.
@ -114,6 +126,19 @@ und the first one in this list is used instead. Available pixel formats are:
bgr48be, uyvy422, yuva444p, yuva444p16le, yuv444p, yuv422p16, yuv422p10, yuv444p10, bgr48be, uyvy422, yuva444p, yuva444p16le, yuv444p, yuv422p16, yuv422p10, yuv444p10,
yuv420p, nv12, yuyv422, gray} yuv420p, nv12, yuyv422, gray}
@item -framerate
Set the grabbing frame rate. Default is @code{ntsc}, corresponding to a
frame rate of @code{30000/1001}.
@item -video_size
Set the video frame size.
@item -capture_cursor
Capture the mouse pointer. Default is 0.
@item -capture_mouse_clicks
Capture the screen mouse clicks. Default is 0.
@end table @end table
@subsection Examples @subsection Examples
@ -150,6 +175,36 @@ $ ffmpeg -f avfoundation -pixel_format bgr0 -i "default:none" out.avi
BSD video input device. BSD video input device.
@subsection Options
@table @option
@item framerate
Set the frame rate.
@item video_size
Set the video frame size. Default is @code{vga}.
@item standard
Available values are:
@table @samp
@item pal
@item ntsc
@item secam
@item paln
@item palm
@item ntscj
@end table
@end table
@section decklink @section decklink
The decklink input device provides capture capabilities for Blackmagic The decklink input device provides capture capabilities for Blackmagic
@ -275,11 +330,11 @@ If set to @option{true}, print a list of selected device's options
and exit. and exit.
@item video_device_number @item video_device_number
Set video device number for devices with same name (starts at 0, Set video device number for devices with the same name (starts at 0,
defaults to 0). defaults to 0).
@item audio_device_number @item audio_device_number
Set audio device number for devices with same name (starts at 0, Set audio device number for devices with the same name (starts at 0,
defaults to 0). defaults to 0).
@item pixel_format @item pixel_format
@ -429,6 +484,27 @@ $ ffmpeg -f dshow -show_video_device_dialog true -crossbar_video_input_pin_numbe
Linux DV 1394 input device. Linux DV 1394 input device.
@subsection Options
@table @option
@item framerate
Set the frame rate. Default is 25.
@item standard
Available values are:
@table @samp
@item pal
@item ntsc
@end table
Default value is @code{ntsc}.
@end table
@section fbdev @section fbdev
Linux framebuffer input device. Linux framebuffer input device.
@ -441,6 +517,8 @@ console. It is accessed through a file device node, usually
For more detailed information read the file For more detailed information read the file
Documentation/fb/framebuffer.txt included in the Linux source tree. Documentation/fb/framebuffer.txt included in the Linux source tree.
See also @url{http://linux-fbdev.sourceforge.net/}, and fbset(1).
To record from the framebuffer device @file{/dev/fb0} with To record from the framebuffer device @file{/dev/fb0} with
@command{ffmpeg}: @command{ffmpeg}:
@example @example
@ -452,7 +530,14 @@ You can take a single screenshot image with the command:
ffmpeg -f fbdev -framerate 1 -i /dev/fb0 -frames:v 1 screenshot.jpeg ffmpeg -f fbdev -framerate 1 -i /dev/fb0 -frames:v 1 screenshot.jpeg
@end example @end example
See also @url{http://linux-fbdev.sourceforge.net/}, and fbset(1). @subsection Options
@table @option
@item framerate
Set the frame rate. Default is 25.
@end table
@section gdigrab @section gdigrab
@ -638,6 +723,15 @@ $ jack_connect metro:120_bpm ffmpeg:input_1
For more information read: For more information read:
@url{http://jackaudio.org/} @url{http://jackaudio.org/}
@subsection Options
@table @option
@item channels
Set the number of channels. Default is 2.
@end table
@section lavfi @section lavfi
Libavfilter input virtual device. Libavfilter input virtual device.
@ -678,6 +772,9 @@ Set the filename of the filtergraph to be read and sent to the other
filters. Syntax of the filtergraph is the same as the one specified by filters. Syntax of the filtergraph is the same as the one specified by
the option @var{graph}. the option @var{graph}.
@item dumpgraph
Dump graph to stderr.
@end table @end table
@subsection Examples @subsection Examples
@ -879,6 +976,19 @@ ffmpeg -f oss -i /dev/dsp /tmp/oss.wav
For more information about OSS see: For more information about OSS see:
@url{http://manuals.opensound.com/usersguide/dsp.html} @url{http://manuals.opensound.com/usersguide/dsp.html}
@subsection Options
@table @option
@item sample_rate
Set the sample rate in Hz. Default is 48000.
@item channels
Set the number of channels. Default is 2.
@end table
@section pulse @section pulse
PulseAudio input device. PulseAudio input device.
@ -919,6 +1029,10 @@ Specify the number of bytes per frame, by default it is set to 1024.
@item fragment_size @item fragment_size
Specify the minimal buffering fragment in PulseAudio, it will affect the Specify the minimal buffering fragment in PulseAudio, it will affect the
audio latency. By default it is unset. audio latency. By default it is unset.
@item wallclock
Set the initial PTS using the current time. Default is 1.
@end table @end table
@subsection Examples @subsection Examples
@ -954,6 +1068,22 @@ ffmpeg -f qtkit -i "default" out.mpg
ffmpeg -f qtkit -list_devices true -i "" ffmpeg -f qtkit -list_devices true -i ""
@end example @end example
@subsection Options
@table @option
@item frame_rate
Set frame rate. Default is 30.
@item list_devices
If set to @code{true}, print a list of devices and exit. Default is
@code{false}.
@item video_device_index
Select the video device by index for devices with the same name (starts at 0).
@end table
@section sndio @section sndio
sndio input device. sndio input device.
@ -971,6 +1101,18 @@ command:
ffmpeg -f sndio -i /dev/audio0 /tmp/oss.wav ffmpeg -f sndio -i /dev/audio0 /tmp/oss.wav
@end example @end example
@subsection Options
@table @option
@item sample_rate
Set the sample rate in Hz. Default is 48000.
@item channels
Set the number of channels. Default is 2.
@end table
@section video4linux2, v4l2 @section video4linux2, v4l2
Video4Linux2 input video device. Video4Linux2 input video device.
@ -1093,6 +1235,10 @@ Force conversion from monotonic to absolute timestamps.
@end table @end table
Default value is @code{default}. Default value is @code{default}.
@item use_libv4l2
Use libv4l2 (v4l-utils) conversion functions. Default is 0.
@end table @end table
@section vfwcap @section vfwcap
@ -1103,6 +1249,19 @@ The filename passed as input is the capture driver number, ranging from
0 to 9. You may use "list" as filename to print a list of drivers. Any 0 to 9. You may use "list" as filename to print a list of drivers. Any
other filename will be interpreted as device number 0. other filename will be interpreted as device number 0.
@subsection Options
@table @option
@item video_size
Set the video frame size.
@item framerate
Set the grabbing frame rate. Default value is @code{ntsc},
corresponding to a frame rate of @code{30000/1001}.
@end table
@section x11grab @section x11grab
X11 video input device. X11 video input device.