diff options
author | Thilo Borgmann <borgmann@nue170.nue.tu-berlin.de> | 2014-04-11 17:29:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-11 17:51:33 +0200 |
commit | d2417061ef50dbe606692fa24031e3d68cc6292b (patch) | |
tree | adee73cc6b00ca81997de45080b0318b40ac380a /doc/indevs.texi | |
parent | c02e3dca2d494f972cd96e0cf9c8117296c60952 (diff) | |
download | ffmpeg-d2417061ef50dbe606692fa24031e3d68cc6292b.tar.gz |
Add AVFoundation input device.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/indevs.texi')
-rw-r--r-- | doc/indevs.texi | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/indevs.texi b/doc/indevs.texi index 552ba3a4f6..7b94155380 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -51,6 +51,36 @@ ffmpeg -f alsa -i hw:0 alsaout.wav For more information see: @url{http://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html} +@section avfoundation + +AVFoundation input device. + +AVFoundation is the currently recommended framework by Apple for streamgrabbing on OSX >= 10.7 as well as on iOS. +The older QTKit framework has been marked deprecated since OSX version 10.7. + +The filename passed as input is parsed to contain either a device name or index. +The device index can also be given by using -video_device_index. +A given device index will override any given device name. +If the desired device consists of numbers only, use -video_device_index to identify it. +The default device will be chosen if an empty string or the device name "default" is given. +The available devices can be enumerated by using -list_devices. + +@example +ffmpeg -f avfoundation -i "0" out.mpg +@end example + +@example +ffmpeg -f avfoundation -video_device_index 0 -i "" out.mpg +@end example + +@example +ffmpeg -f avfoundation -i "default" out.mpg +@end example + +@example +ffmpeg -f avfoundation -list_devices true -i "" +@end example + @section bktr BSD video input device. |