OV5640 camera module reg read error
#4
Interesting. The blank webpage is due to gstreamer not outputting a playlist.m3u8 file for the hls.js script to pull from.

The error you're getting from gstreamer is probably due to the cedar acceleration only being able to parse NV12 or NV16 color space information, which is YUV4:2:0 and YUV4:2:2 respectively (I think). I haven't been able to test that bit, due to the camera on my PineCube... not working.

The relevant part of the script to change is this line:
Quote:media-ctl --set-v4l2 '"ov5640 1-003c":0[fmt:UYVY8_2X8/1920x1080@1/15]'

I think the format needs to be YUV420 UYVY instead of UYVU8_2X8, like so:
Quote:media-ctl --set-v4l2 '"ov5640 1-003c":0[fmt:YUVY/1920x1080@1/15]'

I'll update my script to reflect that. Can you try it out?

edit:
If that doesn't work, the pixel format will probably have to be changed to YUV422(?), and the gstreamer input format to NV16.
  Reply


Messages In This Thread
RE: OV5640 camera module reg read error - by FrancisTheodoreCat - 02-15-2021, 10:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Do you sell a ready-made housing for the PineCube camera? Mikoduso 1 4,612 10-05-2022, 01:44 PM
Last Post: Mikoduso

Forum Jump:


Users browsing this thread: 1 Guest(s)