Jump to content

DTS Audio movies - audio / subtitles getting out of sync


Recommended Posts

Posted

Summarization of DTS on Samsung TV: Samsung TVs don't support DTS audio, audio needs to be transcoded to the working format. 

Current state: The transcoding is working out of the box, you can open the movie and start watching it. 

Problem:

  • Sometimes the audio freezes / jumps back / forward and back to the correct position
    • When this happens the subtitles get out of sync (they are moved about several seconds)
    • Switching subtitles doesn't work (when you switch between languages, they don't show up at all)
  • This happens:
    • Randomly, usually 2-3 times per a movie 
    • Very often when you pause / play the movie / move forward / back 
    • On our latest playback it happen probably 5 times 
  • Workaround:
    • Exit the movie and start it again (sometimes helps)
    • Exit whole Emby app and start it again 

Setup

  • Local network (everything wired)
  • Linux Emby server (it's powerful enough for transcoding, it can transcode 4k video stream on the fly without any problems)
  • These problem happens only on DTS Audio files on the Samsung TV, haven't seen problems with any other files / transcoding etc

Logs:

- This happened on the latest movie No Country for Old Men played on 13 Sep 2025

 

 

 

 

 

embyserver-63893404800.txt ffmpeg-remux-7782cbee-fe6a-488f-8495-40aa3d183a35_1.txt

visproduction
Posted (edited)

Linux directory rights don't allow access to subtitles?

line 73

Quote

Embyserver-69...txt log2025-09-13 02:00:00.768 Error OpenSubtitles: 401 Unauthorized Response from https://api.opensubtitles.com/api/v1/login
2025-09-13 02:00:00.768 Error OpenSubtitles: 401 Unauthorized Response from https://api.opensubtitles.com/api/v1/login
2025-09-13 02:00:00.771 Error SubtitleManager: Error searching for subtitles on Open Subtitles
    *** Error Report ***
    Version: 4.8.11.0
    Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
    Operating system: Linux version 5.15.0-140-generic (buildd@lcy02-amd64-024) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #150-Ubun
    Framework: .NET 6.0.36
    OS/Process: x64/x64
    Runtime: opt/emby-server/system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: /var/lib/emby
    Application path: /opt/emby-server/system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: {"message":"Error, invalid username/password  ","status":401}
       at OpenSubtitles.OpenSubtitleComDownloader.GetResponse(HttpRequestOptions requestOptions, String httpMethod, Int32 allowedRequestFrequencyMs)
       at OpenSubtitles.OpenSubtitleComDownloader.Login(OpenSubtitleOptions options, CancellationToken cancellationToken)
       at OpenSubtitles.OpenSubtitleComDownloader.SearchInternal(SubtitleSearchRequest request, Boolean useFilename, OpenSubtitleOptions options, CancellationToken cancellationToken)
       at OpenSubtitles.OpenSubtitleComDownloader.Search(SubtitleSearchRequest request, OpenSubtitleOptions options, CancellationToken cancellationToken)
       at Emby.Providers.Subtitles.SubtitleManager.SearchSubtitles(SubtitleSearchRequest request, CancellationToken cancellationToken)
    Source: OpenSubtitles
    TargetSite: Void MoveNext()
 

Quote

 

MediaBrowser.Common.Extensions.RateLimitExceededException: MediaBrowser.Common.Extensions.RateLimitExceededException: Allowable request per timeframe was reached.

This happens 237 times and the subsequent times show an error of too many requests browser timeout.

Guess: Proper installation failed to designate read write rights to directories

or

Possibly installation was copied from another directory and access rights were not doublechecked and updated.

or

some other step or sign up failure created a situation where directory expected to have subtitles is not readable for the user

or subtitles had some formatting issue and failed to get copied or converted.  This might happen with .sub graphic files and sometimes perhaps with .ass original files that have missing 0: at the beginning of each time code. (I have not tested this missing 0 issue as causing any problems with Emby, but it causes some other subtitle editors to be unable to load the .ass file and this shortcut time code happens a lot with online content.)

 

 

Edited by visproduction
Posted

Hi, I think that's just an error from Open Subtitles, I am not using that to download or manage subtitles. This specific movie had subtitles in format of SUBRIP directly in the mkv file.

Posted

Thanks, let me know if you would like to have more logs or I can provide some additional info. I understand that these bugs are really difficult to tackle.

  • Thanks 1
Posted

Hi guys, I just talked with a family and it looks like this is not specific to Samsung TV. I got report that it happens to them also when they watch in the browser. I know that for their streams, it's transcoded to mp3. 

Posted
9 hours ago, pagep said:

Hi guys, I just talked with a family and it looks like this is not specific to Samsung TV. I got report that it happens to them also when they watch in the browser. I know that for their streams, it's transcoded to mp3. 

 

Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...