Jump to content


Photo

Dd+


  • Please log in to reply
176 replies to this topic

Re: Dd+ #161 clweb

  • Senior Member
  • 54 posts

+1
Neutral

Posted 22 February 2014 - 17:19

I have mad the necessary to create a PLi4 image and it was successful. The image is working.

It did on the box.

With Ubuntu 12.04:

in my home: mkdir pli40

cd pli40

mkdir sources

git clone git://git.code.sf.net/p/openpli/openpli-oe-core

cd openpli-oe-core

make

MACHINE=dm8000 make image

 

I cannot find the source (decoder.cpp) to make the patch for AC3+ (bypass=7)

 

Where are the source files ?

Can anyone give me an advice ?

 

Many thanks in advance.


Edited by clweb, 22 February 2014 - 17:21.


Re: Dd+ #162 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 22 February 2014 - 17:35

You have installed the OpenPLi build environment. You want to patch enigma2. That is another repository.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Dd+ #163 sfasf

  • Member
  • 26 posts

0
Neutral

Posted 23 February 2014 - 18:26

i just noticed that when i manually select AC3+ audio track then this won't be saved. next time when i zap to this channel default audio track is back again. kinda annoying.. AC3 tracks preferences will be saved normally though. i guess some more code parts must be changed..

Re: Dd+ #164 adri

  • Senior Member
  • 373 posts

+5
Neutral

Posted 23 February 2014 - 22:23

i just noticed that when i manually select AC3+ audio track then this won't be saved. next time when i zap to this channel default audio track is back again. kinda annoying.. AC3 tracks preferences will be saved normally though. i guess some more code parts must be changed..

Or maybe just turnoff the 'AC3 preferred' option in setup?



Re: Dd+ #165 sfasf

  • Member
  • 26 posts

0
Neutral

Posted 24 February 2014 - 02:58


i just noticed that when i manually select AC3+ audio track then this won't be saved. next time when i zap to this channel default audio track is back again. kinda annoying.. AC3 tracks preferences will be saved normally though. i guess some more code parts must be changed..

Or maybe just turnoff the 'AC3 preferred' option in setup?


btw, i never turn(ed) this option on. :P are AC3+ options you manually select saved for you when 'AC3 preferred' option is off?

Edited by sfasf, 24 February 2014 - 03:01.


Re: Dd+ #166 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 24 February 2014 - 05:34

I cannot find the source (decoder.cpp) to make the patch for AC3+ (bypass=7)

Where are the source files ?
Can anyone give me an advice ?


You can find the patch some posts ago (page 8).

Then place the patch on sources folder or create a folder enigna2 on the same location where enigma2.bb resides.

Finally create a file named enigma2.bbappend (on the same location with enigma2.bb is ok) and add the following.

PRINC="1"
SRC_URI+="file://the.patch.name...."

Now build will have the extra patch.
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+ #167 clweb

  • Senior Member
  • 54 posts

+1
Neutral

Posted 26 February 2014 - 11:00

Thank you athoik,

The compilation worked, a working image created, but the patch does not seem to be applied, or maybe the code of decoder.cpp

changed and the lines of insertion/deletion have changed.

I get a warning about the patch, but it seem to show the patch is detected.

Here the warning: WARNING: Getting checksum for enigma2 SRC_URI entry patche2.txt: file not found except in DL_DIR

 

The patche2.txt file contains this:

 

diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp
index c9e615c..dd59cb9 100644
--- a/lib/dvb/decoder.cpp
+++ b/lib/dvb/decoder.cpp
@@ -107,7 +107,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
 

 

No other error is shown. Any clues ?



Re: Dd+ #168 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 February 2014 - 14:27

This patch by pass also works on dm8000.



Re: Dd+ #169 clweb

  • Senior Member
  • 54 posts

+1
Neutral

Posted 26 February 2014 - 18:44

Yes,  want to make it work for DM8000.

I regenerated the diff file as decoder.cpp changed since publication of the patch.

I will redo all the work and see if it works.  It should. I can test if the patch is applied  in the decoder.cpp generated after the image creation.



Re: Dd+ #170 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 26 February 2014 - 19:02

The patche2.txt file contains this:

 
No other error is shown. Any clues ?

The problem is that you named the patch patce2.txt originally the patch named 0001-dvb-decoder.cpp-workaround-for-Dreamboxes-DD.patch

The important is the .patch extension.

So rename it and increase PRINC by one (eg PRINC="2").


PS. Here is Satdreamgr image that contains AC3+ patch.

root@dm800se:~# opkg info enigma2 | grep Source:
Source: git://git.code.sf.net/p/openpli/enigma2;protocol=git;branch=master file://0001-Set-default-skin-Satdreamgr-HD.patch file://0001-Satdreamgr-show-media-player-on-menu.patch file://0001-Satdreamgr-InfoBarGenerics-changes.patch file://0001-Satdreamgr-show-softwaremanger-on-setupmenu.patch file://0001-dvb-decoder.cpp-workaround-for-Dreamboxes-DD.patch


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+ #171 clweb

  • Senior Member
  • 54 posts

+1
Neutral

Posted 27 February 2014 - 10:42

Thank you athoik.

 

I managed to get what I want with a simpler way.

Installed Satdreamgr on my DM8000. VIa FTP tranfer engma2 (/usr/bin) on the PC.

Then install PLi4 on the box. Via Telnet : init 5 (to stop Enigma), then via FTP transfer Enigma2 from PC to box.

The via Telnet init 3 to restart Enigma.

It is clear that any online update may reinstall an unpatched Enigma2. But as all runs I will not make online updates.

 

The Satdreamgr is a nice image, but I miss the access to my plugins (Bitrate,Fancontrol,Sherlock, Letterbox Zoom)

via the blue key.



Re: Dd+ #172 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 27 February 2014 - 17:11

I think you get the same with long press. Anyway since this solution works for you 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: Dd+ #173 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 17 May 2016 - 18:53

Nice to see it being merged for Dreambox receivers after such a long time :)

However the patch I was using in my images also had this part as well:

--- enigma2/lib/dvb/decoder.cpp.orig    2016-05-17 00:09:37.456214638 +0200
+++ enigma2/lib/dvb/decoder.cpp    2016-05-17 00:11:33.179963207 +0200
@@ -124,6 +124,12 @@
 #else
         bypass = 0x22;
 #endif
+        case aPCM:
+#ifdef DREAMBOX
+            bypass = 0xf;
+#else
+            bypass = 0x30;
+#endif
         break;
         }
 
--- enigma2/lib/dvb/decoder.h.orig    2016-05-17 00:12:16.204776778 +0200
+++ enigma2/lib/dvb/decoder.h    2016-05-17 00:12:44.553995035 +0200
@@ -13,7 +13,7 @@
     ePtr<eDVBDemux> m_demux;
     int m_fd, m_fd_demux, m_dev, m_is_freezed;
 public:
-    enum { aMPEG, aAC3, aDTS, aAAC, aAACHE, aLPCM, aDTSHD, aDDP };
+    enum { aMPEG, aAC3, aDTS, aAAC, aAACHE, aLPCM, aDTSHD, aDDP, aPCM };
     eDVBAudio(eDVBDemux *demux, int dev);
     enum { aMonoLeft, aStereo, aMonoRight };
     void setChannel(int channel);

 

I don't know if there are any receivers out there supporting hardware decoding of PCM?



Re: Dd+ #174 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 17 May 2016 - 19:48

Did you ever see a channel with PCM sound? ;)
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+ #175 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 17 May 2016 - 20:07

I wouldn't know to be honest.. but using PCM audio on a dvb pes would be far from efficient I guess:P

Just got the patch a long time ago, but I forgot who sent it to me.

But since the aPCM case also has a ifdef for Dreambox, I guess the driver supports hardware decoding of PCM audio for dvb streams, so maybe they exist..



Re: Dd+ #176 Trial

  • Senior Member
  • 1,128 posts

+34
Good

Posted 18 May 2016 - 08:07

Hi,

PCM is often used in high res music files.

 

ciao



Re: Dd+ #177 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 18 May 2016 - 08:27


... and that is handled just fine using GStreamer, we know that.

So the question remains, is there any channel that uses PCM as 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


4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users