2025-03-05, 04:42 PM
You can try remuxing the problem file. A poorly muxed file can cause the issue you are describing. Remuxing with the following ffmpeg command will recreate the container properly and does not involve any encoding.
Open an admin command prompt.
Then backup the original file and replace it with the new file.
Open an admin command prompt.
Code:
C:\Program Files\Jellyfin\ffmpeg.exe -fflags +genpts+igndts -i "C:\path\to\problem\video.mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv
Then backup the original file and replace it with the new file.