Hello everyone!
Another problem
I want to receive an RTSP stream on Radxa 3W x264 1920×1080@60 fps, which is generated by another radxa 3w. There is no problem with stream generation now, everything is received well on PC.
The characteristics of the Radxa 3W processor allow this (listed on the website):
- OpenGL® ES1.1 / 2.0 / 3.0 / 3.1 / 3.2
- Vulkan® 1.1, OpenCL™ 2.0
1x Micro HDMI support 1080P@60fps
H.264/H.265 decoder up to 4K@60fps
H.264/H.265 encoder up to 1080P@60fps
Problem description:
Trying to get a stream on Debian 11 (official from the site, updated via rserup):
Compiled ffmpeg according to different instructions
and used this one
https://docs.radxa.com/en/zero/zero3/app-development/rtsp
and used this one
Launch the client
ffmpeg-rockchip/ffplay -vcodec h264_rkmpp rtsp://192.168.10.24:8554/stream
or
ffplay -vcodec h264_rkmpp rtsp://192.168.10.24:8554/stream
As a result, we get a heavy load on the processor and terrible slowdowns in displaying pictures:
**Trying to get a stream on Android (**also from the official repository):
I use various RTSP clients, everywhere the picture is terribly slow.
Stopped at the open source project
Where in the debugger is there a gap that the hardware codec for some reason does not start:
2024-10-25 14:49:13.980 2191-2309 ACodec com.alexvas.rtsp.demo E decoder can not set low-latency to 1 (err -1010)
2024-10-25 14:49:13.980 2191-2309 ACodec com.alexvas.rtsp.demo E [OMX.rk.video_decoder.avc] configureCodec returning error -1010
2024-10-25 14:49:13.980 2191-2309 ACodec com.alexvas.rtsp.demo E signalError(omxError 0x80001001, internalError -1010) 2024-10-25 14:49:13.980 2191-2308 MediaCodec com.alexvas.rtsp.demo E Codec reported err 0xfffffc0e, actionCode 0, while in state 3
When tested on a mobile phone, this client works correctly, although it has approximately the same video card characteristics as Radxa 3w
Has anyone managed to receive such a stream with correct display without lags via HDMI 1920×1080@60 fps on Radxa 3W? @ChenJaly