Jump to content

2024 Samsung TV - No AAC Audio working on Emby


Go to solution Solved by SamES,

Recommended Posts

Posted

I've been a long time user of Emby with multiple devices including older Samsung TVs. I just upgraded to a 2024 S90D with the latest Tizen OS, and install Emby and connected to my library.

I use Unmanic to transcode all audio to AAC, but nothing seems to work with the TV at all. The output sound just crackles and pops. All other media apps on the TV work fine and play sound. All other devices worked as well. I would think AAC would be a supported audio format? 

Posted (edited)

I'll try to get some more media playing that may not be AAC. Here are my details:

Samsung model number:

QN65S90DAFXZA

Samsung firmware version:

Tizen OS 1131

Samsung Emby client version:

Emby for Samsung 1.8.0

Emby server version:

Version 4.9.0.30 beta


Logs Snippet

2024-10-23 14:29:52.678 Info Server: http/1.1 POST http://host1:7096/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV (QN65S90DAFXZA)&X-Emby-Device-Id=d5e26ac8-06f7-4362-bd9f-edf87f7458f5&X-Emby-Client-Version=1.8.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json. Source Ip: host2, UserAgent: Mozilla/5.0 (SMART-TV; LINUX; Tizen 8.0) AppleWebKit/537.36 (KHTML, like Gecko) 108.0.5359.1/8.0 TV Safari/537.36
2024-10-23 14:29:52.678 Info SessionManager: Playback stopped reported by app Emby for Samsung 1.8.0 on Samsung Smart TV (QN65S90DAFXZA) playing Beetlejuice Beetlejuice. Stopped at 228010 ms. PlaySessionId: 85fb21e8611a449ca1962ad537614757
2024-10-23 14:29:52.678 Info SessionManager: Removed playSession 85fb21e8611a449ca1962ad537614757 from session f003583e81f3481b98376496eccb109c
2024-10-23 14:29:52.678 Info Server: http/1.1 Response 204 to host2. Time: 1ms. POST http://host1:7096/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV (QN65S90DAFXZA)&X-Emby-Device-Id=d5e26ac8-06f7-4362-bd9f-edf87f7458f5&X-Emby-Client-Version=1.8.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json
2024-10-23 14:29:52.678 Info Trakt: Item Not fully played. Tell trakt.tv we are no longer watching but don't scrobble
2024-10-23 14:29:53.015 Info Server: http/1.1 POST http://host1:7096/emby/Items/107424/PlaybackInfo?UserId=94ea47bad9964511905b933b9394692d&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=200000000&X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV (QN65S90DAFXZA)&X-Emby-Device-Id=d5e26ac8-06f7-4362-bd9f-edf87f7458f5&X-Emby-Client-Version=1.8.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json. Source Ip: host2, UserAgent: Mozilla/5.0 (SMART-TV; LINUX; Tizen 8.0) AppleWebKit/537.36 (KHTML, like Gecko) 108.0.5359.1/8.0 TV Safari/537.36
2024-10-23 14:29:53.022 Info App: User policy for Sebastian. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-10-23 14:29:53.022 Info Server: http/1.1 Response 200 to host2. Time: 7ms. POST http://host1:7096/emby/Items/107424/PlaybackInfo?UserId=94ea47bad9964511905b933b9394692d&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=200000000&X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV (QN65S90DAFXZA)&X-Emby-Device-Id=d5e26ac8-06f7-4362-bd9f-edf87f7458f5&X-Emby-Client-Version=1.8.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json
2024-10-23 14:29:53.391 Info Server: http/1.1 POST http://host1:7096/emby/Items/107424/PlaybackInfo?UserId=94ea47bad9964511905b933b9394692d&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=200000000&X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV (QN65S90DAFXZA)&X-Emby-Device-Id=d5e26ac8-06f7-4362-bd9f-edf87f7458f5&X-Emby-Client-Version=1.8.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json. Source Ip: host2, UserAgent: Mozilla/5.0 (SMART-TV; LINUX; Tizen 8.0) AppleWebKit/537.36 (KHTML, like Gecko) 108.0.5359.1/8.0 TV Safari/537.36
2024-10-23 14:29:53.393 Info App: User policy for Sebastian. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-10-23 14:29:53.393 Info Server: http/1.1 Response 200 to host2. Time: 2ms. POST http://host1:7096/emby/Items/107424/PlaybackInfo?UserId=94ea47bad9964511905b933b9394692d&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=200000000&X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV (QN65S90DAFXZA)&X-Emby-Device-Id=d5e26ac8-06f7-4362-bd9f-edf87f7458f5&X-Emby-Client-Version=1.8.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json
2024-10-23 14:29:53.779 Info HttpClient: POST https://api.trakt.tv/oauth/token
2024-10-23 14:29:53.863 Error Trakt: Error sending scrobble
    *** Error Report ***
    Version: 4.9.0.30
    Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3
    Operating system: Linux version 6.1.106-Unraid (root@Develop-612) (gcc (GCC) 12.2.0, GNU ld version 2.40-slack151) #1 SMP PREEMPT_DYNAMIC Wed Aug 21 23:36:07 PDT 2024
    OS/Process: x64/x64
    Framework: .NET 8.0.6
    Runtime: app/emby/system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: /config
    Application path: /app/emby/system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: BadRequest
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
       at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
       at Trakt.Api.TraktApi.RefreshUserAuth(TraktUser traktUser, CancellationToken cancellationToken)
       at Trakt.Api.TraktApi.SetRequestHeaders(HttpRequestOptions options, TraktUser traktUser, CancellationToken cancellationToken)
       at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
       at Trakt.Api.TraktApi.SendMovieStatusUpdateAsync(Movie movie, MediaStatus mediaStatus, TraktUser traktUser, Single progressPercent, CancellationToken cancellationToken)
       at Trakt.ServerMediator.KernelPlaybackStopped(Object sender, PlaybackStopEventArgs e)
    Source: Emby.Server.Implementations
    TargetSite: Void MoveNext()
    
2024-10-23 14:30:55.409 Info Server: http/1.1 POST http://host4/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Brave macOS&X-Emby-Device-Id=06ffb9d5-5411-4fca-b666-d579f147e04d&X-Emby-Client-Version=4.9.0.30&X-Emby-Token=x_secret4_x&X-Emby-Language=en-us&reqformat=json. Source Ip: host5, UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
2024-10-23 14:30:55.409 Info Server: http/1.1 Response 204 to host5. Time: 0ms. POST http://host4/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Brave macOS&X-Emby-Device-Id=06ffb9d5-5411-4fca-b666-d579f147e04d&X-Emby-Client-Version=4.9.0.30&X-Emby-Token=x_secret4_x&X-Emby-Language=en-us&reqformat=json
2024-10-23 14:31:46.811 Info Server: http/1.1 POST http://host1:7096/emby/Items/107424/PlaybackInfo?UserId=94ea47bad9964511905b933b9394692d&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=200000000&X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV (QN65S90DAFXZA)&X-Emby-Device-Id=d5e26ac8-06f7-4362-bd9f-edf87f7458f5&X-Emby-Client-Version=1.8.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json. Source Ip: host2, UserAgent: Mozilla/5.0 (SMART-TV; LINUX; Tizen 8.0) AppleWebKit/537.36 (KHTML, like Gecko) 108.0.5359.1/8.0 TV Safari/537.36
2024-10-23 14:31:46.813 Info App: User policy for Sebastian. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-10-23 14:31:46.813 Info Server: http/1.1 Response 200 to host2. Time: 2ms. POST http://host1:7096/emby/Items/107424/PlaybackInfo?UserId=94ea47bad9964511905b933b9394692d&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=200000000&X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV (QN65S90DAFXZA)&X-Emby-Device-Id=d5e26ac8-06f7-4362-bd9f-edf87f7458f5&X-Emby-Client-Version=1.8.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json
2024-10-23 14:31:53.281 Info Server: http/1.1 POST http://host1:7096/emby/Items/107424/PlaybackInfo?UserId=94ea47bad9964511905b933b9394692d&StartTimeTicks=2280100000&IsPlayback=true&AutoOpenLiveStream=true&AudioStreamIndex=1&SubtitleStreamIndex=-1&MediaSourceId=mediasource_107424&MaxStreamingBitrate=200000000&X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV (QN65S90DAFXZA)&X-Emby-Device-Id=d5e26ac8-06f7-4362-bd9f-edf87f7458f5&X-Emby-Client-Version=1.8.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json. Source Ip: host2, UserAgent: Mozilla/5.0 (SMART-TV; LINUX; Tizen 8.0) AppleWebKit/537.36 (KHTML, like Gecko) 108.0.5359.1/8.0 TV Safari/537.36
2024-10-23 14:31:53.284 Info App: User policy for Sebastian. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

 

image.thumb.jpeg.0b58ff738b8274691acf2cc86b3e6e41.jpeg

 

Edited by sgobat
Posted

HI, can you please try what I asked? Thanks.

Posted (edited)

Yep! You responded while I was typing that out lol.

Here's what I just tried through Emby:

AAC 5.1 & 7.1 - Cracking and Popping (audio works on other devices)
EAC3 & AC3- Works
OPUS 7.1 - was just a horrendous buzzing sound (audio works on other devices)
OPUS 5.1 Works
DTS 5.1 Works
MP3 stereo Works

Edited by sgobat
Posted

I tried the same AAC and OPUS 7.1 using a USB Drive with the TV, same issues (cracking and buzzing). 

TV Issue?... 🥲

Posted
1 minute ago, sgobat said:

I tried the same AAC and OPUS 7.1 using a USB Drive with the TV, same issues (cracking and buzzing). 

TV Issue?... 🥲

Not with your TV hardware, but yes with the Samsung video player. That's why we generally have opus transcode through the server even though most tv's claim to support it. It may support it, but often doesn't play it back very well.

But having something like this happen with aac, that is new.

@SamES

Posted
1 hour ago, sgobat said:

I tried the same AAC and OPUS 7.1 using a USB Drive with the TV, same issues (cracking and buzzing). 

TV Issue?... 🥲

Are you using a sound bar or receiver, or playing directly on the TV?  This looks like a 2024 model so it could be a new problem, but no one else has reported it - especially for aac (opus has ongoing issues)

Posted

I tried with and without soundbar, and also playing directly on TV via USB files with no luck; however, I tested with my Nvidia Shield and playback works with Emby via that, so definitely a Samsung video player issue?

The few AAC playbacks I spot-checked did all have 96kHz playback. Let me see if I can find any with lower sampling rates (or is that something I can adjust in Emby or TV settings?)

Posted
3 minutes ago, sgobat said:

The few AAC playbacks I spot-checked did all have 96kHz playback. Let me see if I can find any with lower sampling rates (or is that something I can adjust in Emby or TV settings?)

You will need to find a sample with 48kHz, or if you are converting files yourself, just convert to 48kHz.

Posted

I've converted the files that weren't working before using ffmpeg to 48Khz AAC, and both worked! It seems the new Samsung TVs don't support >48Khz as you pointed out.

Now I have some encoding to do...

  • Thanks 1
Posted
21 hours ago, sgobat said:

I've converted the files that weren't working before using ffmpeg to 48Khz AAC, and both worked! It seems the new Samsung TVs don't support >48Khz as you pointed out.

Now I have some encoding to do...

Thanks for confirming.  I believe 48kHz is the limit for all Samsung models (new and old)

  • 3 months later...
Posted

This has been baffling me for ages! 

Better get on transcoding! 

Is there a way emby can transcode unsupported sample rates automatically? At the moment the only work round is to limit the stream to less than the direct stream to force encoding.

Posted (edited)

@Luke can we set an audio stream sample rate limit for DirectPlay and force transcoding of audio if it exceeds the limit?

Edited by SamES
  • Agree 1
  • 4 weeks later...
Posted
On 2/17/2025 at 8:57 PM, SamES said:

@Luke can we set an audio stream sample rate limit for DirectPlay and force transcoding of audio if it exceeds the limit?

Yes. Are we sure this is the reason?

  • Thanks 1
Posted (edited)
13 hours ago, Luke said:

Yes. Are we sure this is the reason?

I expect so.  According to the Samsung Video Specifications model matrix, 96kHz audio is not supported.

image.thumb.png.f08a9a13680c6018c3cb193613c6393a.png

Edited by SamES
  • Like 1

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...