sgobat 4 Posted October 23, 2024 Posted October 23, 2024 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?
Luke 42077 Posted October 23, 2024 Posted October 23, 2024 Hi, do you have other files that might have been created differently that you can compare with? For example, do you get audio with these sample files: https://file-examples.com/index.php/sample-video-files/sample-mp4-files/ https://samplelib.com/sample-mp4.html Though I didn't check if they have aac, but they must either have that or mp3.
sgobat 4 Posted October 23, 2024 Author Posted October 23, 2024 (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 Edited October 23, 2024 by sgobat
Luke 42077 Posted October 23, 2024 Posted October 23, 2024 HI, can you please try what I asked? Thanks.
sgobat 4 Posted October 23, 2024 Author Posted October 23, 2024 (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 October 23, 2024 by sgobat
sgobat 4 Posted October 23, 2024 Author Posted October 23, 2024 I tried the same AAC and OPUS 7.1 using a USB Drive with the TV, same issues (cracking and buzzing). TV Issue?...
Luke 42077 Posted October 23, 2024 Posted October 23, 2024 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
SamES 1056 Posted October 23, 2024 Posted October 23, 2024 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)
Solution SamES 1056 Posted October 23, 2024 Solution Posted October 23, 2024 Are all your tests with 96,000 Hz samples? Can you try some 48,000 Hz samples? https://developer.samsung.com/smarttv/develop/specifications/media-specifications/2024-tv-video-specifications.html#24TV_PREMIUM4-(UHD)
sgobat 4 Posted October 23, 2024 Author Posted October 23, 2024 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?)
SamES 1056 Posted October 23, 2024 Posted October 23, 2024 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.
sgobat 4 Posted October 24, 2024 Author Posted October 24, 2024 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... 1
SamES 1056 Posted October 25, 2024 Posted October 25, 2024 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)
pglbrookes 1 Posted February 18, 2025 Posted February 18, 2025 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.
SamES 1056 Posted February 18, 2025 Posted February 18, 2025 (edited) @Luke can we set an audio stream sample rate limit for DirectPlay and force transcoding of audio if it exceeds the limit? Edited February 18, 2025 by SamES 1
Luke 42077 Posted March 17, 2025 Posted March 17, 2025 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? 1
SamES 1056 Posted March 18, 2025 Posted March 18, 2025 (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. Edited March 18, 2025 by SamES 1
Luke 42077 Posted March 21, 2025 Posted March 21, 2025 Hi, can you please try the 2.0.0 update over usb and let us know if this gets it to transcode? https://emby.media/emby-for-samsung-smart-tv.html Thanks !
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now