Erfan
Erfan

Reputation: 1304

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.

Upvotes: 3

Views: 2926

Answers (1)

Abdullah Al Mamun
Abdullah Al Mamun

Reputation: 66

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

Upvotes: 4

Related Questions