Adds options to video/audio codecs, adds stderr support