Hey all, 

I am working with ffmpeg and libvpx on c ++. I am trying to encode a video 
source by using variable bitrate control with bit_rate. The video exceeds the 
bit_rate every time. I am using a blackmagic intensity pro card to capture 
video from a hdmi camera. Here is how I am setting the ffmpeg parameters using 
an AvCodeContext * 
called destStreamCodecContext. I have also tried setting a max rate.


      destStreamCodecContext->bit_rate = bitrate 
       destStreamCodecContext->qcompress = 1;  //tells the encoder to use 
variable bitrate
       destStreamCodecContext->gop_size = 12;  
        destStreamCodecContext->rc_max_rate = bitrate;


Any help would be greatly appreciated 


Thanks , 
Louis Mendoza
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to