Re: [opensuse] v4l2 recording with mencoder, has anyone succeeded.. ever?
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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? Manne -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
Sampsa Riikonen wrote:
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
Ye, that manual is amazing. Any core dump is to be reported - even if you forget or use a option "wrongly" it should never just crash. Manne -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Il Tuesday 26 August 2008 23:17:21 Manne Merak ha scritto:
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?
Manne
this work better with my device streamer -t 0:00:03 -s 720x576 - pal -r 25 -o prova1.avi -f mjpeg -F mono8 bye -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
ivo.linux
-
Manne Merak
-
Sampsa Riikonen