02-15-2021, 10:47 AM
(This post was last modified: 02-15-2021, 12:11 PM by FrancisTheodoreCat.)
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:
I think the format needs to be YUV420 UYVY instead of UYVU8_2X8, like so:
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.
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.