ffmpeg: avoid apics for video output if possible