Mayuresh <mayur...@acm.org> wrote: >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.
I'm going to commit some changes to video(4) soon that add support for the VIDIOC_G_PARM ioctl, as well as an update to the v4l2 package. Don't know if we will want to backport them to NetBSD-8.