" mplayer -tv device=/dev/video0 tv:// -dumpfile file2300.avi " not working :(
Hello,
Mencoder has not a support for my webcam. However " Quote:
So option dumpfile in man page is there to help us !! But well the command Quote:
Has someone any ideas how to force mplayer to dump file -tv flow data to file? |
Use Mencoder to capture from tv. Mplayer dumpstream won't give you sound.
|
Quote:
Code:
~$ mencoder -tv device=/dev/video0 tv:// -o webcam.avi |
I was able to capture video from my webcam using the command string:
mencoder -tv device=/dev/video0 tv:// -ovc lavc -o filename.avi I'm still working on trying to get the audio to work. Greg Ubuntu 10.04 VF0415 Live! Cam Vid. IM Ultra MEncoder SVN-r1.0~rc3+svn20090426-4.4.3 |
Have you tried the adevice switch?
mencoder -tv device=/dev/video0:adevice=/dev/dsp tv:// -ovc lavc -o filename.avi adevice is the audio capture/playing device and where you have the microphone connected. If you have more than one audio capture device, you need to experiment with /dev/dsp2. /dev/dsp3, ...etc. Note: Some sound cards have more than one audio output, you may need to add the audioid=<value> switch. an example mencoder -tv device=/dev/video0:adevice=/dev/dsp:audioid=0 tv:// -ovc lavc -o filename.avi If 0 doesn't work try 1,2 ...etc. Also, have you checked your mixer settings? Check if the microphone is checked (i.e for capture ) Hope this helps. |
When you check your mixer, see if there is another tab. This tab could be for the microphone that's on the webcam.
For example, I have a USB microphone. When I open kmix, a miver program for KDE, I have three tabs, one tab is my soundcard, the other is for the tv tuner card and the third one is for the USB mic. When I record from the USB mic, I use /dev/dsp2 as the recording source. (eg third tab) Note: Audio capture devices are counted starting at 0 - Cheers |
All times are GMT -5. The time now is 05:13 AM. |