Soundbar and Vero 4K

okay, so even the tv doesn’t have that channel. maybe the hdmi cable is not suitable?

settings:
audio output device: AML-M8AUDIO Analog, PCM
Number of channels: 5.1
Output config: Best match
Resemple quality: Medium
Allow passthrough: on
DD capable receiver: on
DTS capable receiver: on

TV setting: I selected PCM

Then I suggest you again re-read the tutorial. Something is not set properly on the Vero.

Look at the number of channels, you may need to set it to 2.0. Also make sure ‘Sync Playback to Display’ is disabled.

If i set it to 2.0 and follow these steps for optical: Audio setup and information I simply have no more than 2 channels.

I think something is broken in Vero 4K (I’m on 17.8 beta v402)

Also on one of the page the tutorial says:
“You will be able to play stereo LPCM and will most likely be able to play DTS and DD 5.1 surround (but not DTS-MA or TrueHD) depending on your amplifier’s capabilities.”
(from: Connecting up your equipment for best audio)

while on the other page it says:
" * Number of channels: 2.0 (S/PDIF only supports 2-channel LPCM)" (from: Audio setup and information)

If something was broken more than just you would be having problems!

What is Output Configuration set to?

As a test, have you tried connecting the optical and see (hear) what happens?

I know it’s a little confusing but using LPCM/2.0 supports 5.1 DD and DTS.

audio output in Vero: PCM
channels: 2.0
output configuration: best match
passthrough: allow
dolby digital (ac3): enabled
dolby digital (ac3) transcoding: enabled

I can also confirm that I connected the soundbar with optical, I can have sound (all channels), also I enabled “mute HDMI”.

But this sounds like a 2.0 setup and no 5.1 DD or DTS :frowning:

Is the optical connected to the TV → Bose or Vero → Bose?

I know from experience that you can get DD/DTS 5.1 this way. I did that for a year until I upgraded my amp.

Is the source you are trying to play DD/DTS 5.1 or is it HD 7.1?

Double check all settings in the TV.

hey,

so the optical goes like this: vero -> bose

should i connect it to the tv instead?

also the source is netflix, I can see DD+ - 6 channels.

That’s the best way for testing right now.

Keep things simple, don’t test with Netflix since it’s a add-on that we have no control over. Test with some local content. Once things are sorted with local playback you can go back to playing with Netflix. BTW, it would have helped if you had mentioned Netflix way back in the beginning…

thank you.

is there any way to check in the log what it outputs to the optical? I can ssh into the vero and pull that if that would help

You need to test with a local source.

You can look in the kodi log:

pg .kodi/temp/kodi.log

this is the output if i run this command:

osmc@osmc:~$ pg .kodi/temp/kodi.log
???12:35:27.651 T:4074087008  NOTICE: -----------------------------------------------------------------------
12:35:27.651 T:4074087008  NOTICE: Starting Kodi (18.0-RC5). Platform: Linux ARM (Thumb) 32-bit
12:35:27.651 T:4074087008  NOTICE: Using Release Kodi x32 build (version for Vero)
12:35:27.651 T:4074087008  NOTICE: Kodi compiled 2019-01-24 by GCC 6.3.0 for Linux ARM (Thumb) 32-bit version 4.9.110 (264558)
12:35:27.651 T:4074087008  NOTICE: Running on Open Source Media Center 2018.10-1, kernel: Linux ARM 32-bit version 3.14.29-126-osmc
12:35:27.667 T:4074087008  NOTICE: FFmpeg version/source: 4.0.3-Kodi
12:35:27.667 T:4074087008  NOTICE: Host CPU: AArch64 Processor rev 4 (aarch64), 4 cores available
12:35:27.667 T:4074087008  NOTICE: ARM Features: Neon disabled
12:35:27.667 T:4074087008  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
12:35:27.667 T:4074087008  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
12:35:27.667 T:4074087008  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
12:35:27.667 T:4074087008  NOTICE: special://masterprofile/ is mapped to: /home/osmc/.kodi/userdata
12:35:27.667 T:4074087008  NOTICE: special://envhome/ is mapped to: /home/osmc
12:35:27.667 T:4074087008  NOTICE: special://home/ is mapped to: /home/osmc/.kod:

Also If I search for audio in the log, i can see this:

23:06:33.874 T:4074087008  NOTICE: VideoPlayer::OpenFile: smb://xxx/hbl.1080p-no1.mkv
23:06:33.875 T:3355595504  NOTICE: Creating InputStream
23:06:33.941 T:3355595504  NOTICE: Creating Demuxer
23:06:33.969 T:3355595504  NOTICE: Opening stream: 0 source: 256
23:06:33.970 T:3355595504  NOTICE: Creating video codec with codec id: 27
23:06:33.970 T:3355595504  NOTICE: Creating video thread
23:06:33.970 T:3330429680  NOTICE: running thread: video_thread
23:06:33.971 T:3355595504  NOTICE: Opening stream: 2 source: 256
23:06:33.971 T:3355595504  NOTICE: Finding audio codec for: 86020
23:06:33.971 T:3355595504  NOTICE: Creating audio thread
23:06:33.971 T:3453702896  NOTICE: running thread: CVideoPlayerAudio::Process()
23:06:33.971 T:3355595504  NOTICE: Opening stream: 3 source: 256
23:06:33.985 T:3453702896  NOTICE: Creating audio stream (codec id: 86020, channels: 6, sample rate: 48000, pass-through)
23:06:33.986 T:3330429680  NOTICE: CAMLCodec::OpenDecoder - using V4L2 pts format: 64Bit
23:06:34.260 T:4074087008  NOTICE: Display resolution ADJUST : 1920x1080 @ 23.98 - Full Screen (32) (weight: 1080.000)
23:06:34.462 T:4074087008  NOTICE: VideoPlayer: OnLostDisplay received
23:06:34.754 T:4074087008  NOTICE: VideoPlayer: OnResetDisplay received

That was a local file, right? Looks like it’s seeing 6 channels, so I assume it’s a 5.1 track. Did you get 5.1 sound?

it is hard to tell whether i got 5.1 but i think i didn’t :frowning: is there any test file with sound isolation where i could test this for sure?

You can probably find some test files out there. Do you actually have rear speakers, or are they simulated?

Could you try this, with the HDMI connected (not optical).

cat /sys/class/amhdmitx/amhdmitx0/aud_cap
cat sys/class/amhdmitx/amhdmitx0/aud_ch

This will show what the TV is reporting to the Vero as supported audio formats.

1 Like

hi @bmillham

this is the result, first one shows 2 channels. Do you think this is the cause? Also can this be an hdmi cable problem?:

osmc@osmc:~$ cat /sys/class/amhdmitx/amhdmitx0/aud_cap
CodingType MaxChannels SamplingFreq SampleSize
PCM, 2 ch, 32/44.1/48 kHz, 16/20/24 bit
osmc@osmc:~$ cat sys/class/amhdmitx/amhdmitx0/aud_ch
cat: sys/class/amhdmitx/amhdmitx0/aud_ch: No such file or directory
osmc@osmc:~$

No. If you are using optical from Vero to soundbar, hdmi aud_cap is irrelevant.

No

If you turn on debug logging in Kodi (Settings->System->Logging) then have a look through the log for lines like this:

08:43:21.835 T:4028625648   DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
08:43:21.835 T:4028625648   DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL, FR
08:43:21.835 T:4028625648   DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL, FR (ALSA: none) (CEA: 0)
08:43:21.835 T:4028625648   DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
08:43:21.835 T:4028625648   DEBUG:   Output Device : Default (AML-M8AUDIO Analog)
08:43:21.835 T:4028625648   DEBUG:   Sample Rate   : 44100
08:43:21.835 T:4028625648   DEBUG:   Sample Format : AE_FMT_S32NE
08:43:21.835 T:4028625648   DEBUG:   Channel Count : 2
08:43:21.835 T:4028625648   DEBUG:   Channel Layout: FL, FR
08:43:21.835 T:4028625648   DEBUG:   Frames        : 2048
08:43:21.835 T:4028625648   DEBUG:   Frame Size    : 8

That’s what you get for stereo PCM. For 5.1 it will say Channel Count 2, Got Layout RAW,RAW. Easiest way to see that is to get a commandline and enter

tail -f ~/.kodi/temp/kodi.log

Then play a multi-channel track/video. If that’s all good then Vero is doing what it should. I’ve no idea what your soundbar will do with it, though. Just get some test tracks as suggested above.

hi @grahamh

I tried to test this, I also enabled logging, this is the result:

http://paste.osmc.tv/alomediroh

as i can see there are multiple tries to request channel layout for RAW, RAW, but after the 4-5th entry it switches to FL, FR only.

Is this normal?

@sam_nazarko do you have any recommendations? or should we consider this as a bug?