hbiyik / FFmpeg

PLEASE USE https://github.com/nyanmisaka/ffmpeg-rockchip REPO INSTEAD.
https://github.com/nyanmisaka/ffmpeg-rockchip
Other
90 stars 7 forks source link

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

Closed 1qingfeng-1 closed 8 months ago

1qingfeng-1 commented 9 months ago

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