How to set frame encoding method as CABAC in ffmpeg

2.7k views Asked by At

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.

1

There are 1 answers

0
Abdullah Al Mamun On BEST ANSWER

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