Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set frame encoding method as CABAC in ffmpeg

I'm trying to encode video frames into H264 format using ffmpeg in C. While configuring the encoder properties I don't see how to set the frame encoding method as CABAC (lossless). Any idea?

Thanks in advance.

like image 384
Erfan Avatar asked Dec 01 '25 14:12

Erfan


1 Answers

Set the coder_type value of the encoder's context to FF_CODER_TYPE_AC.

like image 162
Abdullah Al Mamun Avatar answered Dec 05 '25 14:12

Abdullah Al Mamun



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!