wolfram84 9 Posted October 17, 2023 Share Posted October 17, 2023 So, there's a known problem with FLAC audio and video playback on Samsung TVs, the audio is NOT supported but its playable so what happens is that you get an audio delay and the audio track will be out of synch for the whole movie. I'm trying to find a way to transcode the FLAC audio on my Emby Samsung TV app, but the app won't transcode it, it will direct play with the delay, is there a way to force the transcode without having to transcode the whole video? Like the app already does with DTS/HDMA for example, so u have the video on direct play and just the audio transcoded.. @SamES 2 1 Link to comment Share on other sites More sharing options...
FrostByte 5051 Posted October 17, 2023 Share Posted October 17, 2023 (edited) Agree, if it's not supported, then it should automatically transcode. Or, somehow automatically adjusted for the delay. I normally just convert it myself to PCM and remux, but others may have lots. Edited October 17, 2023 by FrostByte 1 Link to comment Share on other sites More sharing options...
SamES 891 Posted October 17, 2023 Share Posted October 17, 2023 4 hours ago, wolfram84 said: So, there's a known problem with FLAC audio and video playback on Samsung TVs, the audio is NOT supported but its playable so what happens is that you get an audio delay and the audio track will be out of synch for the whole movie. I'm trying to find a way to transcode the FLAC audio on my Emby Samsung TV app, but the app won't transcode it, it will direct play with the delay, is there a way to force the transcode without having to transcode the whole video? Like the app already does with DTS/HDMA for example, so u have the video on direct play and just the audio transcoded.. @SamES Can you please send me a sample and TV/Model specs, etc? FLAC does play, but I suspect there are conditions to that statement. I've not had issues with samples I've tested, so I'm keen to investigate if you have a sample that behaves badly Link to comment Share on other sites More sharing options...
wolfram84 9 Posted October 18, 2023 Author Share Posted October 18, 2023 Sure thing, attached is an example, but this applies to any file with FLAC audio and it's a Samsung problem because even playing using an external HDD the delay is present hence why it would be good to force transcode those tracks. TV Model is both Samsung QN65Q60A (2021) and Q50Q60TA (2020). sample.mkv 1 Link to comment Share on other sites More sharing options...
SamES 891 Posted October 18, 2023 Share Posted October 18, 2023 10 hours ago, wolfram84 said: Sure thing, attached is an example, but this applies to any file with FLAC audio and it's a Samsung problem because even playing using an external HDD the delay is present hence why it would be good to force transcode those tracks. TV Model is both Samsung QN65Q60A (2021) and Q50Q60TA (2020). sample.mkv 65.05 MB · 1 download I've tested this sample on both my 2017 and 2022 Samsung TV's and it plays perfectly on both. DirectPlay and no noticeable audio delay. Do you definitely see the same issue using this sample? It's possible that creating the sample has corrected the delay Are you testing through a receiver/ARC or using the TV's built-in speakers? I presume that you've checked that you don't have any audio delay set in the TV's Audio settings. @FrostBytedo you want to give this a go on your Samsung? 1 Link to comment Share on other sites More sharing options...
FrostByte 5051 Posted October 18, 2023 Share Posted October 18, 2023 (edited) Just tested the file myself and I can hear about a second delay in the soundtrack. I tried using TV speakers and soundbar and both were the same. Looking at the file though in mediainfo I noticed there is a 55ms delay in the audio track. Which is much shorter than what I'm hearing, but odd. Tried demuxing the video and audio track and mediainfo said the audio track was longer than the video track for some reason. Maybe the splitting caused that? Would have to see the mediainfo from the original. Audio ID : 2 Format : FLAC Format/Info : Free Lossless Audio Codec Codec ID : A_FLAC Duration : 1 min 0 s Bit rate mode : Variable Channel(s) : 1 channel Channel layout : M Sampling rate : 48.0 kHz Bit depth : 24 bits Compression mode : Lossless Delay relative to video : 55 ms Writing library : libFLAC 1.2.1 (2007-09-17) Language : English Default : Yes Forced : No Statistics Tags Issue : no_variable_data 1970-01-01 00:00:00 / no_variable_data 2010-02-22 21:41:29 FromStats_BitRate : 619016 FromStats_Duration : 00:00:59.989000000 FromStats_FrameCount : 703 FromStats_StreamSize : 4641776 MD5 of the unencoded content : 15943E24789E02D019406CCA3F188EBB Edit: My TV is from 2018 btw. Edited October 18, 2023 by FrostByte 1 Link to comment Share on other sites More sharing options...
wolfram84 9 Posted October 18, 2023 Author Share Posted October 18, 2023 (edited) 5 hours ago, SamES said: I've tested this sample on both my 2017 and 2022 Samsung TV's and it plays perfectly on both. DirectPlay and no noticeable audio delay. Do you definitely see the same issue using this sample? It's possible that creating the sample has corrected the delay Are you testing through a receiver/ARC or using the TV's built-in speakers? I presume that you've checked that you don't have any audio delay set in the TV's Audio settings. @FrostBytedo you want to give this a go on your Samsung? Optical cable through a receiver, but the delay is also noticeable using TV speakers, I didn't notice the delay applied in the MI but that was really a random sample that I picked since the delay is present in ANY file with FLAC, I tried playing that exact sample using HDD external and through emby both with delay. Edit: odd that worked on your 2022/17 Samsung TV without the delay...there are quite a few old thread about this issue, it might be affecting only some Tizen TVs but it really doesn't make sense...FLAC is not listed as a supported audio format on Samsung site. https://images.samsung.com/is/image/samsung/assets/test/support/tv-audio-video/how-to-troubleshoot-an-audio-delay/video-codec.png?$ORIGIN_PNG$ Edited October 18, 2023 by wolfram84 1 Link to comment Share on other sites More sharing options...
FrostByte 5051 Posted October 18, 2023 Share Posted October 18, 2023 Just wanted to add that though I can hear a large delay on my Samsung also that playing the file with VLC in Windows the sound seemed to be synced with the video. 1 Link to comment Share on other sites More sharing options...
SamES 891 Posted October 18, 2023 Share Posted October 18, 2023 3 hours ago, FrostByte said: Just wanted to add that though I can hear a large delay on my Samsung also that playing the file with VLC in Windows the sound seemed to be synced with the video. Great, thanks for confirming. Sounds like results are mixed across model years. I'm assuming that for both of you it was always DirectPlay. Maybe we will have to disable flac completely which will upset some people 1 Link to comment Share on other sites More sharing options...
FrostByte 5051 Posted October 18, 2023 Share Posted October 18, 2023 (edited) 37 minutes ago, SamES said: Great, thanks for confirming. Sounds like results are mixed across model years. I'm assuming that for both of you it was always DirectPlay. Maybe we will have to disable flac completely which will upset some people Correct, no transcoding. Thing direct played the whole minute. The only way to please everyone would be to have an option. As you mentioned it's mixed and you can't even make a cutline at a certain year from our combined results. It's going to upset some I'm sure but if you go by what it says in the manual then it should be transcoded. Or, some users will have to use another codec. I'm not really hurt either way as I use PCM, which is a little bigger but I don't have issues with it. Unless you had a way to change the delay in the OSD something like with subtitles. Something with a little slider to make it play sooner, or later. Edited October 18, 2023 by FrostByte Link to comment Share on other sites More sharing options...
wolfram84 9 Posted October 18, 2023 Author Share Posted October 18, 2023 Yeah since it's random models I can't find an easy solution here without advocating for myself, but if Samsung considers FLAC an audio format but not a video one it's probably that the newer models the NEO line will have the same issue as they don't show FLAC on their manual as a supported video codec anymore, so maybe the best course would be to force transcode it from now on..but as I said I'm not a neutral part here 1 Link to comment Share on other sites More sharing options...
SamES 891 Posted October 19, 2023 Share Posted October 19, 2023 @Luke, what are your thoughts on this? I think we've proven that FLAC in video files is giving mixed results across model ranges with regards to audio delays. Given that FLAC is not documented as a supported audio codec in video files, do we disable this for all models. It will upset some, but I expect only a minority Link to comment Share on other sites More sharing options...
Luke 37084 Posted October 19, 2023 Share Posted October 19, 2023 1 hour ago, SamES said: @Luke, what are your thoughts on this? I think we've proven that FLAC in video files is giving mixed results across model ranges with regards to audio delays. Given that FLAC is not documented as a supported audio codec in video files, do we disable this for all models. It will upset some, but I expect only a minority Yea probably a good idea. 2 Link to comment Share on other sites More sharing options...
Solution SamES 891 Posted October 19, 2023 Solution Share Posted October 19, 2023 12 hours ago, wolfram84 said: Yeah since it's random models I can't find an easy solution here without advocating for myself, but if Samsung considers FLAC an audio format but not a video one it's probably that the newer models the NEO line will have the same issue as they don't show FLAC on their manual as a supported video codec anymore, so maybe the best course would be to force transcode it from now on..but as I said I'm not a neutral part here Done, thanks. 2 1 Link to comment Share on other sites More sharing options...
wolfram84 9 Posted December 29, 2023 Author Share Posted December 29, 2023 Any idea of when this will be changed? I'm using emby 1.6.8 for Samsung and FLAC is still direct playing with delay... Link to comment Share on other sites More sharing options...
Luke 37084 Posted December 29, 2023 Share Posted December 29, 2023 5 minutes ago, wolfram84 said: Any idea of when this will be changed? I'm using emby 1.6.8 for Samsung and FLAC is still direct playing with delay... Can you try the latest build? Thanks. Link to comment Share on other sites More sharing options...
wolfram84 9 Posted January 2 Author Share Posted January 2 On 12/29/2023 at 6:49 PM, Luke said: Can you try the latest build? Thanks. Same thing with 1.7.0.. direct play with delay. Link to comment Share on other sites More sharing options...
izzy198888 2 Posted January 6 Share Posted January 6 Will this ever be fixed? I'm tired of converting flac to ac3 every time. Link to comment Share on other sites More sharing options...
SamES 891 Posted January 6 Share Posted January 6 1 hour ago, izzy198888 said: Will this ever be fixed? I'm tired of converting flac to ac3 every time. Sorry, I did disable this in October, but it looks like it was still trying to DirectPlay flac on some newer models. I've made sure it will definitely be disabled for the next release. 1 Link to comment Share on other sites More sharing options...
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