There seems to be a bug in ffmpeg 3.3 when setting the video metadata: https://trac.ffmpeg.org/ticket/6370 Could you please compile newer binaries with the latest ffmpeg? I have tried it myself in the past, but have always encountered errors.