I use ffmpeg codes in my C++ app and would like to control the bit_rate parameter for VIDEO there. I tried to change its value in work (via ost->st->codec->codec->bit_rate), but ffmpeg did not wish to change it. Perhaps anybody knows how to make it?
Any ideas?
I have tried like this and its working for me.