Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: jernej

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

[Copy link]

3

Threads

1124

Posts

6817

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6817
 Author| Post time 2016-6-5 23:18:41 | Show all posts
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

66

Credits

Registered member

Rank: 2

Credits
66
Post time 2016-6-7 20:33:56 | Show all posts
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 the 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.

3

Threads

1124

Posts

6817

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6817
 Author| Post time 2016-6-17 13:50:33 | Show all posts
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
Post time 2016-6-18 01:22:50 | Show all posts
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

3

Threads

1124

Posts

6817

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6817
 Author| Post time 2016-6-18 01:53:01 | Show all posts
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
Post time 2016-6-18 02:45:19 | Show all posts
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

3

Threads

1124

Posts

6817

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6817
 Author| Post time 2016-6-18 03:33:26 | Show all posts
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
Post time 2016-6-18 04:39:22 | Show all posts
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
Post time 2016-6-18 04:40:57 | Show all posts
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

3

Threads

1124

Posts

6817

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
6817
 Author| Post time 2016-6-18 04:45:49 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2018-6-22 09:45 GMT+8 , Processed in 0.032045 second(s), 21 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list