Closed Vittuu closed 1 month ago
This is not a fatal error, but only a message that your camera does not support hardware FPS settings.
But isn't there a way for me to achieve this video in 1920x1080p at an acceptable FPS? It only delivers an image at almost -1 FPS?
Low FPS is an unrelated issue with this message. Perhaps your camera is just giving out frames slowly, or there is some kind of network problem.
I have already tested the internet; I just don't understand why in MJPEG it is showing this error along with the low refresh rate. It doesn't allow me to increase the number of workers either, while in YUVY this doesn't happen, but I can't get good quality in YUVY, Is there any command for me to switch from HW to another type of render?
MJPEG is generated on the camera side by hardware. In this case, ustreamer simply transmits the data from it to you. The number of workers cannot be increased, because the workers simply have nothing to do: one worker transfers bytes from one buffer to another.
--format=YUYV can be used along with --encoder=CPU, and with this you can change workers and quality level.
The error you see about HW quality does not concern FPS (it was a typo). This means that for MJPEG you cannot change the compression quality because the hardware does not support it. For YUYV, this message is not displayed because the compression will be handled by the processor, where the quality can be adjusted.
You can try MJPEG and check http /status
handle to see how fast the image is being captured from the camera.
here is a reciver in /status:
{"ok": true, "result": { "instance_id": "", "encoder": {"type": "HW", "quality": 0}, "source": {"resolution": {"width": 1920, "height": 1080}, "online": true, "desired_fps": 0, "captured_fps": 2}, "stream": {"queued_fps": 2, "clients": 5, "clients_stat": {"f48cc4ccda100f2c": {"fps": 2, "extra_headers": false, "advance_headers": false, "dual_final_frames": false, "zero_data": false, "key": "0"}, "2f3c78c9d7c9d9f3": {"fps": 2, "extra_headers": false, "advance_headers": false, "dual_final_frames": false, "zero_data": false, "key": "0"}, "67203fdeb71a8e8": {"fps": 2, "extra_headers": false, "advance_headers": false, "dual_final_frames": false, "zero_data": false, "key": "0"}, "751a50d703148bb7": {"fps": 2, "extra_headers": false, "advance_headers": false, "dual_final_frames": false, "zero_data": false, "key": "0"}, "4c1ffee0e915b2fe": {"fps": 2, "extra_headers": false, "advance_headers": false, "dual_final_frames": false, "zero_data": false, "key": "0"}}}}}
what i can do with this?
"captured_fps": 2
So your camera generates a slow video stream for some reason. Did you try any other software? Because now this is looking as a device-side problem.
No, this was the first one I managed to get working on Linux. Is there any you recommend?
You can try mjpg-streamer or VLC
Answared I guess.
Hello, I have a problem with my Orange Pi Zero3 4GB and a camera called Studio P5. It works fine in YUYV mode, but I want to use the 1920x1080p resolution. However, I always get this error when trying to execute the following command:
orangepi@orangepi:~/ustreamer$ sudo ./ustreamer --device=/dev/video1 --host=0.0.0.0 --port=80 --resolution 1920x1080 -m mjpeg
this is my informations of de camera studio p5
But if i use de yuvy work correct:
this the formats my camera suports: