[FFmpeg-devel] [PATCH] lavd/avfoundation: Update documentation to mention audio capabilities.

Thilo Borgmann thilo.borgmann at mail.de
Thu Nov 6 16:27:20 CET 2014


Hi,

update docs for avfoundation device.

-Thilo
-------------- next part --------------
From 934d2322dd2355a499f4d429c46c80eb7ca70463 Mon Sep 17 00:00:00 2001
From: Thilo Borgmann <thilo.borgmann at mail.de>
Date: Thu, 6 Nov 2014 16:25:23 +0100
Subject: [PATCH] lavd/avfoundation: Update documentation to mention audio
 capabilities.

---
 doc/indevs.texi | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/doc/indevs.texi b/doc/indevs.texi
index 99e1112..4ee4089 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -58,8 +58,9 @@ 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.
+The filename passed as input is parsed to contain two input streams seperated by ":".
+The stream can either be specified by the device name or the index.
+The device index can also be given by using -video_device_index and/or -audio_device_index, respectively.
 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.
@@ -71,15 +72,15 @@ Available formats:
  yuv420p, nv12, yuyv422, gray
 
 @example
-ffmpeg -f avfoundation -i "0" out.mpg
+ffmpeg -f avfoundation -i "0:0" out.mpg
 @end example
 
 @example
-ffmpeg -f avfoundation -video_device_index 0 -i "" out.mpg
+ffmpeg -f avfoundation -video_device_index 0 -i ":0" out.mpg
 @end example
 
 @example
-ffmpeg -f avfoundation -pixel_format bgr0 -i "default" out.mpg
+ffmpeg -f avfoundation -pixel_format bgr0 -i "default:default" out.mpg
 @end example
 
 @example
-- 
1.9.3 (Apple Git-50)


More information about the ffmpeg-devel mailing list