[FFmpeg-user] Repair/Fix an mpeg4 bitstream

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Nov 26 23:45:33 EET 2020


Am Do., 26. Nov. 2020 um 08:58 Uhr schrieb Mathieu Malaterre
<mathieu.malaterre at gmail.com>:

> I am trying to repair an mpeg4 (mastroka container with mpeg4+mp3)
> movie. The movie runs smoothly when played with mpv, but appears to
> have a different frame rate when played with ffplay.
>
> Is there a magical option to fix/repair this file ? If not how do I
> re-encode it as-close as possible to the original one ?
>
> Typical output:
>
> $ ffmpeg -y -hide_banner -i input.mkv -c copy output.mkv

When asking for help here, never use -hide_banner unless
you want to report an issue with that option.

Please test current FFmpeg git head, if the issue is reproducible,
feel free to provide a sample file.

Since the file was apparently created with FFmpeg, the more
interesting issue is: How was the input file created?

Carl Eugen


More information about the ffmpeg-user mailing list