ffmpeg_opt: Use av_guess_codec() instead of AVOutputFormat->*codec