You are not logged in.

#1 2011-05-02 01:58:37

tacostick
Member
Registered: 2010-07-20
Posts: 27

Logitech webcam works in everything but ffmpeg

It's a Logitech QuickCam Express

$ lsusb
...
Bus 005 Device 002: ID 046d:0870 Logitech, Inc. QuickCam Express
...

and it works fine in cheese and vlc, but with ffmpeg, I get:

$ ffmpeg -f video4linux2 -i /dev/video1 test.avi
...
[video4linux2 @ 0x96513a0] Cannot find a proper format for codec_id 0, pix_fmt -1.
/dev/video1: Input/output error

I've tried pretty much every permutation of ffmpeg options that I can think of, to no avail.
Clearly the webcam works, as I can see it in vlc/cheese just fine...any idea how I can get ffmpeg to play nice with it?

OR:
Is there a good command-line alternative to ffmpeg which can record both video and audio? Surprisingly, I haven't really found a CLI program that can simply capture from webcam+microphone and save to a file.

Thanks! And let me know if you need any more info/diagnostic output, etc.

Offline

Board footer

Powered by FluxBB