On Monday 01 August 2016 12:44:23 pm you wrote: > the avcodec_encode_video2 function failed (runtime error: > Integer division by zero) You will have to find out where exactly the crash happens. Your emails is unfortunately difficult to read, try text-only: http://ffmpeg.org/pipermail/libav-user/2016-August/009376.html Carl Eugen