Am I stupid . Thanks for that. BTW as you may probably saw, I wrote a code for bitrate calculation based on video resolution, framerate and quality, but left it commented, as there is no UI to control it and I am not much into GTK to implement one.