02-24-2020, 04:23 PM
For some reason I had a disabled link into the back camera in V4L2 and mpv wouldn't run, saying:
Looking at the output from `media-ctl -d /dev/media1 -p` it had a link enabled to the front camera instead.
After deciphering the media-ctl help I was able to enable the correct link via this:
Then mpv finally showed the camera feed! ... and crashed immediately on failed memory allocation.
Anyway, using mplayer is also possible and the video was nice and fluent:
Code:
[ffmpeg/demuxer] video4linux2,v4l2: ioctl(VIDIOC_STREAMON): Link has been severed
After deciphering the media-ctl help I was able to enable the correct link via this:
Code:
media-ctl -d /dev/media1 -l '"ov5640 3-004c":0->"sun6i-csi":0[1]'
Anyway, using mplayer is also possible and the video was nice and fluent:
Code:
mplayer tv:// -tv driver=v4l2:width=1280:height=720:device=/dev/video2 -fps 30