Re: [FFmpeg-user] How to record audio and video from FaceTime HD Camera in OSX

2014-09-22 Thread Jay Muthialu
Hi Roger,

Thanks for your response. I tried to use it as input but still I could not get 
it to work. Please see below:

Test#1- In this I used -i 0 and the terminal got frozen after I ran the 
command. I had to force quit the terminal. However the FaceTime camera light 
was on when I ran the command but  nothing was captured. Command and the output 
is given below.

$ ffmpeg -f avfoundation -i 0 -r 29.97 -y out.mov

ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 17 2014 18:11:13 with Apple LLVM version 5.1 (clang-503.0.40) 
(based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/ffmpegavpatch 
--extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib 
--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  54.  7.100 / 54.  7.100
  libavcodec 56.  1.100 / 56.  1.100
  libavformat56.  4.102 / 56.  4.102
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  1.101 /  5.  1.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100

(Terminal was frozen and no output messages seen in the terminal)


Test#2 In this I tried to specify audio and video inputs separately as I do in 
Windows but I got the error message below.

$ ffmpeg -f avfoundation -i video=FaceTime HD Camera:audio=Built-in 
Microphone -r 29.97 -y out.mov

  configuration: --prefix=/usr/local/ffmpegavpatch 
--extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib 
--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  54.  7.100 / 54.  7.100
  libavcodec 56.  1.100 / 56.  1.100
  libavformat56.  4.102 / 56.  4.102
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  1.101 /  5.  1.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100
[AVFoundation input device @ 0x7fc133c15700] Video device not found
video=FaceTime HD Camera:audio=Built-in Microphone: Input/output error

I also tried $ffmpeg -f avfoundation -i video=FaceTime HD Camera -i 
audio=Built-in Microphone -r 29.97 -y out.mov and I got the same error 
message as above.



Warm Regards
Jay


On Sep 19, 2014, at 9:11 AM, Roger Pack rogerdpa...@gmail.com wrote:

 On Wed, Sep 17, 2014 at 4:43 PM, Jay Muthialu 
 jmuthialu-at-yahoo@ffmpeg.org wrote:
 
 Hi Moritz,
 
 Thanks for the information. I finally applied the patches. Although I
 could not apply through git because the latest ffmpeg version I downloaded
 did not seem to match with the patches in the email and it failed. So I had
 to manually sync the patch file to the source file and I complied
 sucessfully. The patched version works for all basics scenarios  but did
 not fix the underlying issue. It now shows the inbuilt microphone which is
 an improvement, but the microphone is showing as error.
 
 $ ffmpeg -f avfoundation -list_devices true -i 
 
 Output:
 libavutil  54.  7.100 / 54.  7.100
  libavcodec 56.  1.100 / 56.  1.100
  libavformat56.  4.102 / 56.  4.102
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  1.101 /  5.  1.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100
 [AVFoundation input device @ 0x7ff6c0c14de0] AVFoundation video devices:
 [AVFoundation input device @ 0x7ff6c0c14de0] [0] FaceTime HD Camera
 [AVFoundation input device @ 0x7ff6c0c14de0] AVFoundation audio devices:
 [AVFoundation input device @ 0x7ff6c0c14de0] [0] Built-in Microphone
 : Input/output error
 
 Can you or anyone help me

Re: [FFmpeg-user] How to record audio and video from FaceTime HD Camera in OSX

2014-09-22 Thread Jay Muthialu
Hi Roger,

 I will try the git master and update the thread. I also think there is 
something wrong in my command in OSX. When I run the below, it seems to 
recognize video device name as FaceTime HD Camera:audio=Built-in Microphone 
 which is not correct and hence it could not find the video device. What is the 
command I need to use to specifically identify audio and video streams. In 
windows it is very clear and it works good with this command ( ffmpeg –f dshow 
–i video=”USB2.0 Camera”:audio=”Microphone (Realtek High Definition Audio)”  
-pix_fmt yuv420p out.mp4). How to do the same in OSX?

Command I used in OSX
$ ffmpeg -f avfoundation -i video=FaceTime HD Camera:audio=Built-in 
Microphone -r 29.97 -y out.mov
Output
 [AVFoundation input device @ 0x7fc133c15700] Video device not found
 video=FaceTime HD Camera:audio=Built-in Microphone: Input/output error


Thanks
Jay
On Sep 22, 2014, at 10:30 AM, Roger Pack rogerdpa...@gmail.com wrote:

 Could you try with git master [the patches were applied it seems, this
 weekend]?
 Also possibly run ffmpeg_g in gdb and see where it is hung?
 Cheers!
 
 On Mon, Sep 22, 2014 at 8:20 AM, Jay Muthialu 
 jmuthialu-at-yahoo@ffmpeg.org wrote:
 
 Hi Roger,
 
 Thanks for your response. I tried to use it as input but still I could not
 get it to work. Please see below:
 
 Test#1- In this I used -i 0 and the terminal got frozen after I ran the
 command. I had to force quit the terminal. However the FaceTime camera
 light was on when I ran the command but  nothing was captured. Command and
 the output is given below.
 
 $ ffmpeg -f avfoundation -i 0 -r 29.97 -y out.mov
 
 ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 17 2014 18:11:13 with Apple LLVM version 5.1
 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/ffmpegavpatch
 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
 --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  54.  7.100 / 54.  7.100
  libavcodec 56.  1.100 / 56.  1.100
  libavformat56.  4.102 / 56.  4.102
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  1.101 /  5.  1.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100
 
 (Terminal was frozen and no output messages seen in the terminal)
 
 
 Test#2 In this I tried to specify audio and video inputs separately as I
 do in Windows but I got the error message below.
 
 $ ffmpeg -f avfoundation -i video=FaceTime HD Camera:audio=Built-in
 Microphone -r 29.97 -y out.mov
 
  configuration: --prefix=/usr/local/ffmpegavpatch
 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
 --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  54.  7.100 / 54.  7.100
  libavcodec 56.  1.100 / 56.  1.100
  libavformat56.  4.102 / 56.  4.102
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  1.101 /  5.  1.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100
 [AVFoundation input device @ 0x7fc133c15700] Video device not found
 video=FaceTime HD Camera:audio=Built-in Microphone: Input/output error
 
 I also tried $ffmpeg -f avfoundation -i video=FaceTime HD Camera -i
 audio=Built-in Microphone -r 29.97 -y out.mov and I got the same error
 message as above.
 
 
 
 Warm Regards
 Jay
 
 
 On Sep 19, 2014, at 9:11 AM, Roger Pack rogerdpa...@gmail.com wrote:
 
 On Wed, Sep 17, 2014 at 4:43 PM, Jay Muthialu 
 jmuthialu-at-yahoo@ffmpeg.org wrote:
 
 Hi Moritz,
 
 Thanks for the information. I

Re: [FFmpeg-user] How to record audio and video from FaceTime HD Camera in OSX

2014-09-17 Thread Jay Muthialu
Hi Moritz,

Thanks for the information. I finally applied the patches. Although I could not 
apply through git because the latest ffmpeg version I downloaded did not seem 
to match with the patches in the email and it failed. So I had to manually sync 
the patch file to the source file and I complied sucessfully. The patched 
version works for all basics scenarios  but did not fix the underlying issue. 
It now shows the inbuilt microphone which is an improvement, but the microphone 
is showing as error. 

$ ffmpeg -f avfoundation -list_devices true -i 

Output:
libavutil  54.  7.100 / 54.  7.100
  libavcodec 56.  1.100 / 56.  1.100
  libavformat56.  4.102 / 56.  4.102
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  1.101 /  5.  1.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100
[AVFoundation input device @ 0x7ff6c0c14de0] AVFoundation video devices:
[AVFoundation input device @ 0x7ff6c0c14de0] [0] FaceTime HD Camera
[AVFoundation input device @ 0x7ff6c0c14de0] AVFoundation audio devices:
[AVFoundation input device @ 0x7ff6c0c14de0] [0] Built-in Microphone
: Input/output error

Can you or anyone help me on this? Please note that I have applied all the 5 
patches in the thread given below.

https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2014-April/156866.html

These patches only modified one file avfoundation.m. I have attached the 
patched avfoundation.m for reference purpose.



avfoundation.m
Description: Binary data


Warm Regards
Jay

On Sep 8, 2014, at 3:52 AM, Moritz Barsnick barsn...@gmx.net wrote:

 Hi Jay,
 [oops, sent too early]
 
 On Sun, Sep 07, 2014 at 12:01:25 -0400, Jay Muthialu wrote:
 
 I went through all the patches specified in the link but I am not
 sure how to apply the patches. Could you please guide me on how to
 apply the patches and also what would be command I would have to use
 to take audio input ? Please note that I originally installed ffmpeg
 using Homebrew.
 
 You would need to compile yourself. Instructions are here:
 
 https://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX
 
 I don't know how Homebrew works. To apply the patches, you would need
 to grab the patch files from the emails, i.e. sections like this:
 
 diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
 index 3622be0..2ac1b3c 100644
 --- a/libavdevice/avfoundation.m
 +++ b/libavdevice/avfoundation.m
 at  at  -191,7 +191,7  at  at  static int
 avf_read_header(AVFormatContext *s)
 goto fail;
 }
 } else {
 -video_device = [AVCaptureDevice
 - defaultDeviceWithMediaType:AVMediaTypeMuxed];
 +video_device = [AVCaptureDevice
 - defaultDeviceWithMediaType:AVMediaTypeVideo];
 }
 
 // Video capture device not found, looking for AVMediaTypeVideo
 -- 
 1.8.3.2
 
 (I don't know where to get the proper ASCII versions of these patches)
 and apply each of them with
 patch -p1 -i patchfilename
 
 before the configure of make stage. As said, I have no idea how to
 interrupt homebrew stages.
 
 Moritz
 ___
 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


Re: [FFmpeg-user] Blackmagic Intensity Pro - how to capture video with audio?

2014-09-10 Thread Jay Muthialu
Hi Damien

I am planning to buy either Blackmagic Intensity Pro card or Intensity Shuttle 
usb3.0 for my testing. Would you mind sharing your hardware spec and Windows 
version which is working for your Intensity Pro card? Also do you have any 
inputs if Intensity shuttle will work in Windows 8 on a regular laptop. My 
objective is to do experimental testing and I am not planning to use to capture 
videos for more than 5 to10, minutes so I think I might not need heavy specs as 
typically expected in Blackmagic design products. Any thoughts would be welcome.

Regards
Jay

On Sep 10, 2014, at 8:51 AM, Damian Głodny dam...@artnmedia.pl wrote:

 Hi, I found solution for my problem. I made a fresh install of Blackmagic 
 drivers and got Decklink Video and Audio Capture on DirectShow devices list. 
 Now everything work as it should. 
 
 
 -Original Message-
 From: ffmpeg-user-boun...@ffmpeg.org [mailto:ffmpeg-user-boun...@ffmpeg.org] 
 On Behalf Of Roger Pack
 Sent: Wednesday, September 10, 2014 2:27 PM
 To: FFmpeg user questions
 Subject: Re: [FFmpeg-user] Blackmagic Intensity Pro - how to capture video 
 with audio?
 
 does it use a crossbar interface do you know?
 there are some patches on ffmpeg-devel list [uncommitted as of yet, sorry!] 
 that might help...
 
 On Mon, Sep 8, 2014 at 6:12 AM, Damian Głodny dam...@artnmedia.pl wrote:
 
 Hello, I have Blackmagic Intensity Pro video card and I want to stream 
 video from that card to multicast using ffmpeg. But my problem is that 
 I can get only video from that card, no audio.
 
 Ok, time for some commands.
 
 
 
 List of my dshow devices:
 
 -=-=-=-=-=-=-
 
 ffmpeg -list_devices true -f dshow -i dummy
 
 
 
 [dshow @ 04437720] DirectShow video devices
 
 [dshow @ 04437720]  Blackmagic WDM Capture - it is 
 Intensity Pro card
 
 [dshow @ 04437720] DirectShow audio devices
 
 -=-=-=-=-=-=-
 
 
 
 As you can see Intensity Pro does not provide a separate DirectShow 
 audio device.
 
 
 
 
 
 Blackmagic WDM Capture options:
 
 
 
 -=-=-=-=-=-=-
 
 ffmpeg -f dshow -list_options true -i video=Blackmagic WDM Capture
 
 
 
 [dshow @ 043e7720] DirectShow video device options
 
 [dshow @ 043e7720]  Pin Video Capture
 
 [dshow @ 043e7720]   pixel_format=uyvy422  min s=1280x720 fps=50
 max
 s=1280x720 fps=50
 
 [dshow @ 043e7720]  Pin Audio Capture
 
 -=-=-=-=-=-=-
 
 
 
 As you can see THERE IS a pin called Audio Capture.  But how I can 
 use it?
 
 
 
 
 
 So here is my question: how I can map that Audio Capture pin as a 
 ffmpeg audio input?
 
 
 
 I tried following commands (ffplay):
 
 ffplay -f dshow -i video=Blackmagic WDM Capture - I can see only 
 video, no sound
 
 ffplay -f dshow -i video=Blackmagic WDM Capture:audio=Blackmagic 
 WDM Capture - error: [dshow @ 02a8f480] Could not find audio 
 device.
 
 
 
 Is it possible or Intensity Pro is not compatible with ffmpeg?
 
 
 
 
 
 
 
 
 
 ---
 
 Cheers!
 
 
 
 ___
 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
 
 ___
 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


Re: [FFmpeg-user] How to record audio and video from FaceTime HD Camera in OSX

2014-09-07 Thread Jay Muthialu
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
  libavformat55. 48.100 / 55. 48.100
  libavdevice55. 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
  libpostproc52.  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


Re: [FFmpeg-user] How to record audio and video from FaceTime HD Camera in OSX

2014-09-07 Thread Jay Muthialu
Hi Moritz,

Thanks for the great input. I went through all the patches specified in the 
link but I am not sure how to apply the patches. Could you please guide me on 
how to apply the patches and also what would be command I would have to use to 
take audio input ? Please note that I originally installed ffmpeg using 
Homebrew.
 
Thanks
Jay

On Sep 7, 2014, at 8:25 AM, Moritz Barsnick barsn...@gmx.net wrote:

 On Sun, Sep 07, 2014 at 07:37:56 -0400, Jay Muthialu wrote:
 Output in OSX listing the AV devices identified
 
 Ah. Back in June, ffmpeg's avfoundation didn't support audio yet, and I
 think that hasn't changed:
 
 https://ffmpeg.org/pipermail/ffmpeg-user/2014-June/021768.html
 
 I think these are the experimental patches being referred to (see the
 whole thread for all five patches):
 
 https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2014-April/156865.html
 
 Good luck, and do report your results if you happen to test them.
 
 Moritz, no Mac OS myself.
 ___
 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


[FFmpeg-user] How to record audio and video from FaceTime HD Camera in OSX

2014-09-06 Thread Jay Muthialu
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