Hi Moritz,

I have given below the output in plain text.  I also tried adding a USB 
external microphone which is working great in multiple apple apps but ffmpeg 
does not seem to recognize and the output is  the same as shown below. I also 
wonder if my command is correct, as in Linix/Windows the command line to record 
from webcam explicitly includes Audio and Video streams inputs  but in OSX the 
command I am using does not seem to include audio input explicitly. 

Example: In Windows you  explicitly identify video and audio inputs as shown 
below and this world great.
 >ffmpeg –f dshow –i video=”USB2.0 Camera”:audio=”Microphone (Realtek High 
 >Definition Audio)” out.mp4 (Windows command line)

How to do the same in OSX?

Output in OSX listing the AV devices identified
====================================

$ ffmpeg -f avfoundation -list_devices true -i ""
ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep  5 2014 18:11:41 with Apple LLVM version 5.1 (clang-503.0.40) 
(based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.3 --enable-shared 
--enable-pthreads --enable-gpl --enable-version3 --enable-nonfree 
--enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang 
--host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac 
--enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass 
--enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac 
--enable-libopus --enable-frei0r --enable-libopenjpeg 
--disable-decoder=jpeg2000 
--extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
  libavutil      52. 92.100 / 52. 92.100
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.100 / 55. 48.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.100 /  4. 11.100
  libavresample   1.  3.  0 /  1.  3.  0
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
[AVFoundation input device @ 0x7fa011414ae0] AVFoundation video devices:
[AVFoundation input device @ 0x7fa011414ae0] [0] FaceTime HD Camera
: Input/output error

Thanks
Jay

On Sep 7, 2014, at 6:05 AM, Moritz Barsnick <barsn...@gmx.net> wrote:

> On Sat, Sep 06, 2014 at 11:25:42 -0400, Jay Muthialu wrote:
> 
>> As you can see from the output it lists the FaceTime HD Camera as
>> device ID "0". But it does not show the inbuilt microphone.
> 
> We can't see any output.
> https://ffmpeg.org/pipermail/ffmpeg-user/2014-September/023302.html
> 
> If you did include output originally: Please re-send your e-mail in
> plain text.
> 
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


On Sep 6, 2014, at 11:25 AM, Jay Muthialu <jay.muthi...@gmail.com> wrote:

> Hello,
> 
> I could record video using  Macbook Air in built camera "FaceTime HD Camera" 
> but it does not record audio stream. I am working in OSX 10.8 version 
> (Mountain Lion).
> 
> Command I used to list the available devices
> 
> $ ffmpeg -f avfoundation -list_devices true -i ""
> 
> As you can see from the output it lists the FaceTime HD Camera as device ID 
> "0". But it does not show the inbuilt microphone.
> 
> 
> 
> 
> Command I used to record from FaceTime camera
> 
> $ ffmpeg -f avfoundation -r 29.97 -i "0" -y out.mov
> 
> However it only records the video stream and does not record audio output. I 
> believe the reason is the above command does not include the input for audio 
> stream. Can anyone advise me on how to record audio and video from inbuilt 
> FaceTime HD Camera and inbuilt microphone in OSX?
> 
> Thanks
> Jay
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to