Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gaop921766 opened this issue Mar 26, 2024 · 2 comments

Comments

@gaop921766
Copy link

gaop921766 commented Mar 26, 2024

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

@jjm2473
Copy link
Owner

jjm2473 commented Apr 23, 2024

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

@gaop921766
Copy link
Author

收到,我试试,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants