2024-06-19, 06:17 PM
(2024-06-19, 05:26 PM)TheDreadPirate Wrote: I'm not sure how AviDemux works in the background, but one thing you can try is to repackage the file.
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
This will copy the video, audio, and subs unmodified and just regenerate the packet time stamps. Jellyfin, and a lot of the players Jellyfin uses, are not very tolerant of faults and out of spec files.
Thank you. I can take a crack at doing that, though I can't say I use ffmpeg command line much. Would re-multiplexing the file in MKVtoolnix achieve the same end? If so this workaround is probably a dead-end, but I'm willing to take a crack at it regardless.
New to media handling? Check out my guide: From Disc to Drive: A Beginner's Guide to Preparing Your Media for Jellyfin