2024-02-27, 05:15 AM
If it is only happening on a few videos, and if these videos are in MKV containers, we can try repackaging the videos without reencoding them.
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags genpts -i "/path/to/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