[MEncoder-users] Can not capture webcam

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Sep 10 21:03:33 CEST 2009


On Thu, Sep 10, 2009 at 08:47:25PM +0200, Florian Binder wrote:
> I can see the live video with the following command:
> mplayer -cache 128 -tv 
> driver=v4l2:width=640:height=480:outfmt=i420:device=/dev/video0 -fps 30 
> -vf mirror -vc rawyuy2 -vo xv tv://

-fps does something different from -tv fps=, and the former is almost
certainly not what you want.

> But if I try to capture it using this command:
> mencoder -cache 128 -tv 
> driver=v4l2:width=640:height=480:outfmt=i420:device=/dev/video0 -fps 30 
> -vf mirror -vc rawyuy2 tv:// -o test.avi

If the above works, this one should work, too. At least if it is the
same version of MPlayer.

> It does not work and I get the following output:
> MEncoder 2:1.0~rc2-0ubuntu19 (C) 2000-2007 MPlayer Team

> Do I have a buggy verion or what is the problem?

Given that you have a 2 year old version, yes, it is almost certainly
full of bugs front to end, including some I could imagine _might_
actually cause something like your problem. I can't know for sure of
course.


More information about the MEncoder-users mailing list