@Andy2244 posted a new topic, subject "More HDMI passthrough options for PCM surround cases". It read:

   Server Version#: 4.76.1  
    Player Version#: 9.1
    
    If i want to play files with AAC/Opus 5.1 audio, it direct plays via HDMI passthrough and outputs pcm 5.1 _(i assume)_.  
    My dac/AVR does not handle 5.1 PCM correctly. So i would like a option to encode pcm/lpcm outputs to AC3, similar to what the optical settings do. This should only apply to decoded surround output formats that would than send via pcm 5.1/7.1, stereo pcm works fine.

After which, @MovieFan.Plex added

    If it is direct playing, then it's your TV decoding it to PCM and sending that via hdmi. Check your TV's settings and see if it has an option for digital output and set that to dolby if available. Your TV will then either convert the audio to AC3 or tell Plex to transocde to AC3.

Then @Andy2244 said

    MovieFan.Plex:
    
    > Your TV will then either convert the audio to AC3 or tell Plex to transocde to AC3.
    
    Do TV's actually live encode a surround pcm/stereo stream into AC3? I'm curious this would need a Dolby Digital Live license and some extra hardware/software stack. Usually this is only offered on PC/Mac via software.
    
    My TV (Hisense) has the dolby MS12 engine, but can only handle converting DD+/TRUEHD to DD if output is set to spdif mode. It does not live encode surround pcm to ac3 or convert DTS to AC3.
    
    Also correct handshaking between TV/Shield/Plex seem wonky at best, so a user option similar to what the “spdif” mode does for hdmi would be great.
    
    So as noted i don't know how many TV's will actually live encode pcm->ac3, so if we could have a option just for this case, this would be great. There is also the bitrate issues, since a 7.1 surround pcm signal needs much more bandwidth compared to a 7.1 AC3 stream.

To which @AmpedSilence replied

    I have a hisense u8g andriod tv.
    
    Set the client player to optical with both checkboxes marked. Its a workaround, but its effective. I've been doing that for over a year now. Has worked very effectively in almost all cases.
    
    In the event i have a eac3 or a true hd audio track, i switch to hdmi pass-through right before playing and get the right audio stream passed through.
    
    The switiching is annoying. I would prefer they add a eac3 option under the optical settings (and they had under beta build 8.26, but that never made it into the release build).
    
    Hope that helps.

So @MovieFan.Plex replied

    Andy2244:
    
    > Do TV's actually live encode a surround pcm/stereo stream into AC3?
    
    It depend on the TV. If it has that option for the output, then it most likely has the license. They couldn't offer it as an option otherwise.
    
    It's just something to check.
    
    To be sure, please provide me the logs from the Android app from when you first turn on the app to the start of playback.

@system replied

    This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.


{'source': 'discourse', 'url': 'https://forums.plex.tv/t/more-hdmi-passthrough-options-for-pcm-surround-cases/792223', 'title': 'More HDMI passthrough options for PCM surround cases', 'views': 106, 'has_accepted_answer': False, 'word_count': 535, 'like_count': 0, 'reply_count': 2, 'participant_count': 3, 'posts': 6, 'tags': 'android-tv', 'author': '@Andy2244', 'participants': '@Andy2244, @MovieFan.Plex, @AmpedSilence, @system', 'image_url': [None], 'created_at': '2022-05-09T23:04:44.495Z', 'last_posted_at': '2022-08-09T16:11:00.361Z'}