
dev/video1: could not find codec parametersĪgain after some searching and several tries I added '-video_size cif` option and. Could not find codec parameters for stream 0 (Video: yuv4, yuv420p, -4 kb/s): unspecified sizeĬonsider increasing the value for the 'analyzeduration' and 'probesize' options The result was only slightly better than one that I saw after my first attempt: Picture size 0x0 is invalid I thought that was enough information ( rawvideo and yuv420p) led to run ffmpeg with following arguments (I have found yuv4 using ffmpeg -formats)įfmpeg -f rawvideo -vcodec yuv4 -i /dev/video1 test.avi I tried ffmpeg -i vlc-record.avi on VLC recording which returned following information: Input #0, avi, from 'vlc-record-05h22m52s-v4l2_dev_video1-.avi':ĭuration: 00:00:01.58, start: 0.000000, bitrate: 26937 kb/s

Unfortunately that was not of much help to me, but I tried capturing webcam output with VLC and recording it which. Here is what I get from v4l2-ctl -d /dev/video1/ -all -list-formats-ext Driver Info (not using libv4l2):

I've been trying to record video from an old external USB webcam (Media-Tech MT400 -> 0c45:6029) with ffmpeg but without much success.įirst thing I've tried was to run to try something that works for the built-in webcam):Ĭannot find a proper format for codec 'none' (id 0), pixel format 'none' (id -1) After couple of hours I'm finally ready to accept my absolute lack of knowledge in that topic and decided to post this question here.
