2

I am trying to record video + audio with ffmpeg of my defualt webcam.

This works with video:

ffmpeg -f vfwcap -r 25 -i 0  -ab 64 -ar 22050 -ac 1 output.avi 

but no sound is recorded. Is it possible to do that with Windows?

I have two web cams and a virtual screen sharing driver commncetd. Is it possible to specufy another input video? I tried changing -i {1..9} but this did not help.

migrated from stackoverflow.com Jun 10 '11 at 14:41

This question came from our site for professional and enthusiast programmers.

  • I've been looking for a similar project, but posts on their help forum indicate that Windows can't capture audio. However, many of these posts are old. It might be possible using OSS, but I'm not sure if OSS has been ported to Windows. – Opieus Jun 20 '11 at 17:36
  • What is OSS, Open Source Software? Could you be more specific with your answer? – slotishtype Jun 20 '11 at 18:42
  • Sorry, OSS in this context is Open Sound System. It's one of the input devices that ffmpeg supports. – Opieus Jun 21 '11 at 22:16
  • try it with the "dshow" input option – rogerdpack Nov 6 '13 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.