Improve out file name generation.
Fall back to single pass encodding if original bit rate of the video stream can't be determined.