You can do it directly with FlaskMPEG during the encoding process, or with VirtualDub later on.
A tip: make sure you crop out all of the black borders. It's the hard transition between the motion picture and the border that consumes most of the bandwidth, not the mass area occupied by blackness.
Best regards,
Floyd