Thanks for the response.

On Wed, 2024-05-29 at 12:19 +0800, Zhao Zhili wrote:
> > 在 2024年5月29日,上午5:56,Dmitrii Okunev <xaion...@gmail.com> 写道:
> > 
> > MediaCodec supports parameter "video-bitrate" to change the bitrate
> > on fly. This commit adds capability to use it.
> > 
> > It adds option -bitrate_ctrl_socket to the encoder which makes
> > the encoder to create an UNIX socket and listen for messages
> > to change the bitrate.
> 
> Thank you for your contribution. However, libavcodec as a library has a clear 
> define of margin, IO such as socket cannot be put into libavcodec. 
> Reconfigure bitrate should be done via libavcodec API.

This was the last resort, I tried to find another solution before posting this 
patch.
But of course I'll gladly adapt the solution: could you give examples/pointers 
on how to change values via libavcodec API on fly in ffmpeg?

Best regards, Dmitrii.

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to