orangepi-xunlong / linux-orangepi

Other
176 stars 157 forks source link

camera /dev/video* <- not found #37

Open youngjae41 opened 1 year ago

youngjae41 commented 1 year ago

model : Orangepi 5B OS: ubuntu 20.04 focal

camera: OV13850 and 13855

Hello

When the camera is operated using test_camera.sh, it works normally

I tried entering all videos 1 to 20 using ffplay /dev/video, but it says no device connected. Can you tell me why?

Siroeshka commented 11 months ago

Hello, i have the same problem. How can i get a frame from OV13850 using c/c++ ? Is there any example? OpenCV lib cannot open device because it is not connected.

youngjae41 commented 11 months ago

@Siroeshka I found a way. Reboot the orangepi after connecting the cable and enabling the port in orangepi-config and it should work.

Siroeshka commented 11 months ago

@youngjae41, thank you for reply. unfortunatly this did not helped me. I found code in test_camera.sh and saw that video11 is used with gst-launch. and it works fine. But OpenCV and ffplay cant view stream. ffplay says there is no device and failed to load rockchip driver. OpenCV frezzez and do nothing.

I am going to write some code in c++ using gst-launch. Maybe this will help me

youngjae41 commented 11 months ago

@Siroeshka I'm glad it works. When I tested this camera, it only output about 18 fps. So I gave up on using it lol

borisgribkov commented 8 months ago

Used test_camera.sh, OpenCV with GStreamer, in all cases frame rate is about 7-8fps even for low resolutions like 320x200. Does anyone have any ideas how to improve? Thanks!