RasPlex / OpenPHT

OpenPHT is a community driven fork of Plex Home Theater
Other
596 stars 110 forks source link

Transcode surround sound to AC3 5.1 for optical - feature request #93

Closed wigster closed 8 years ago

wigster commented 8 years ago

Hi, I have an old AV receiver with a 5.1 speaker set up which at best takes SPDIF input and supports 5.1 AC3 and DTS.

Currently, OpenPHT can either pass through 5.1 AC3 and DTS, or transcode to LPCM with my chosen # of channels. Since I am using optical, this number can at most be 2.0, meaning all multichannel (HD) audio above 5.1 is transcoded to at best 2.0 unless it is AC3/DTS. The transcode to AC3 option new in 1.6.1 also only seems to downmix to 2.0, as far as I can tell at least.

It would be great if OpenPHT could be set up to pass through AC3, DTS, transcode 2.0 to PCM/AC3 (i.e. like it does currently) but then also to downmix/transcode all 7.1 material and e.g. 5.1 AAC to AC3 with whatever the maximum number of channels users choose, e.g. 5.1 AC3, so that optical users can get the best possible sound.

(I'm using Rasplex actually, but this seems like an OpenPHT feature request)

Thanks!

Kwiboo commented 8 years ago

The number of channels option only affects how many LPCM channels audio should be downmixed to. SPDIF usually only supports 2.0 channels and AC3/DTS audio up to 5.1 channels, this it why the AC3 transcoding option only is shown when 2.0 channels is selected. When audio is transcoded to AC3 is should already us at most 5.1 channels if the source audio have 5.1 or more channels.

Edit: Also see http://kodi.wiki/view/Audio_settings for a description of all audio options.