"Video deleted by youtube - failed to process"

Posted on 2016-03-22 in update

My original video with unity to ue4 converter demo got silently deleted by youtube, because "processing failed". That's after several people watched it. Thanks, youtube.

Moral of the story: Never upload avi to youtube. Remux to mp4.

Remuxing from avi to mp4 can be done using ffmpeg.

To remux avi to mp4, you can use following command:

ffmpeg.exe -fflags +genpts -i inputvideo.avi -acodec copy -vcodec copy outputvideo.mp4

inputvideo.avi and outputvideo.mp4 are input and output files. +genpts flag is necessary to generate frame durations for mp4 container.