Jump to content


Photo

DTS Downmix Of Audio Streams for Dreambox

dts dm800se downmix

  • Please log in to reply
125 replies to this topic

#1 athoik

  • PLi® Core member
  • 7,867 posts

+291
Excellent

Posted 27 June 2013 - 16:31

Dear All,

Since it is possible to use dtsdownmix with dreambox dvbmediasink i created the project gst-plugin-dtsdownmix (https://github.com/a...ugin-dtsdownmix) based on OpenPLi dvbmediasink (http://sourceforge.n...ci/master/tree/).

It uses only the gstdtsdownmix.c and gstdtsdownmix.h and creates the required gstreamer plugin. The only change made on gstdtsdownmix is to increase the GST_RANK_PRIMARY because dreambox dvbmediasink uses static caps. More info http://openpli.org/f...e-9#entry358307

The following patch adds dtsdownmix on Openpli Oe Core.

 

Attached File  0001-DTS-downmix-of-audio-streams-for-dreambox.patch.txt   1.65KB   62 downloads


Also we need to enable gst-plugin-dtsdownmix and libdca on feeds, but i have never done this before.


Edited by athoik, 27 June 2013 - 16:35.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: DTS Downmix Of Audio Streams for Dreambox #2 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 27 June 2013 - 17:11

BTW, the reason our dvbaudiosink does not use static caps, is because it should be possible to switch the downmix on/off.

By increasing the dtsdownmix element rank, as soon as people install the plugin, they won't be able to use dts passthrough anymore.

Re: DTS Downmix Of Audio Streams for Dreambox #3 Persian Prince

  • Senior Member
  • 1,674 posts

+230
Excellent

Posted 27 June 2013 - 17:18

if you did change PLi's sources so you did wrong because we can't take a look at the changes

 

first fork or merge on a new repo then apply your changes so we can see the changes

 

;)


If you like my post click on green arrow :)

 

Open Vision image for your STB: https://github.com/OpenVisionE2


Re: DTS Downmix Of Audio Streams for Dreambox #4 Persian Prince

  • Senior Member
  • 1,674 posts

+230
Excellent

Posted 27 June 2013 - 17:33

i mean like this : https://github.com/p...in-dvbmediasink


If you like my post click on green arrow :)

 

Open Vision image for your STB: https://github.com/OpenVisionE2


Re: DTS Downmix Of Audio Streams for Dreambox #5 Persian Prince

  • Senior Member
  • 1,674 posts

+230
Excellent

Posted 27 June 2013 - 17:53

correct bitbake file based on my URL


If you like my post click on green arrow :)

 

Open Vision image for your STB: https://github.com/OpenVisionE2


Re: DTS Downmix Of Audio Streams for Dreambox #6 athoik

  • PLi® Core member
  • 7,867 posts

+291
Excellent

Posted 27 June 2013 - 17:59

BTW, the reason our dvbaudiosink does not use static caps, is because it should be possible to switch the downmix on/off.

By increasing the dtsdownmix element rank, as soon as people install the plugin, they won't be able to use dts passthrough anymore.

 

@pieterg, should we create a patch against dreambox dvbmediasink with dynamic caps in order to be able to switch downmix on/off in order to solve the problem? 

 

@persianpros, do you know how to add dtsdownmix and libdca on feeds too?


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: DTS Downmix Of Audio Streams for Dreambox #7 Persian Prince

  • Senior Member
  • 1,674 posts

+230
Excellent

Posted 27 June 2013 - 18:06

i'm Persian Prince not persianpros :)

 

persianpros is our team account

 

yes you can add "libdca0" and "gst-plugin-dtsdownmix" in "OPTIONAL_PACKAGES" : https://sourceforge....penpli-image.bb

 

like :

OPTIONAL_PACKAGES += " \
	libdca0 \
	gst-plugin-dtsdownmix \
	"

Edited by Persian Prince, 27 June 2013 - 18:06.

If you like my post click on green arrow :)

 

Open Vision image for your STB: https://github.com/OpenVisionE2


Re: DTS Downmix Of Audio Streams for Dreambox #8 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 27 June 2013 - 18:36


@pieterg, should we create a patch against dreambox dvbmediasink with dynamic caps in order to be able to switch downmix on/off in order to solve the problem?

Yes, I think that would be best.
Or users should accept that once they installed this plugin, they cannot use DTS passthroug anymore.

@persianpros, do you know how to add dtsdownmix and libdca on feeds too?

You do not need to add them, because they are dependencies of the plugin. Bitbake should take care of installing them.

Re: DTS Downmix Of Audio Streams for Dreambox #9 athoik

  • PLi® Core member
  • 7,867 posts

+291
Excellent

Posted 27 June 2013 - 18:50


@pieterg, should we create a patch against dreambox dvbmediasink with dynamic caps in order to be able to switch downmix on/off in order to solve the problem?

Yes, I think that would be best.
Or users should accept that once they installed this plugin, they cannot use DTS passthroug anymore.

>@persianpros, do you know how to add dtsdownmix and libdca on feeds too?

You do not need to add them, because they are dependencies of the plugin. Bitbake should take care of installing them.

 

 

Please accept  the .bb (Persian Prince or mine) and i will try to create patch for dreambox dvbmediasink on my spare time.

 

 

I know for sure that (free) dtsdownmix is a must have! Users with amplifier they never have to install this...

 

 

PS. I really appreciate your job, thanks.


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: DTS Downmix Of Audio Streams for Dreambox #10 athoik

  • PLi® Core member
  • 7,867 posts

+291
Excellent

Posted 28 June 2013 - 03:49

Dear pieterg,

 

If we change the plugin_init of dtsdownmix to return GST_RANK_PRIMARY when downmix is off and GST_RANK_PRIMARY + 2 when downmix is on would work? (the idea is to have passthrough without patching the dreambox dvbmediasink caps)


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: DTS Downmix Of Audio Streams for Dreambox #11 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 28 June 2013 - 09:11

The ranks are stored in the cache, so runtime changes won't work I'm afraid.

Re: DTS Downmix Of Audio Streams for Dreambox #12 athoik

  • PLi® Core member
  • 7,867 posts

+291
Excellent

Posted 28 June 2013 - 20:34

Dear All,

 

 

A new patch was created.

 

Attached File  0001-Add-DTS-support-on-dreambox-dvbmediasink.patch.txt   5.08KB   34 downloads

 

Dreambox dvbmediasink now is patched to support dtsdownmix. Also dtsdownmix now uses GST_RANK_PRIMARY instead of GST_RANK_PRIMARY + 2.

 

Finally gst-plugin-dtsdownmix was added as depend on dreambox dvbmediasink.

 

 

 

 


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: DTS Downmix Of Audio Streams for Dreambox #13 littlesat

  • PLi® Core member
  • 48,570 posts

+511
Excellent

Posted 28 June 2013 - 21:28

And can you switch off the downmix that way???

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: DTS Downmix Of Audio Streams for Dreambox #14 athoik

  • PLi® Core member
  • 7,867 posts

+291
Excellent

Posted 29 June 2013 - 06:21

And can you switch off the downmix that way???

 

Yes on my tests it works. When the setting is downmix i can hear the sound. When the setting is passthrough i cannot hear the sound (i don't have amplifier).

 

It's the same behaviour like on openpli dvbmediasink, on opepli dvbmediasink you are not adding dts caps when downmix is enabled. On my patch i remove the already added caps when downmix is enabled.


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: DTS Downmix Of Audio Streams for Dreambox #15 Persian Prince

  • Senior Member
  • 1,674 posts

+230
Excellent

Posted 29 June 2013 - 08:11

would you please provide your files in a normal zip file with "bb" and "patch" extensions not like this so i can take a look easily ?


If you like my post click on green arrow :)

 

Open Vision image for your STB: https://github.com/OpenVisionE2


Re: DTS Downmix Of Audio Streams for Dreambox #16 athoik

  • PLi® Core member
  • 7,867 posts

+291
Excellent

Posted 29 June 2013 - 08:31

Why don't you apply patch?

 

git apply 0001-Add-DTS-support-on-dreambox-dvbmediasink.patch

 

http://ariejan.net/2...patch-with-git/


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: DTS Downmix Of Audio Streams for Dreambox #17 Persian Prince

  • Senior Member
  • 1,674 posts

+230
Excellent

Posted 29 June 2013 - 09:52

i'm not using PLi's OE so i can't apply your patch

 

i just need

 

0001-Handle-DTS-Passthrough-and-Downmix.patch

gst-plugin-dtsdownmix.bb

gst-plugin-dreambox-dvbmediasink_0.10.bb

 

files , that's all

 

thanks in advance


If you like my post click on green arrow :)

 

Open Vision image for your STB: https://github.com/OpenVisionE2


Re: DTS Downmix Of Audio Streams for Dreambox #18 athoik

  • PLi® Core member
  • 7,867 posts

+291
Excellent

Posted 29 June 2013 - 10:30

here you go: Attached File  dtsdownmix-for-dreamboxes.zip   2.33KB   84 downloads

 

 

PS. pieterg did you take a look on the patch? Are we ok now?


Edited by athoik, 29 June 2013 - 10:35.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: DTS Downmix Of Audio Streams for Dreambox #19 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 29 June 2013 - 11:57

I think vu+ is using the dream dvbmediasink, so if we apply this, we would probably render (hardware) DTS downmixing unused on vu+ stb's?

Re: DTS Downmix Of Audio Streams for Dreambox #20 athoik

  • PLi® Core member
  • 7,867 posts

+291
Excellent

Posted 29 June 2013 - 12:25

vu+ (include/vuxxo.inc and include/vuxxo2.inc) are using gst-plugin-dvbmediasink.

 

MACHINE_EXTRA_RRECOMMENDS = " \
        vuplus-shutdown \
        gst-plugin-dvbmediasink \
        ntfs-3g \
        "

 

So there is no conflict on vu+ boxes. gst-plugin-dreambox-dvbmediasink is used only by dreamboxes.


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916





Also tagged with one or more of these keywords: dts, dm800se, downmix

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users