Jellyfin Forum
Configure audio delay for android tv client - 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: Configure audio delay for android tv client (/t-configure-audio-delay-for-android-tv-client)



Configure audio delay for android tv client - Jorge - 2024-08-27

Hello, I have observed that since I updated to last jellyfin client for Android TV (currently, I can't choose between Exoplayer and LibVLC) and server, I can't adjust audio delay while I am watching some content.

Before this update, I had the option for adjust delay for subtitles and audio in player layout

I'm not completelly sure, but I remember that this option for adjust delay only appeared if LibVLC was selected

How I can recover this option? Maybe this feature has been deleted?

Current Android TV Jellyfin client version: 0.17.4
Current Jellyfin Server: 10.9.10

Thanks a lot


RE: Configure audio delay for android tv client - TheDreadPirate - 2024-08-27

Audio and sub delay were a feature of libVLC, which was removed. libVLC hasn't been updated by VLC in two years and had several unpatched security vulnerabilities.

A more detailed explanation is in the PR that removed it.

https://github.com/jellyfin/jellyfin-androidtv/pull/3639


RE: Configure audio delay for android tv client - Jorge - 2024-08-28

Thanks a lot for very quick response and explanation

Do you know about any external player for android tv that have the feature for adjust audio delay?. I have some videos which audio and video are not synchronized and this libVLC feature was very usefull for me 😔


RE: Configure audio delay for android tv client - TheDreadPirate - 2024-08-28

I don't have any experience with external players. So I can't provide guidance on that.

You could also correct the offset permanently.

Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -i "/path/to/movie.mp4" -itsoffset 5 -i "/path/to/movie.mp4" -map_chapters 0 -map 0:v -map 1:a -map 0:s -c copy "movie-audio-delayed.mp4"

This would delay the audio by 5 seconds. If you need to advance the audio 5 seconds you would make the value -5.