3

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.

Erfan
  • 1,284
  • 1
  • 13
  • 21

1 Answers1

4

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

Kaidul
  • 15,409
  • 15
  • 81
  • 150