first merge with ffmpeg