Live Camera View
#3
For some reason I had a disabled link into the back camera in V4L2 and mpv wouldn't run, saying:
Code:
[ffmpeg/demuxer] video4linux2,v4l2: ioctl(VIDIOC_STREAMON): Link has been severed
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:

Code:
media-ctl -d /dev/media1 -l '"ov5640 3-004c":0->"sun6i-csi":0[1]'
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:
mplayer tv:// -tv driver=v4l2:width=1280:height=720:device=/dev/video2 -fps 30


Messages In This Thread
Live Camera View - by mpnordland - 02-23-2020, 09:47 PM
RE: Live Camera View - by dukla2000 - 02-24-2020, 04:22 AM
RE: Live Camera View - by dejvino - 02-24-2020, 04:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  What Is This World We Live In? _radv_ 5 2,264 02-22-2024, 06:52 AM
Last Post: aular
  reset button under back cover, below the camera mruser1 2 1,498 01-02-2023, 08:07 AM
Last Post: wibble
  To live and die on LTE (with a Pinephone) robthebold 2 2,138 07-08-2022, 11:57 AM
Last Post: robthebold
  PinephonePro camera calibration conundrum orbital 0 1,036 07-06-2022, 09:09 AM
Last Post: orbital
  Camera on manjaro arm transfer76 7 6,161 03-18-2022, 10:11 PM
Last Post: Ant
  Problems with Pinephone camera ov5640 wfk 0 1,603 06-29-2021, 01:53 AM
Last Post: wfk
  fix camera, mobian rvh 3 3,687 03-20-2021, 03:51 PM
Last Post: rvh
Bug Camera doesn't work. SD-Card isn't mounted automatically pavel-hh 1 2,749 07-22-2020, 04:34 PM
Last Post: pavel-hh
  CAMERA WORKS!!! BlueDeer 7 9,474 07-22-2020, 11:27 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 5 Guest(s)