Jump to content


Photo

Dd+


  • Please log in to reply
176 replies to this topic

Re: Dd+ #101 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 16 October 2013 - 19:28

Hello,


Here is a log using media player of Merlin3 and OpenPLi 4.

Attached File  OpenPLi4_Merlin3_AC3PLus.zip   153.26KB   47 downloads

In Merlin3 logs i can see the following (when i play a file with AC3Plus sound):
write(2, "AUDIO_SET_BYPASS(7) - ", 22AUDIO_SET_BYPASS(7) - )  = 22
ioctl(54, AUDIO_SET_BYPASS_MODE, 0x7)   = 0
In OpenPLi there is no audio set bypass 0x7.

Here is the sample i used for testing.

video-HD1.ts (43.9 MB)
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: Dd+ #102 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 16 October 2013 - 19:34

tough luck then, OpenPLi enigma2 uses 0x22 for AC3+

Re: Dd+ #103 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 16 October 2013 - 19:49

tough luck then, OpenPLi enigma2 uses 0x22 for AC3+

Can you show us the file that 0x22 is defined?

Something like the following is a possible solution?
#ifdef dreambox 
 0x7
#else
 0x22
#endif
Or it can be done in runtime reading the /proc/stb/info/model and so on?

Edited by athoik, 16 October 2013 - 19:49.

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: Dd+ #104 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 16 October 2013 - 20:02

http://sourceforge.n...dvb/decoder.cpp
Lines 34-100
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Dd+ #105 WanWizard

  • PLi® Core member
  • 70,381 posts

+1,807
Excellent

Posted 16 October 2013 - 20:14

We already added AC3+ support on 2011-04-09, long before DMM.

 

Since they seem to be very good at reading our code at times, this leaves you wondering why they decided to use 0x7 and break compatibility...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Dd+ #106 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 16 October 2013 - 20:17

Their (closed) code, their rules!

Something like the following is acceptable solution?
if (::access("/proc/stb/info/model", R_OK) >= 0)
   bypass = 7
else
   bypass = 0x22
Edit1. But a customer might choose another STB brand next time.. ;)

Edited by athoik, 16 October 2013 - 20:21.

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: Dd+ #107 WanWizard

  • PLi® Core member
  • 70,381 posts

+1,807
Excellent

Posted 16 October 2013 - 20:22

True. But then don't expect us to bend to their rules.

 

It may be an indication they don't want OpenPLi on DMM boxes. If so, so be it then. We don't loose money when nobody buys them anymore...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Dd+ #108 Meega

  • Senior Member
  • 3,000 posts

+51
Good

Posted 16 October 2013 - 20:31

Edit1. But a customer might choose another STB brand next time.. ;)

Yep ,me!!


ET10000+ Openpli 6.1,1m schotel 4x duo-lnb op vaste opstelling.

Momolights teensy 2.0 met 50 leds op een string ,150 channels
DM8000 Openpli 6.1 Release


Re: Dd+ #109 DM800SE

  • Member
  • 8 posts

0
Neutral

Posted 16 October 2013 - 20:46

And the developers of OpenPLi will implement the codec AC3+ in these images?

 

Thanks.



Re: Dd+ #110 WanWizard

  • PLi® Core member
  • 70,381 posts

+1,807
Excellent

Posted 16 October 2013 - 20:49

As I wrote, OpenPLi images already support AC3+ since April 2011.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Dd+ #111 DM800SE

  • Member
  • 8 posts

0
Neutral

Posted 16 October 2013 - 21:18

As I wrote, OpenPLi images already support AC3+ since April 2011.

 

But OpenPLI includes drivers in your images?

 

Thanks.



Re: Dd+ #112 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 16 October 2013 - 21:41

Ask DMM to change 0x7 to 0x22...


on the Glassfibre 1GB DVB-C...


Re: Dd+ #113 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 16 October 2013 - 22:29

Ask DMM to change 0x7 to 0x22...

In the meanwhile the following patch uses 0x7 when box is DMM.

Attached File  0001-Use-different-bypass-for-DD-when-box-is-DMM.patch.txt   675bytes   64 downloads
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: Dd+ #114 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 16 October 2013 - 22:55

Ask DMM to change 0x7 to 0x22...

 

By reading this answer, I understand that Openpli won't change this Little thing to give DMM boxes AC3+ audio.

If it's true, DMM users will have to use other images.....


Enigma is getting old....

 

Spoiler

Re: Dd+ #115 DM800SE

  • Member
  • 8 posts

0
Neutral

Posted 16 October 2013 - 23:06

Ask DMM to change 0x7 to 0x22...

 

By reading this answer, I understand that Openpli won't change this Little thing to give DMM boxes AC3+ audio.

If it's true, DMM users will have to use other images.....

 

I think the same like you...



Re: Dd+ #116 DM800SE

  • Member
  • 8 posts

0
Neutral

Posted 16 October 2013 - 23:19

As I wrote, OpenPLi images already support AC3+ since April 2011.

 

This is not a support, is a patch. If you don't put OFF the ac3 downmix, the AC3+ don't hear... In other images (OoZooN, Merlin, Newnigma2, etc) AC3+ sound is heard without putting the ac3+ downmix OFF...


Edited by DM800SE, 16 October 2013 - 23:20.


Re: Dd+ #117 WanWizard

  • PLi® Core member
  • 70,381 posts

+1,807
Excellent

Posted 16 October 2013 - 23:27

The images you mention are DMM images. Using their closes source binary. We don't use DMM code, we use OpenPLi code. Only the binary platform drivers are supplied by the hardware vendor.

 

The more they put in their closed source binary, and the more non-standard stuff they put in their drivers, the more difficult it will be for us to keep supporting Dreamboxes. At the moment we're the only open source team that still does. And we don't like to add hacks to our code to work around idiotic descisions made by vendors.

 

If a vendor wants OpenPLi to support their hardware (and most do because it sells), then they have to put the effort in. We are not in the business to make them sell boxes. We don't make a penny if DMM sells more. If you want OpenPLi, don't buy a Dreambox.

 

If this goes on, I would not be suprised that in the future there will not be an OpenPLi for a Dreambox. We already don't support the v2 box series, and of the ones we do support, one is stuck at 2.1.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Dd+ #118 littlesat

  • PLi® Core member
  • 57,117 posts

+698
Excellent

Posted 17 October 2013 - 08:21

And if it should be patched we do not want code such as if DMM box then in our code... Then it should be done approx like we did for the remote issue on the VU....

If you want OpenPLi, don't buy a Dreambox.

This is indeed a good recommendation especially when you want to buy a box with open source software... and in addition it seems you save money :D

 

But still it is extreme wierd that DMM starts to support DD+ suddenly after years of not doing this and then they do not follow the standard..???


Edited by littlesat, 17 October 2013 - 08:23.

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


Re: Dd+ #119 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 17 October 2013 - 11:53

Dreambox Ticket System : http://tickets.dream...trs/customer.pl

Go Ahead, start opening tickets requesting from DMM to change the ioctrl from 0x7 to 0x22 for DD+ (bypass = 0x22)

By the way there is no standard for 0x22, It's just ET that implement this first and used 0x22.

Standards require an organazation to standarize it... (eg http://www.dvb.org/standards)

Edited by athoik, 17 October 2013 - 11:54.

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: Dd+ #120 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 17 October 2013 - 15:01

Hello,

This is my second patch for DD+. It uses compiler preprocessor, so there is no need to check if a file exists using access.
Subject: [PATCH] dvb/decoder.cpp: workaround for Dreamboxes DD+

Dreamboxes added after many years DD+ support, but they don't like
to follow "standards", breaking existing Open Source implementations.

This patch will use bypass 0x7 for Dreamboxes (only) instead of the well known 0x22.

diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp
index 174d6cf..e242f11 100644
--- a/lib/dvb/decoder.cpp
+++ b/lib/dvb/decoder.cpp
@@ -82,7 +82,11 @@ int eDVBAudio::startPid(int pid, int type)
 		bypass = 0x10;
 		break;
 	case aDDP:
+#ifdef DREAMBOX
+		bypass = 7;
+#else
 		bypass = 0x22;
+#endif
 		break;
 	}
 
-- 
1.7.10.4

Attached Files


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


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users