please choosego to mobile | Continue to access the PC version
Author: jernej

Audio pass through (AC3, DTS-HD, ...)

[Copy link]

4

threads

1118

posts

9186

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9186
 Author| Published in 2016-6-5 23:18:41 | Show all floors
HDCP is disabled by default in script.bin. You can enable it, but I'm not sure if it would help. I have some ideas in this area but without proper equipment and documentation is very frustrating, so I stopped playing with it.

0

threads

5

posts

140

credits

Registered member

Rank: 2

credits
140
Published in 2016-6-7 20:33:56 | Show all floors
jernej,
you were right, it did not help. I hope I have built the new script.bin right. I did not build all the stuff again. I have just called
  1. fex2bin opi2.fex script.bin
Copy code
and put the new script.bin to the FAT32 partition (overwriting the original one). I did not see any difference.

I could turn logs on, try switching between various audio streams and send you resulting log file if you want. I am not insisting on solving this, I just think you might find there something useful. I realize that it is very difficult for you (and it is actually not your problem). I am afraid nobody has spare AV receiver and/or oscilloscope.

4

threads

1118

posts

9186

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9186
 Author| Published in 2016-6-17 13:50:33 | Show all floors
Can someone who is interested in TrueHD and DTS HD make tests described in latest comment: https://github.com/jernejsk/OpenELEC-OPi2/issues/53

0

threads

29

posts

204

credits

Intermediate member

Rank: 3Rank: 3

credits
204
Published in 2016-6-18 01:22:50 | Show all floors
I have the 2.6.2016 image and DTS-HD is not passed throu

# amixer -c sndhdmi sset "hdmi audio format Function" DTS_HD
Simple mixer control 'hdmi audio format Function',0
  Capabilities: enum
  Items: 'null' 'pcm' 'AC3' 'MPEG1' 'MP3' 'MPEG2' 'AAC' 'DTS' 'ATRAC' 'ONE_BIT_AUDIO' 'DOLBY_DIGITAL_PLUS' 'DTS_HD' 'MAT' 'WMAPRO'
  Item0: 'DTS_HD'

and i select a DTS-HD stream and the sound is mute

4

threads

1118

posts

9186

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9186
 Author| Published in 2016-6-18 01:53:01 | Show all floors
Can you first select all passthrough formats your receiver supports, reboot and then execute above command with one type of format at a time. For example, if you want to test TrueHD, try MAT. Just to be sure, please reboot before you try to test new format with above command.

0

threads

29

posts

204

credits

Intermediate member

Rank: 3Rank: 3

credits
204
Published in 2016-6-18 02:45:19 | Show all floors
DTS-HD even with reboot does not work..

truhd..
reboot
# amixer -c sndhdmi sset "hdmi audio format Function" MAT
Simple mixer control 'hdmi audio format Function',0
  Capabilities: enum
  Items: 'null' 'pcm' 'AC3' 'MPEG1' 'MP3' 'MPEG2' 'AAC' 'DTS' 'ATRAC' 'ONE_BIT_AUDIO' 'DOLBY_DIGITAL_PLUS' 'DTS_HD' 'MAT' 'WMAPRO'
  Item0: 'MAT'

play a truhd stream - all mute

4

threads

1118

posts

9186

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9186
 Author| Published in 2016-6-18 03:33:26 | Show all floors
andrejb replied at 2016-6-17 19:45
DTS-HD even with reboot does not work..

truhd..

Thanks for testing.

Can you do the same test with this image: https://transfer.sh/5sNO2/openel ... r22860-gf83e46c.tar ? (CEC fix is included)

0

threads

29

posts

204

credits

Intermediate member

Rank: 3Rank: 3

credits
204
Published in 2016-6-18 04:39:22 | Show all floors
jernej replied at 2016-6-18 03:33
Thanks for testing.

Can you do the same test with this image: https://transfer.sh/5sNO2/openelec- ...

step 1:
upgrade

step 2:
reboot
set
# amixer -c sndhdmi sset "hdmi audio format Function" MAT
Simple mixer control 'hdmi audio format Function',0
  Capabilities: enum
  Items: 'null' 'pcm' 'AC3' 'MPEG1' 'MP3' 'MPEG2' 'AAC' 'DTS' 'ATRAC' 'ONE_BIT_AUDIO' 'DOLBY_DIGITAL_PLUS' 'DTS_HD' 'MAT' 'WMAPRO'
  Item0: 'MAT'
play TruHD stream - all mute

step 3:
reboot
set
# amixer -c sndhdmi sset "hdmi audio format Function" DTS_HD
Simple mixer control 'hdmi audio format Function',0
  Capabilities: enum
  Items: 'null' 'pcm' 'AC3' 'MPEG1' 'MP3' 'MPEG2' 'AAC' 'DTS' 'ATRAC' 'ONE_BIT_AUDIO' 'DOLBY_DIGITAL_PLUS' 'DTS_HD' 'MAT' 'WMAPRO'
  Item0: 'DTS_HD'
play DTS-MA (HD) stream - all mute


0

threads

29

posts

204

credits

Intermediate member

Rank: 3Rank: 3

credits
204
Published in 2016-6-18 04:40:57 | Show all floors
all mute means - that there is no sound and the receiver did not acknowledge the sound transmision from opipc to play the stream... no dts-ma /truhd logo.. just pcm on display and mute

4

threads

1118

posts

9186

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9186
 Author| Published in 2016-6-18 04:45:49 | Show all floors
Strange, my display supports just normal sound (pcm) and I get that "digital" noise out, if I set above settings. Can you please test AC3 with above command?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list