avconv: call flush_encoders() from transcode() directly.