View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#42
Me again. I'm able to record a few seconds of less-than-stellar video from the built-in webcam with the following command:

Code:
mencoder -cache 256 tv:// -ovc lavc -lavcopts vcodec=wmv2:vbitrate=256 -of lavf -tv driver=v4l2:width=160:height=120 -vf scale=160:120 -fps 15 -nosound -o test.wmv
Those settings produce the longest, least ugly file. The problem is that when I start mencoder, it records a few seconds and then gets an error. The recording continues, but the output file is unusable after the error occured. I keep getting this error every second or three. Here's the error (the number in the square brackets is always different):

Code:
v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [319.0]
MP4 seems to die much more quickly than WMV.

Any ideas?

Last edited by qole; 2008-04-10 at 00:17.