FFmpeg different functions between Windows and Linux

On a Windows machine with FFmpeg version:

ffmpeg version N-93532-g772c73e61f Copyright (c) 2000-2019 the FFmpeg developers

the conversion of the video missingKeyFrameProblem.mp4 works.

However, on a Linux machine with version

ffmpeg version 3.2.14-1~deb9u1 Copyright (c) 2000-2019 the FFmpeg developers

it fails:

ffmpeg -i missingKeyFrameProblem.mp4 output.mp4

On the Linux machine I get this error:

 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c2106c8c00] Missing key frame while reordering index according to edit list
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c2106c8c00] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x960, 1459 kb/s): unspecified pixel format
 Consider increasing the value for the 'analyzeduration' and 'probesize' options

How can I get the file converted on the Linux machine?


Consider: upgrading Linux ffmpeg to at least 3.3, and include option: -ignore_editlist 1

My results using your file:

(1) WSL (Windows Subsystem for Linux) Ubuntu:

ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers

ffmpeg -ignore_editlist 1 -i missingKeyFrameProblem.mp4 output1.mp4

(2) Raspbian Buster on Raspberry Pi 4:

ffmpeg version 4.1.4-1+rpt1~deb10u1 Copyright (c) 2000-2019 the FFmpeg developers

ffmpeg -ignore_editlist 1 -i missingKeyFrameProblem.mp4 output2.mp4

No errors reported on either system. The WSL machine is an i7 with 16 GB of RAM and successfully encoded at around 110 fps, the Raspberry Pi is a model 4 B with 4 GB of RAM and encoded at around 18 fps (!): files as here:

-rwxrwxrwx 1 root root  11M Sep  8 19:57 missingKeyFrameProblem.mp4
-rwxrwxrwx 1 root root 9.0M Sep  8 20:12 output1.mp4
-rwxrwxrwx 1 root root 9.0M Sep  8 20:02 output2.mp4

The movie is of a cinder-block wall with a wooden fence on top, it is 39 seconds long.