ffmpeg: don't reconfigure terminal if we're not taking input from stdin