Sigogglin 1 Posted October 8, 2019 Posted October 8, 2019 (edited) I'm testing out Emby to see how it works for me. I have the server all setup and it has imported all my media. I installed the AndoridTV app on my Sony X940E 4K TV, it also has a 7.1 dolby atmos AV system hooked up via hdmi for audio passthrough. My hope is that I can get the Emby app to direct play the media over the LAN to my TV. Today Plex transcodes Atmos audio because it can't figure out it is supported with passthrough. When I started playing Venom 4k truehd 7.1 I noticed that it is transcoding. When I went to look at the stats it says display mode 1080/60 and is transcoding to 1080P. I didn't see any settings in the app that related to resolution, just audio passthrough. I also didn't see dolby atmos passthrough. Any suggestions on how to get it to work for my TV? Is it possible? I do see this from the server window: Reason for transcoding:Media bitrate exceeds limit. thanks, david Edited October 8, 2019 by Sigogglin
Sigogglin 1 Posted October 8, 2019 Author Posted October 8, 2019 I installed it on my Nvidia Shield that connects to my TV and passes through Audio to the same system. Everything works fine on the Shield. 2160P, all sound formats work. So how does one find out why the same TV only plays in 1080P and dd5.1 is the only sound that plays natvely? I assume Emby isn't understanding the capabilities of the TV. Is there a setting somewhere for that I can change? I had to remove my internet bandwidth limit of 15Mbps even though the TV is on the same LAN as the Emby server. That helped, but then I had to set the bandwidth speed on the TV player from Auto to 100Mbps to get it to finally play direct stream video. If I didn't do that one of my videos with has a 76Mbps stream wouldn't play on the TV. thanks david
barong 6 Posted October 8, 2019 Posted October 8, 2019 What type of Atmos track is being played? Your TV only supports Atmos via lossy DD+ / EAC3 and will not support TrueHD Atmos over ARC.
Sigogglin 1 Posted October 8, 2019 Author Posted October 8, 2019 I found good info on the 1080P resolution issue here: https://emby.media/community/index.php?/topic/74609-4k-playback-actually-4k/ The Atmos tracks are just some demo tracks I downloaded when I got the system to test it out. Plex app on my TV could not play them without transcoding the audio, but Plex app on Nvidia Shield played them direct play. So I figured it was working on the Shield. I just looked at my sound bar and Sony put out an updated firmware last year to support eARC for Atmos/TrueHD/ETC streaming via eARC. So I'm a bit confused as to what was going on before. Maybe direct stream in Plex for audio really isn't? I'm updating my sound bar now and will try again after it updates. david
barong 6 Posted October 8, 2019 Posted October 8, 2019 (edited) I found good info on the 1080P resolution issue here: https://emby.media/community/index.php?/topic/74609-4k-playback-actually-4k/ The Atmos tracks are just some demo tracks I downloaded when I got the system to test it out. Plex app on my TV could not play them without transcoding the audio, but Plex app on Nvidia Shield played them direct play. So I figured it was working on the Shield. I just looked at my sound bar and Sony put out an updated firmware last year to support eARC for Atmos/TrueHD/ETC streaming via eARC. So I'm a bit confused as to what was going on before. Maybe direct stream in Plex for audio really isn't? I'm updating my sound bar now and will try again after it updates. david You're TV doesn't support E-ARC, so it won't make any difference. You will only get Atmos via ARC if the track is encoded in E-AC3/Dolby Digital Plus. In regards to 1080P, all apps on Sony Android TV report that they are playing back at 1080P/60hz. The actual video being played will be at 4K though. Sony TVs don't match frame rate via android apps, but if you use Motion Flow settings True Cinema / Film Mode (Cinemotion) High, that will do a reverse 3:2 pulldown and display 24hz content correctly. Edited October 8, 2019 by barong
Sigogglin 1 Posted October 8, 2019 Author Posted October 8, 2019 (edited) Odd I wonder why Plex on Shield says direct play for Dolby Atmos and TrueHD. The Shield is just connected to the TV and uses the same sound bar. EDIT: the Shield is connected to HDMI 1, the HT-ST5000 sound bar supports all audio formats via HDMI, so that is why the Shield works. david Edited October 8, 2019 by Sigogglin
Sigogglin 1 Posted October 8, 2019 Author Posted October 8, 2019 So I pulled a log file from my TV playing and see this: App: AndroidTv 1.7.43g Living Room TV http://192.168.10.56:8096/emby/videos/39711/hls1/main/0.ts?DeviceId=8291778bcd6589ac&MediaSourceId=61ca3449b7158b82e4613e0b131c328b&PlaySessionId=321602740065488f81694f6014b67b91&api_key=cf3c993c4f3c404d83507180dfce6f98&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,eac3,dts,dca,dtshd,aac,mp3&VideoBitrate=109616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&ac3-audiochannels=8&eac3-audiochannels=8&dts-audiochannels=8&dca-audiochannels=8&dtshd-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=AudioCodecNotSupported {"Protocol":"File","Id":"61ca3449b7158b82e4613e0b131c328b","Path":"/movies/The Avengers (2012)/The Avengers (2012) - 2160p Atmos.mkv","Type":"Grouping","Container":"mkv","Size":52333433959,"Name":"2160p Atmos","IsRemote":false,"RunTimeTicks":85757120000,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"hevc","Language":"eng","ColorTransfer":"smpte2084","ColorPrimaries":"bt2020","ColorSpace":"bt2020nc","TimeBase":"1/1000","CodecTimeBase":"1001/24000","VideoRange":"HDR","DisplayTitle":"4K HEVC","DisplayLanguage":"English","IsInterlaced":false,"BitRate":48820141,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":2160,"Width":3840,"AverageFrameRate":23.9760246,"RealFrameRate":23.9760246,"Profile":"Main 10","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p10le","Level":153,"IsAnamorphic":false},{"Codec":"truehd","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"English TRUEHD 7.1 (Default)","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"7.1","BitDepth":24,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"English Dolby Digital 5.1","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":640000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"SDH","DisplayTitle":"English (PGSSUB)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"fre","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"French (PGSSUB)","DisplayLanguage":"French","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":4,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"spa","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Latin American","DisplayTitle":"Spanish (PGSSUB)","DisplayLanguage":"Spanish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":5,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"jpn","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"Japanese (PGSSUB)","DisplayLanguage":"Japanese","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":6,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"chi","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Traditional - Taiwan","DisplayTitle":"Chinese Simplified (PGSSUB)","DisplayLanguage":"Chinese Simplified","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":7,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"kor","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"Korean (PGSSUB)","DisplayLanguage":"Korean","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":8,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"chi","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Traditional - Hong Kong","DisplayTitle":"Chinese Simplified (PGSSUB)","DisplayLanguage":"Chinese Simplified","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":9,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Forced","DisplayTitle":"English (Default Forced PGSSUB)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":true,"IsForced":true,"Type":"Subtitle","Index":10,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"srt","Language":"eng","DisplayTitle":"English (SRT)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":11,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/movies/The Avengers (2012)/The Avengers (2012) - 2160p Atmos.eng.srt","Protocol":"File"}],"Formats":[],"Bitrate":48820141,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false} User policy for David: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True Does this help as to why it always transcodes the audio?
Luke 42078 Posted October 8, 2019 Posted October 8, 2019 So I pulled a log file from my TV playing and see this: App: AndroidTv 1.7.43g Living Room TV http://192.168.10.56:8096/emby/videos/39711/hls1/main/0.ts?DeviceId=8291778bcd6589ac&MediaSourceId=61ca3449b7158b82e4613e0b131c328b&PlaySessionId=321602740065488f81694f6014b67b91&api_key=cf3c993c4f3c404d83507180dfce6f98&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,eac3,dts,dca,dtshd,aac,mp3&VideoBitrate=109616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&hevc-profile=Main,Main10&ac3-audiochannels=8&eac3-audiochannels=8&dts-audiochannels=8&dca-audiochannels=8&dtshd-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=AudioCodecNotSupported {"Protocol":"File","Id":"61ca3449b7158b82e4613e0b131c328b","Path":"/movies/The Avengers (2012)/The Avengers (2012) - 2160p Atmos.mkv","Type":"Grouping","Container":"mkv","Size":52333433959,"Name":"2160p Atmos","IsRemote":false,"RunTimeTicks":85757120000,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"hevc","Language":"eng","ColorTransfer":"smpte2084","ColorPrimaries":"bt2020","ColorSpace":"bt2020nc","TimeBase":"1/1000","CodecTimeBase":"1001/24000","VideoRange":"HDR","DisplayTitle":"4K HEVC","DisplayLanguage":"English","IsInterlaced":false,"BitRate":48820141,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":2160,"Width":3840,"AverageFrameRate":23.9760246,"RealFrameRate":23.9760246,"Profile":"Main 10","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p10le","Level":153,"IsAnamorphic":false},{"Codec":"truehd","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"English TRUEHD 7.1 (Default)","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"7.1","BitDepth":24,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"English Dolby Digital 5.1","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":640000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"SDH","DisplayTitle":"English (PGSSUB)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"fre","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"French (PGSSUB)","DisplayLanguage":"French","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":4,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"spa","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Latin American","DisplayTitle":"Spanish (PGSSUB)","DisplayLanguage":"Spanish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":5,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"jpn","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"Japanese (PGSSUB)","DisplayLanguage":"Japanese","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":6,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"chi","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Traditional - Taiwan","DisplayTitle":"Chinese Simplified (PGSSUB)","DisplayLanguage":"Chinese Simplified","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":7,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"kor","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"Korean (PGSSUB)","DisplayLanguage":"Korean","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":8,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"chi","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Traditional - Hong Kong","DisplayTitle":"Chinese Simplified (PGSSUB)","DisplayLanguage":"Chinese Simplified","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":9,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Forced","DisplayTitle":"English (Default Forced PGSSUB)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":true,"IsForced":true,"Type":"Subtitle","Index":10,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"srt","Language":"eng","DisplayTitle":"English (SRT)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":11,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/movies/The Avengers (2012)/The Avengers (2012) - 2160p Atmos.eng.srt","Protocol":"File"}],"Formats":[],"Bitrate":48820141,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false} User policy for David: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True Does this help as to why it always transcodes the audio? Hi there, no it doesn't. Can we please look at a complete example? thanks.
barong 6 Posted October 8, 2019 Posted October 8, 2019 The main audio track / Atmos track is encoded in TrueHD. The TV will never be able to directly output this via ARC. {"Codec":"truehd","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"English TRUEHD 7.1 (Default)","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"7.1","BitDepth":24,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0} The reason why it works on the shield is that it is plugeed directly into the soundbar so is not using ARC and is bitstreaming it to the soundbar directly.
Sigogglin 1 Posted October 8, 2019 Author Posted October 8, 2019 Here is a complete log: Transcode.log I also found this table for the soundbar. I have been able to test video with DD , TrueHD, Atmos Dolby TrueHD, DTS DTS-ES 6.1. They all work/don't work as the sheet says except DTS 7.1. DTS 7.1 the sound is slow, garbled and often completely missing. It is not trying to transcode. For DTS 7.1 I enabled debug logging on the server and played Venom, this is the piece in the log between starting/stopping the video. The sound was not good: Debug.rtf Hopefully this can help with DTS 7.1 thanks again, david Debug.rtf Transcode.log
ebr 16184 Posted October 8, 2019 Posted October 8, 2019 Hi. As barong stated - your soundbar may support those formats but your TV does not so they will not pass and the app will transcode to a format that is supported. Plex is transcoding too they are just doing it in a different way/place. Sony TVs have always had trouble with DTS from Android apps too which is actually why those options exist in the app. If this is a new TV then 5.1 DTS should work but 7.1 may have to be downmixed. As you found, the Shield has no problem with any of this.
Sigogglin 1 Posted October 8, 2019 Author Posted October 8, 2019 I tried the same movie in Plex on the TV and it struggles the same way with the 7.1 audio. bummer I was hoping to get something better with Emby than what I get with Plex. Support help is definitely better with Emby. thanks for all the help, david
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