View previous topic :: View next topic |
Author |
Message |
nando n00b
Joined: 20 Jul 2005 Posts: 7
|
Posted: Tue Jun 03, 2008 2:25 am Post subject: Can't create video with sound using webcam Quickcam Pro 5000 |
|
|
I've been trying for some time to create a video with sound using my quickcam pro 5000. I've been trying to use mencoder, but only because I've had the most success with it so far.
Generating the video file has been pretty easy:
Code: | mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:outfmt=rgb24:fps=15 -nosound -ovc lavc -o grab.avi |
But I believe the key piece here is the -nosound option. If mencoder tries to figure sound out, it exits:
Code: | mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:outfmt=rgb24:fps=15:adevice=/dev/dsp2 -oac mp3lame -lameopts cbr:br=64:mode=3 -ovc lavc -o grab.avi
MEncoder dev-SVN-r26753-4.1.1 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 4, Stepping: 1)
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags: Type: 15 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: ioctl query capabilities failed: Unknown error 515
v4l2: ioctl set mute failed: Unknown error 515
v4l2: 0 frames successfully processed, 0 frames dropped.
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.
Exiting...
|
My capture devices look like this:
Code: | **** List of CAPTURE Hardware Devices ****
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 1: Intel ICH - MIC ADC [Intel ICH5 - MIC ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 2: Intel ICH - MIC2 ADC [Intel ICH5 - MIC2 ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 3: Intel ICH - ADC2 [Intel ICH5 - ADC2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Camera [Camera], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: U0x46d0x8ce [USB Device 0x46d:0x8ce], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
|
and I'm able to pull sound out of the built in microphone and generate a wav file:
Code: | arecord -D plughw:1,0 -f cd -t wav set1.wav |
so I know the microphone is working. I just can't seem to get it working with mencoder.
Anybody got this working and care to point me in the right direction? |
|
Back to top |
|
|
]Trix[ Apprentice
Joined: 27 Feb 2003 Posts: 184
|
Posted: Tue Sep 02, 2008 10:05 am Post subject: |
|
|
I have the same problem with Quickcam Pro 9000 webcam.... did you find the solution yet? _________________ Frank Zappa: "A mind is like a parachute. It doesn't work if it's not open." |
|
Back to top |
|
|
nando n00b
Joined: 20 Jul 2005 Posts: 7
|
Posted: Fri Sep 26, 2008 5:16 pm Post subject: |
|
|
I haven't found a solution yet. I spend a chunk of time every month or so on google trying to find an answer, but nothing yet. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|