Jump to content


Photo

DTS Downmix Of Audio Streams for Dreambox

dts dm800se downmix

  • Please log in to reply
125 replies to this topic

Re: DTS Downmix Of Audio Streams for Dreambox #61 goodsat

  • Member
  • 3 posts

0
Neutral

Posted 13 July 2013 - 10:12

Hello I'm looking compiled OpenPLi-gst-plugin-dvbmediasink to run the AC3 +
if user gstdvbaudiosink.c patched and compiled ipk

and also an explanatory compilation

 

gstdvbaudiosink.c:

 

#define AC3CAPS \
        "audio/x-ac3, " \
        "framed =(boolean) true; " \

+      "audio/x-eac3, " \
+      "framed = (boolean) true; " \

        "audio/x-private1-ac3, " \
        "framed =(boolean) true; "

 

-       else if (!strcmp(type, "audio/x-ac3"))

+      else if (!strcmp(type, "audio/x-ac3") || !strcmp(type, "audio/x-eac3"))
 
 
thanx for patch and compil ipk for dm800se

Edited by goodsat, 13 July 2013 - 10:13.


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

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 13 July 2013 - 11:30

Hello I'm looking compiled OpenPLi-gst-plugin-dvbmediasink to run the AC3 +
if user gstdvbaudiosink.c patched and compiled ipk

and also an explanatory compilation

 

gstdvbaudiosink.c:

 

#define AC3CAPS \
        "audio/x-ac3, " \
        "framed =(boolean) true; " \

+      "audio/x-eac3, " \
+      "framed = (boolean) true; " \

        "audio/x-private1-ac3, " \
        "framed =(boolean) true; "

 

-       else if (!strcmp(type, "audio/x-ac3"))

+      else if (!strcmp(type, "audio/x-ac3") || !strcmp(type, "audio/x-eac3"))
 
 
thanx for patch and compil ipk for dm800se

 

Do you have a sample with AC3+?

 

I am not so sure that AC3+ is backward compatible with AC3. Probably AC3+ must downmixed (like we do with the DTS).


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 #63 goodsat

  • Member
  • 3 posts

0
Neutral

Posted 13 July 2013 - 11:42

hi athoik i am send link (my private ftp ) ts files private message  and ( audio/x-ac3 = dolby digital ) (audio/x-eac3 = dolby digital plus or E-AC3)

 

patch based :

http://dev.duckbox.i...61ce35954152e16

 


Audio #1
ID                                       : 2002 (0x7D2)
Menu ID                                  : 3000 (0xBB8)
Format                                   : E-AC-3
Format/Info                              : Audio Coding 3
Format settings, Endianness              : Big
Codec ID                                 : 6
Duration                                 : 42s 80ms
Bit rate mode                            : Constant
Bit rate                                 : 128 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : -792ms
Stream size                              : 658 KiB (1%)
Language                                 : French



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

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 13 July 2013 - 12:00

hi athoik i am send link (my private ftp ) ts files private message  and ( audio/x-ac3 = dolby digital ) (audio/x-eac3 = dolby digital plus or E-AC3)

ts files will not be played back using the dvbaudiosink, so AC3+ in ts files should already work (if your stb supports the codec).

patch based :
http://dev.duckbox.i...61ce35954152e16

That won't work, you need to select a different codec for AC3+.
If you have a sample media file (no ts), I can try to make it work.

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

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 13 July 2013 - 12:59

ts files will not be played back using the dvbaudiosink, so AC3+ in ts files should already work (if your stb supports the codec).That won't work, you need to select a different codec for AC3+.
If you have a sample media file (no ts), I can try to make it work.

 

Changing .ts extension to .mkv will force to use the dvbaudiosink.


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 #66 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 13 July 2013 - 13:03

yes, or using gst-launch would do the same.

But my point is, if the ts does not work, it cannot be fixed with a gstreamer patch.
It probably means the box does not support AC3+.

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

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 13 July 2013 - 15:19

In that case something like 'Downmixed DTS' might be more informative

 

gst_tag_list_add on dtsdownmix is not working... (https://github.com/a...b60a30088a0bfb2)

 

Probably the codec name description  is handled from the demuxer (eg matroskademux).

 

We can handle this inside getTrackInfo:

 

Also the gstCheckAudioPad is returning atUnknown for audio/x-private1-lpcm? We need to add atLPCM on enum and handle it?

 

 

...
        else if ( gst_structure_has_name (structure, "audio/x-raw-int") )
                return atPCM;
        else if ( gst_structure_has_name (structure, "audio/x-private1-lpcm") )
                return atLPCM;
....

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 #68 goodsat

  • Member
  • 3 posts

0
Neutral

Posted 13 July 2013 - 15:29

hi xtreand , vu+ etc... use internal driver for decoding AC3 ans AC3+ , dreambox not decoding AC3 and ac3+   gstreamer patch for use ac3 and not patch for use ac3+

 

please patch for support ac3+ in dreambox

 

 

gstdvbaudiosink.c:

 

#define AC3CAPS \
        "audio/x-ac3, " \
        "framed =(boolean) true; " \

+      "audio/x-eac3, " \
+      "framed = (boolean) true; " \

        "audio/x-private1-ac3, " \
        "framed =(boolean) true; "

 

-       else if (!strcmp(type, "audio/x-ac3"))

+      else if (!strcmp(type, "audio/x-ac3") || !strcmp(type, "audio/x-eac3"))
 
else if (!strcmp(type, "audio/x-ac3")) if ac3 detected decoding (gst get audio format) not detected ac3+ = not suport
else if (!strcmp(type, "audio/x-ac3") || !strcmp(type, "audio/x-eac3")) =   if ac3 or ac3+ detected decoding (gst get audio format)


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

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 13 July 2013 - 16:59

please patch for support ac3+ in dreambox

 

DDM must release new drivers with AC3+ support.

 

...

as soon as dolby finally issues the ac3+ license to dream multimedia, broadcom will supply us with that microcode so that dreamboxes can play those streams

...

 

http://www.dream-mul...ad&postID=79753

http://www.dream-mul...&threadID=11341

http://www.dream-mul...ad&postID=90863

 

Possible Solutions (live channels):

 

1. Get an STB that supports AC3+

2. IF passthrough is working, hear sound from TV/Amplifier capable receiving AC3+

 

Possible Solutions (media):

 

1. There are some libraries out there that support AC3+ (eac3to, libav, aften). But i think its really hard to create eac3downmix GStreamer sink can downmix to lpcm or to AC3.

2. Convert AC3+ to AC3/MP3/AAC and remux container.

 

 

Conclusion: Probably forget AC3+ on dreambox for live channels. 

 

PS. It's really sad that DDM not releasing new drivers with AC+ all those years, probably this is happening because of small adaption of Dolby Digital Plus.


Edited by athoik, 13 July 2013 - 17:03.

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 #70 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 13 July 2013 - 19:23

We can handle this inside getTrackInfo:

 

Dear @pieterg

 

I created a patch here changing getTrackInfo. The informative message "Downmixed DTS" is displayed almost correctly now.

 

Attached File  downmixed_dts.jpg   43.21KB   55 downloads

 

Probably we need to reduce the space between the number and codec informaton (_ is space), is there any skinner watching?

1____Downmixed [ English
1_Downmixed DTS  English

 

Do you think patch is ok?

 

Do you want me to submit the patch using Sourceforge Merge or attach the patch here?

 

PS. Skin is the OpenPLi default one.


Edited by athoik, 13 July 2013 - 19:25.

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 #71 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 13 July 2013 - 21:18

no, not all lpcm is downmixed dts (in fact, most of the time it will just be lpcm)

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

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 13 July 2013 - 21:20

hi xtreand , vu+ etc... use internal driver for decoding AC3 ans AC3+ , dreambox not decoding AC3 and ac3+   gstreamer patch for use ac3 and not patch for use ac3+
 
please patch for support ac3+ in dreambox

no, again, gstreamer is not used to playback ts.
So even if the patch were correct (which it isn't for the various reasons I've given above and in PM), it would not help you to playback ts files.

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

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 14 July 2013 - 06:22

no, not all lpcm is downmixed dts (in fact, most of the time it will just be lpcm)

 

You are right, there is a better way, using gst_tag_list_add.

 

Spoiler

 

Now "Downmixed DTS" information will shown only if dtsdownmix is plugged.

 

Do you think now its ok?


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 #74 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 14 July 2013 - 07:27

Here are the patches also:

 

1. Update OpenPLi dvbmediank

 

Attached File  0001-Set-Codec-Information-to-Downmixed-DTS.patch.txt   855bytes   30 downloads

 

2. Update Dreambox dtsdownmix (same patch applies, i just need to push it)

 

https://github.com/a...evelop?expand=1

 

3. Bump PR to dvbmediasink and dtsdownmix

 

Attached File  0001-dtsdownmix-bump-PR.patch.txt   1.35KB   13 downloads

 

 

Regarding the skin issue i must create another post under Skins?


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 #75 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 14 July 2013 - 08:37

You don't need to bump PR on normal dvbmediasink. You only need it, if you are changing the bb file or if another package has changed and this is used but not included in the dependencies.
@pieterg: Correct me please when I'm wrong.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

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

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 14 July 2013 - 09:25

Why do you need that downmixed dts in the audio selection?

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 #77 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 14 July 2013 - 09:35

Why do you need that downmixed dts in the audio selection?

 

It;s more user friendly, and you know that the audio you are listening is downmixed.

 

If you switch to passthrough the (DTS audio) will have the original name returned by the demuxer (eg matroskademux returns DTS audio).


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 #78 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 14 July 2013 - 09:37

But you can do the switch with the red button???

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 #79 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 14 July 2013 - 09:47

There's no change in functionality. You only see a user friendly track info ("Downmixed DTS" instead of "audio/x-private1-lpcm").

 

And for the other skin issue athoik has openend another thread: http://openpli.org/f...audioselection/


Edited by betacentauri, 14 July 2013 - 09:47.

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

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

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 14 July 2013 - 09:53

But why?... And is it then also added for ac3?... You see downmix on on or off... I suggest this should be enough

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




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