On Wednesday 27 August 2008 12:17:21 am Manne Merak wrote:
Sampsa Riikonen wrote:
Hi Manne & List..
stupid me.. I can also use mplayer to record my webcam (no need for mencoder).
So here it comes, the command for recording video from a usb 2.0 webcam (at least in the case of a hp pavilion tx1320 laptop with a sonix webcam):
mplayer tv:// -tv driver=v4l2:device=/dev/video0:fps=10 -vo yuv4mpeg:file=paska.mpeg
Thank you for directing me to the direction of mplayer (instead of mencoder) !
Sampsa
Glad it works. Just for interest sake, did you add the fps=10 to mencoder and it still didn't work?
Yes, mencoder continues to crash even with the fps=10 option. When I do ******** mplayer tv:// -tv driver=v4l2:device=/dev/video0:fps=10 -dumpstream -dumpfile test ******** as Charles suggested, I get the message (with a smiley?): ******** Playing tv://. Core dumped ;) ******** .. whatever that means. Should file a bugreport to the mencoder devs about that floating point exception..? Or maybe this is something mplayerwise "trivial" (you did not specify the option *godknowswhat* that you can easily find in the bottom of the 5000+ lines man page) ? Cheers, Sampsa -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org