Why don't you download other open source projects and get inspiration from them? MeGUI has a very complex bitrate calculator inside, and a pretty good one I might add, as it let's you specify how many audio tracks you want to add, what container the movie will be in and other things.
|