Kodi Community Forum
[Project] Dual Audio Output support (Krypton/Jarvis/Isengard/Helix/Gotham/Frodo) - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
--- Thread: [Project] Dual Audio Output support (Krypton/Jarvis/Isengard/Helix/Gotham/Frodo) (/showthread.php?tid=192480)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48


RE: [Project] Return of the Dual Audio Output support (Isengard/Helix/Gotham/Frodo) - mambro - 2017-02-19

silence Huh


RE: [Project] Return of the Dual Audio Output support (Isengard/Helix/Gotham/Frodo) - Farseer - 2017-02-22

(2017-02-06, 13:00)mambro Wrote: Kody Krypton is out!

I hope someone continue the work on the dual audio patches Big Grin

And now it looks like LibreElec Krypton is out, too. Smile
https://libreelec.tv/2017/02/libreelec-krypton-v8-0-0-release/


RE: [Project] Dual Audio Output support (Javis/Isengard/Helix/Gotham/Frodo) - xhbl - 2017-02-25

It's been long time I haven't updated this post. Recently I got some time to update to Jarvis but not Krypton since Krypton has rewritten a new video player, which also means new dual audio support code needs to be developed for it. This might need quite some time because first I need to dig into this new video player code. Let's see if I'm lucky to dissect it.


RE: [Project] Dual Audio Output support (Javis/Isengard/Helix/Gotham/Frodo) - jlazkano - 2017-02-25

(2017-02-25, 08:43)xhbl Wrote: It's been long time I haven't updated this post. Recently I got some time to update to Jarvis but not Krypton since Krypton has rewritten a new video player, which also means new dual audio support code needs to be developed for it. This might need quite some time because first I need to dig into this new video player code. Let's see if I'm lucky to dissect it.
Great!


RE: [Project] Dual Audio Output support (Jarvis/Isengard/Helix/Gotham/Frodo) - mambro - 2017-02-25

(2017-02-25, 08:43)xhbl Wrote: It's been long time I haven't updated this post. Recently I got some time to update to Jarvis but not Krypton since Krypton has rewritten a new video player, which also means new dual audio support code needs to be developed for it. This might need quite some time because first I need to dig into this new video player code. Let's see if I'm lucky to dissect it.

xhbl 4 president!!!! NodNod


RE: [Project] Dual Audio Output support (Jarvis/Isengard/Helix/Gotham/Frodo) - Mettbrot - 2017-02-26

If you invest time in this maybe you want to work on a permanent solution which can be included into mainline? I bet you can get an overview of what it takes from one of the knowledgable devs in the area, I bet FernetMenta has a take on how the architecture should look like ideally Smile

The way its done on most set top boxes/SAT or cable boxes is without any configuration: Select the Output with the most channels in audio settings and every detected output on the system with less channels automatically gets a downmixed (stereo) signal.


RE: [Project] Dual Audio Output support (Jarvis/Isengard/Helix/Gotham/Frodo) - methcat - 2017-02-26

(2017-02-26, 13:40)Mettbrot Wrote: If you invest time in this maybe you want to work on a permanent solution which can be included into mainline? I bet you can get an overview of what it takes from one of the knowledgable devs in the area, I bet FernetMenta has a take on how the architecture should look like ideally Smile

The way its done on most set top boxes/SAT or cable boxes is without any configuration: Select the Output with the most channels in audio settings and every detected output on the system with less channels automatically gets a downmixed (stereo) signal.

it's been a few years since i've read through this whole thread, but i'm pretty sure there were some reasons this was specifically not accepted in the main branch, things may have changed, but they were fundamental usage decisions, and not based on technical ability to do so.

thanks xhbl for your long time work on this, i've been using these builds exclusively since i can remember.


RE: [Project] Dual Audio Output support (Jarvis/Isengard/Helix/Gotham/Frodo) - methcat - 2017-02-26

(2017-02-25, 08:43)xhbl Wrote: It's been long time I haven't updated this post. Recently I got some time to update to Jarvis but not Krypton since Krypton has rewritten a new video player, which also means new dual audio support code needs to be developed for it. This might need quite some time because first I need to dig into this new video player code. Let's see if I'm lucky to dissect it.

i saw the update on the main page, thanks! is there any notable difference to using this or the libreelec 7.0.2 that darkangel posted last july? that was the first libre build i've tried, but hasn't really seemed any different to me other than the splash screen.


RE: [Project] Dual Audio Output support (Jarvis/Isengard/Helix/Gotham/Frodo) - Mettbrot - 2017-02-27

(2017-02-26, 20:27)methcat Wrote:
(2017-02-26, 13:40)Mettbrot Wrote: If you invest time in this maybe you want to work on a permanent solution which can be included into mainline? I bet you can get an overview of what it takes from one of the knowledgable devs in the area, I bet FernetMenta has a take on how the architecture should look like ideally Smile

The way its done on most set top boxes/SAT or cable boxes is without any configuration: Select the Output with the most channels in audio settings and every detected output on the system with less channels automatically gets a downmixed (stereo) signal.

it's been a few years since i've read through this whole thread, but i'm pretty sure there were some reasons this was specifically not accepted in the main branch, things may have changed, but they were fundamental usage decisions, and not based on technical ability to do so.

thanks xhbl for your long time work on this, i've been using these builds exclusively since i can remember.

The reasons lie in the current architecture of this patch (duplicating AE), not in the feature itsself: http://forum.kodi.tv/showthread.php?tid=192480&pid=2074153#pid2074153 and the following 10 posts is a good start.
I bet the offer to help find a better solution still stands...


RE: [Project] Dual Audio Output support (Jarvis/Isengard/Helix/Gotham/Frodo) - xhbl - 2017-02-27

(2017-02-27, 11:57)Mettbrot Wrote: The reasons lie in the current architecture of this patch (duplicating AE), not in the feature itsself: http://forum.kodi.tv/showthread.php?tid=192480&pid=2074153#pid2074153 and the following 10 posts is a good start.
I bet the offer to help find a better solution still stands...

Technically AE is NOT duplicated in this project. In terms of Object-Oriented paradigm, just two AE instances are created in the factory. AE itself as an object is kept intact, only some global audio settings and player interface code are duplicated. Also, if it is named as an engine, I bet we've heard of a twin-engine airplane.

The reason is that it will be a significant impact to the architecture if taking dual (or multiple) audio into consideration of current AE. AE handles a lot of things like audio codec processing, decoding, pass-through, recording, DSP etc., as well as device (sink) handling. it will be very hard to process additional audio within one AE, not to mention another big issue - synchronization between these audios plus video. In a word, complexity.


RE: [Project] Dual Audio Output support (Jarvis/Isengard/Helix/Gotham/Frodo) - xhbl - 2017-02-27

(2017-02-26, 20:42)methcat Wrote: i saw the update on the main page, thanks! is there any notable difference to using this or the libreelec 7.0.2 that darkangel posted last july? that was the first libre build i've tried, but hasn't really seemed any different to me other than the splash screen.

I think the darkangel posted used my old patch inherited from Isengard, which has a potential memory fault bug for video playback when 2nd audio is disabled, another thing is Jarvis added DSP support not included in it.
LibreELEC seems to be a split of OpenELEC, but now updating faster, I just added support for it.


RE: [Project] Dual Audio Output support (Jarvis/Isengard/Helix/Gotham/Frodo) - FernetMenta - 2017-02-28

(2017-02-27, 21:09)xhbl Wrote:
(2017-02-27, 11:57)Mettbrot Wrote: The reasons lie in the current architecture of this patch (duplicating AE), not in the feature itsself: http://forum.kodi.tv/showthread.php?tid=192480&pid=2074153#pid2074153 and the following 10 posts is a good start.
I bet the offer to help find a better solution still stands...

Technically AE is NOT duplicated in this project. In terms of Object-Oriented paradigm, just two AE instances are created in the factory. AE itself as an object is kept intact, only some global audio settings and player interface code are duplicated. Also, if it is named as an engine, I bet we've heard of a twin-engine airplane.

The reason is that it will be a significant impact to the architecture if taking dual (or multiple) audio into consideration of current AE. AE handles a lot of things like audio codec processing, decoding, pass-through, recording, DSP etc., as well as device (sink) handling. it will be very hard to process additional audio within one AE, not to mention another big issue - synchronization between these audios plus video. In a word, complexity.

you are very wrong with that


RE: [Project] Dual Audio Output support (Jarvis/Isengard/Helix/Gotham/Frodo) - jlazkano - 2017-02-28

Hello,

One question: is possible to manage the dual audio with PulseAudio?

Best regards.


RE: [Project] Dual Audio Output support (Krypton/Jarvis/Isengard/Helix/Gotham/Frodo) - xhbl - 2017-03-13

Well, Krypton supported now, enjoy!


RE: [Project] Dual Audio Output support (Krypton/Jarvis/Isengard/Helix/Gotham/Frodo) - tullm - 2017-03-13

Thank you so much! Great

Gesendet von meinem SM-G935F mit Tapatalk


This forum uses Lukasz Tkacz MyBB addons.