quickcam pro 9000 recording audio+video

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

quickcam pro 9000 recording audio+video

Yannick Le Teigner-2
Hi,

I was able to record video from the quickcam 9000 with ffmpeg but I am unable to
record simultaneously audio with its microphone (ALSA's arecord works though).

I am using below command:
ffmpeg -ar 48000 -f oss -i /dev/dsp1 -f video4linux2 -s 320x240 -r 15 -i
/dev/video0 -vcodec mpeg4 -acodec libmp3lame output.avi

All that I get is a really distorted sound, and very low FPS (around 7).

When I use below command:
ffmpeg -isync -f oss -i /dev/dsp1 -f video4linux2 -s 320x240 -r 15 -i
/dev/video0 -acodec libmp3lame  -f m4v out.m4v

I get a very nice FPS (around 30), but no sound at all.


Anyone was able to get it to work?


Some outputs:
dump-mixers
/dev/mixer = VIA8237 (Realtek ALC655 rev 0)
  vol        ( 0) :  stereo  rec   74/74
  pcm        ( 4) :  stereo        74/74
  speaker    ( 5) :  mono          93
  line       ( 6) :  stereo  rec   90/90
  mic        ( 7) :  mono    rec*  0
  cd         ( 8) :  stereo  rec   90/90
  igain      (12) :  stereo        80/80
  line1      (14) :  stereo  rec   77/77
  dig1       (17) :  mono          100
  phin       (20) :  mono    rec   45
  phout      (21) :  mono    rec   74
  video      (22) :  mono    rec   100
/dev/mixer1 = USB-Audio (USB Mixer)
  mic        ( 7) :  mono    rec*  100

ffmpeg -formats | grep audio                                  
FFmpeg version SVN-r11890, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-libmp3lame
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Feb 10 2008 10:45:05, gcc: 4.1.2 (Gentoo 4.1.2)
 D  daud            D-Cinema audio format
  E mp2             MPEG audio layer 2
 DE mp3             MPEG audio layer 3
 DE oss             audio grab and output
 D  tta             true-audio
 D  wsaud           Westwood Studios audio format
 D A    dsicinaudio
 D A    vmdaudio


Thanks,
Yannick

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user