2024-01-19, 05:16 PM
90% certain the MKV file was not properly authored. Usually bad packet timestamps. You can use ffmpeg to regenerating the packet timestamps without having to reencode.
This is how you would do it in Linux. You can probably do something similar with the Windows command prompt.
This is how you would do it in Linux. You can probably do something similar with the Windows command prompt.
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags genpts -i "/path/to/your/video.mkv" -map 0:v -map 0:a -map 0:s -map_chapters 0 -c:v copy -c:a copy -c:s copy outputFile.mkv