nyanmisaka / ffmpeg-rockchip

FFmpeg with async and zero-copy Rockchip MPP & RGA support
Other
480 stars 69 forks source link

关于推流的码率设置 #89

Closed ZH-1225 closed 2 months ago

ZH-1225 commented 2 months ago

hevc_rkmpp编码器是不是不支持自动调节bitrate,必须给-b:v一个初始值

nyanmisaka commented 2 months ago

Use CQP rate control if you want to fix the quality factor instead of the bitrate.

https://github.com/nyanmisaka/ffmpeg-rockchip/wiki/Encoder#test-encoders

ZH-1225 commented 2 months ago

Use CQP rate control if you want to fix the quality factor instead of the bitrate.

https://github.com/nyanmisaka/ffmpeg-rockchip/wiki/Encoder#test-encoders

我如果想实现利用h265参数设置-qp_init 0 之后还能再设置-maxrate吗

nyanmisaka commented 2 months ago

From what I can tell, it's not supported. For more info you can ask in rockchip-linux/mpp.

ZH-1225 commented 2 months ago

感谢,请问一下我现在想保持画质最高用hevc_rkmpp推流h265,然后可变码率,大概的参数应该设置成什么样子,感谢

ZH-1225 commented 2 months ago

From what I can tell, it's not supported. For more info you can ask in rockchip-linux/mpp.

请问一下我用hevc_rkmpp推流的时候怎么可以减少马赛克 Could you tell me how I can reduce the Mosaic when I push the stream with hevc_rkmpp

nyanmisaka commented 2 months ago

Macroblocking is usually caused by insufficient bitrate in the encoder. Increase the bitrate or decrease the QP value.