On Raspbery Pi's Raspbian (based on Debian Wheezy) I'm trying to make a simplest video grab from a Logitech C910 webcam to a video file via ffmpeg/avconv.
$ avconv -t 5 -f video4linux2 -s 320x240 -r 30 -i /dev/video0 -vcodec mpeg1video out.avi
avconv version 0.8.6-6:0.8.6-1+rpi1, Copyright (c) 2000-2013 the Libav developers built on Mar 31 2013 13:58:10 with gcc 4.6.3 [video4linux2 @ 0x1371840] Cannot find a proper format for codec_id 0, pix_fmt -1. /dev/video0: Input/output error
Line video4linux2 suggests, that the problem is with input codec, not output?
May be I haven't installed some package?
What's wrong? Seems, that solution should be very simple. Thanks.