hbiyik/FFmpeg

RTSP streaming playback, the playback screen will repeatedly skip horizontally between normal and blurred screens

1qingfeng-1 opened this issue · 0 comments

Device: range pi5
Kernel: 5.10.160 legacy rk35xx
Rootfs: Armbian 23.8.3 bookworm

Refer to the wiki tutorial, but libyuv compiles ffmpeg using libyuv-dev.

My program uses the ffmpeg API, OpenCV API, pulls RTSP streams, and AVFrame is converted to cv:: Mat for display using cv:: imshow(). After about half a minute of normal display, the screen begins to blur, and the terminal prompts an error: [rtsp @ xxxxx] RTP: PT=60: bad cseq xxxx.

Supplement: If I compile the official ffmpeg repository, the above issue will not occur, but I need the hardware decoding capability of RK35xx. There is no problem with the RTSP stream. I played it using the VLC player and everything was fine.

Need help: Can you give me some advice on how to fix the splash screen issue