Kodi support for Quadraphonic titles (Quad 4.0)
#16
OK,

New log with removed old repos, here:

https://paste.kodi.tv/evowesobet.kodi

I let it play the Quad.flac test file first (which the AVR showed, and played as 2.0), and let it also then play the surround50 and surround51 which played correctly.

Many Thanks,

Matt.
Reply
#17
Here’s another post on this same issue:

https://forum.kodi.tv/showthread.php?tid...pid2696584
Reply
#18
(2018-10-06, 23:44)HomerJau Wrote: Here’s another post on this same issue:

https://forum.kodi.tv/showthread.php?tid...pid2696584
 Thanks Homer!  I followed the link (and the subsequent links) and got to https://trac.kodi.tv/ticket/17752 .  Did you ever get a resolution other than, modify the source file to add a silent centre?  I didn't quite follow fritsch's comment: "When handing around standards check: CEA-861-D"

Cheers,

Matt.
Reply
#19
(2018-10-07, 00:18)mutant_matt Wrote:
(2018-10-06, 23:44)HomerJau Wrote: Here’s another post on this same issue:

https://forum.kodi.tv/showthread.php?tid...pid2696584
 Thanks Homer!  I followed the link (and the subsequent links) and got to https://trac.kodi.tv/ticket/17752 .  Did you ever get a resolution other than, modify the source file to add a silent centre?  I didn't quite follow fritsch's comment: "When handing around standards check: CEA-861-D"

Cheers,

Matt.

From memory I think there’s not going to be a change on that ticket.

I’ve continued to add a silent centre to quads to fix the issue in Kodi. There’s a Remix tool in my Music Media Helper app (Runs on Windows only) that recursively finds all quad FLAC and WAV files and adds a silent centre. You can get the app from a sticky thread in this section.

I’ve not been keeping that thread up to date recently but you can see my thread on QuadraphonicQuad forum for more recent activity:
https://www.quadraphonicquad.com/forums/...dio.22693/
Reply
#20
Yep, I did already see that thread of yours on QQ.  OOI, what does your tool do under the covers for adding a silent centre?

I had a play with doing it in Audacity and it's not a straight-forward process there.  I was wondering if ffmpeg could do it easier/quicker, and with less risk of transcoding/recoding the existing audio stream (i.e. really I just want to add an extra silent track without touching the existing audio at all).

I do most of my ripping manually using MakeMKV and then ffmpeg (and a few other command line Linux tools), so would be interested to understand what your tool does under the covers... Smile

I need to double check your logs match mine in the sense of the channel output mapping, as fritsch seemed to be saying that there was no problem with Kodi and it was something to do with the AVR/HDMI connectivity? (possibly ALSA mapping).  It can't be the hardware, connectivity, AVR or setup/config in my case, as the BluRay plays it fine/correctly connected to the same AVR...

Perhaps it's an ALSA setup/config/mapping issue?

Cheers,

Matt.
Reply
#21
I’ve had no time to come back to this, but my AVR was certainly reporting 4.0 when I tested, so it’s either an encoding issue or AVR issue in my view.
Reply
#22
(2018-10-07, 17:16)mutant_matt Wrote: Yep, I did already see that thread of yours on QQ.  OOI, what does your tool do under the covers for adding a silent centre?

I have many quads converted to FLAC for Kodi playback. The tool does two things, if you select ‘Add Silent Centre to Quad’ option:
1. Scans all sub-folders (from a selected root folder) and loads any quad files into its process list
2. Adds the silent centre channel using Sox (without reencoding) to all files in list

Command line: Sox input.flac output.flac remix 1 2 0 3 4

The recursive scanning means I don’t have to think about where the quads are or which ones I’ve missed etc


Quad Playback Issue:
From memory, The Kodi log shows during initial play it does not correctly find a matching channel layout for 4 channels so defaults to stereo. It could be fixed but I’m not sure that anyone dev is interested. It’s a shame as there are many new quad releases each year with a recent resurgence in 70s quads being released on SACD and BDA.
Reply
#23
I am still quite interested why it outputs stereo for you, which is a point I don't understand. Even if we cannot map the FL FR (SL SR | RL RR) correctly we rather should open a larger layout that at least includes the channels requested.

Can you post yet another Debug Log please? Best with ALSA and pulseaudio, cause pulse might directly open your layout and then we can see what it does under the hood.

Edit: kodi v18 please
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#24
(2018-10-07, 22:56)fritsch Wrote: I am still quite interested why it outputs stereo for you, which is a point I don't understand. Even if we cannot map the FL FR (SL SR | RL RR) correctly we rather should open a larger layout that at least includes the channels requested.

Can you post yet another Debug Log please? Best with ALSA and pulseaudio, cause pulse might directly open your layout and then we can see what it does under the hood.

Edit: kodi v18 please
As I'm using v16, what I'll do is get a USB stick based v18 build setup, and get another log.  I don't have Pulse installed on my Kodi box as that caused problems which were solved by uninstalling it (I can't remember what that was now!  I only use Kodi on the box and nothing else so I don't think running directly via just ALSA should be a problem?)

Question - in the bug trac you seemed to be saying that it *is* opening a 4-channel layout, based on the log, but your above comment sounds like you are not saying that?

It seems to only actually be opening 2-channels, but the log doesn't show that, right?

Thanks for your interest,

Cheers,

Matt.
Reply
#25
Jep. Also please use a recent kernel. Or better: post me a sample.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#26
(2018-10-08, 06:14)fritsch Wrote: Jep. Also please use a recent kernel. Or better: post me a sample.
 Sample?

If I use LibreELEC 9.0 Alpha 003 (Kodi 18 Alpha 3), which seems newly built in Sept, that would be new enough? (Kodi and kernel level wise?)

Cheers,

Matt.
Reply
#27
(2018-10-08, 06:14)fritsch Wrote: Jep. Also please use a recent kernel. Or better: post me a sample.

I can't PM you so here's a 30 second clip of a quad at 96/24:
https://drive.google.com/file/d/1itNOW73...sp=sharing

I tried to get a log file from the latest LibreElec nightly but couldn't find any reference to the audio file I played. Not sure if it is me or a problem with that build. Anyway the file is there for you to try and play.

Thanks!
Reply
#28
(2018-10-08, 09:58)HomerJau Wrote:
(2018-10-08, 06:14)fritsch Wrote: Jep. Also please use a recent kernel. Or better: post me a sample.

I can't PM you so here's a 30 second clip of a quad at 96/24:
https://drive.google.com/file/d/1itNOW73...sp=sharing

I tried to get a log file from the latest LibreElec nightly but couldn't find any reference to the audio file I played. Not sure if it is me or a problem with that build. Anyway the file is there for you to try and play.

Thanks! 
OK, thanks.  I will try that.

jjd-uk kindly posted a link to these test files, the quad.flac one there is the one I've been using as a test (it behaves the same as the actual content I've been trying to play):  https://github.com/sfiera/flac-test-files

I'll try both and let you know when I have the log.

Cheers,

Matt.
Reply
#29
(2018-10-07, 22:56)fritsch Wrote: I am still quite interested why it outputs stereo for you, which is a point I don't understand. Even if we cannot map the FL FR (SL SR | RL RR) correctly we rather should open a larger layout that at least includes the channels requested.

Can you post yet another Debug Log please? Best with ALSA and pulseaudio, cause pulse might directly open your layout and then we can see what it does under the hood.

Edit: kodi v18 please

Hi fritsch, this link has a log from an early v18 alpha that may help as it appears there’s been no change in the way 4 channel (quad) is handled: https://trac.kodi.tv/ticket/17752

From my earlier tests it appears the Channel Layout is ignored but 4 channels (4.0) defaults back to stereo, unless Kodi audio is set to ‘Fixed’. Problem with Fixed is it causes issues with other channel layouts so it’s not a valid solution to play Quad when a user has many types of mixes (channels and sample rates etc)

THX
Garry
Reply
#30
I will check again later just to be sure I was getting real 4.0 through to the AVR. Note I was using Kodi v18 via a LibreElec x64 build from https://forum.kodi.tv/showthread.php?tid=298462
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi support for Quadraphonic titles (Quad 4.0)1