Jellyfin Forum
Movie with a massive audio delay - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Movie with a massive audio delay (/t-movie-with-a-massive-audio-delay)

Pages: 1 2 3


Movie with a massive audio delay - FatMax1492 - 2024-11-17

Hey all,

I have a movie that plays with a massive audio delay in Jellyfin. Here are its specifications: https://pastebin.com/i2ggUR4B

Basically, when two people are talking, the camera pans to the second person when the first person still has two lines to say.

This happens on all the four audio formats the movie has.


I can play the movie fine on a different device with VLC through a shared folder.

The logs are here: https://filetransfer.io/data-package/Q5VdqLbm#link


Is there anything I may have missed why Jellyfin refuses to play it correctly?


RE: Movie with a massive audio delay - TheDreadPirate - 2024-11-17

Which Jellyfin client?


RE: Movie with a massive audio delay - FatMax1492 - 2024-11-17

I'm playing on webclient

Streaming happens from a Windows 10 machine


RE: Movie with a massive audio delay - TheDreadPirate - 2024-11-17

Can you try remuxing the file manually and test the new file? In a powershell or command prompt.

Code:
ffmpeg -fflags +genpts+igndts -i "K:\Media\Movies\Founding of an Army (2017)\The Founding of An Army_t01.mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv



RE: Movie with a massive audio delay - FatMax1492 - 2024-11-18

I got these errors: https://imgur.com/TzwSSeY


RE: Movie with a massive audio delay - TheDreadPirate - 2024-11-18

I edited my ffmpeg command. I missed the dash before "max_muxing_queue_size".

Try again.


RE: Movie with a massive audio delay - FatMax1492 - 2024-11-18

It's running! I'll update you once it's done


RE: Movie with a massive audio delay - FatMax1492 - 2024-11-18

It's done.

The new file made by ffmpeg still has the delay unfortunately.


RE: Movie with a massive audio delay - TheDreadPirate - 2024-11-18

Let's try pre-transcoding the audio. This setup should direct play on the client.

Code:
ffmpeg -fflags +genpts+igndts -i "K:\Media\Movies\Founding of an Army (2017)\The Founding of An Army_t01.mkv" -map 0 -c:v copy -c:a libopus -ac 2 -c:s copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv

Also, I forgot to ask if this issue happens on any other client? Or just the browser client in Windows?


RE: Movie with a massive audio delay - FatMax1492 - 2024-11-18

It doesn't happen on the integrated player on Android. My laptop is pretty old so that may be the cause. This is the only movie it happens with, though.

Even when I put it on 360p the audio is desynched.