ffmpeg: pass output stream duration as a hint to the muxer