Re: [Libav-user] how to set max bit rate in c++

2012-11-22 Thread hatred
Hi Svetlana, Try this params: AVCodecContext::rc_min_rate - minimum bitrate AVCodecContext::rc_max_rate - maximum bitrate AVCodecContext::bit_rate - the average bitrate And see preset files for h264 encoding. 2012/11/23 Svetlana Olonetsky > Hi Everyone, > > I am trying to encode to h264 and ge

[Libav-user] how to set max bit rate in c++

2012-11-22 Thread Svetlana Olonetsky
Hi Everyone, I am trying to encode to h264 and getting very big files. I media info I can see that output file has following settings: Bit rate : 13382039 Bit rate : 13.4 Mbps Nominal bit rate : 200 Nomina