NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Interfacing webcam with NetBSD



On Sun, Nov 11, 2018 at 12:46:19PM -0000, Michael van Elst wrote:
> Try mpv av://v4l2:/dev/video1
> 
> Depending on your system you may also want the option "-vo xv" (needs XVideo
> support) or just "-vo x11".

Get io error

$ mpv av://v4l2:/dev/video1
Playing: av://v4l2:/dev/video1
[ffmpeg/demuxer] video4linux2,v4l2: ioctl(VIDIOC_G_PARM): Invalid argument
[ffmpeg/demuxer] video4linux2,v4l2: Time per frame unknown
[ffmpeg/demuxer] video4linux2,v4l2: ioctl(VIDIOC_STREAMON): Input/output error
[lavf] avformat_open_input() failed
Failed to recognize file format.

Same with -vo. Also tried as root to avoid permission issue though I've
set them right.

Mayuresh


Home | Main Index | Thread Index | Old Index