ffmpeg-rk icon indicating copy to clipboard operation
ffmpeg-rk copied to clipboard

直播画面有很大变化后(有人进入),画面就一直模糊(RK3588)

Open gaop921766 opened this issue 10 months ago • 2 comments

ffmpeg -timeout 10000000 -rtsp_transport tcp -loglevel debug -c:v h264_rkmpp -i rtsp://xxxx:[email protected]/h264/ch2/main/av_stream -vf fps=4,scale_rga=1280:720 -c:v h264_rkmpp -global_quality 23 -g 16 -rw_timeout 5000000 -f flv -an rtmp://127.0.0.1/cams/cam_live

ffmpeg拉流推流到rtmp server,看直播画面,有人进入摄像头画面后,画面就变模糊了 使用ffmpeg从ts文件取一帧画面,也报错 报错如下:Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scale_0' Error reinitializing filters! Failed to inject frame into filter network: Function not implemented Error while processing the decoded data for stream #0:0 Conversion failed! 是否是瑞芯微的librga的库问题,再RK3588,rga版本:rga_api version 1.9.2_[0],ubuntu22.02 desktop, linux 6.1

但是再RK3566的板子上,都是正常的. rga_api version 1.3.0_[0] ubuntu20.04, linux 4.19

gaop921766 avatar Mar 26 '24 03:03 gaop921766

rga只会在缩放时有效,你试试删掉缩放参数,也就是改成-vf fps=4,scale_rga,看看还有没有问题。

jjm2473 avatar Apr 23 '24 07:04 jjm2473

收到,我试试,谢谢!

gaop921766 avatar May 07 '24 03:05 gaop921766