Ffmpeg. Two passes