Jump to content


Photo

Openpli-5 (still next master)


  • Please log in to reply
1177 replies to this topic

Re: Openpli-5 (still next master) #481 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 12 October 2016 - 12:06

Gstreamer 1.9.90 recipes one extra patch for hls streams. They do start better now but hls still not 100 % on gstreamer by an stb. Main cause is fact that we can't run in sync on a stb.

 

 

Attached Files



Re: Openpli-5 (still next master) #482 Beeker

  • PLi® Contributor
  • 1,489 posts

+199
Excellent

Posted 12 October 2016 - 16:38

O yes I forgot also to build e2 with last master-next also something must be changed. And update somewhere caused that into :

 

lib/gdi/picload.cpp

 

function call

DGifOpenFileName(filepara->file);

is not ok any more they to require an integer value as second parameter, and it has something to do with error-management. I as A hack used patch below in order to work-around I used 0 since in error management ussually it means ok.

 

But this is a hack as I do not really now what they wan't the guys who changed that.

 

https://github.com/O...f26ed507f1a20ef

 

Probably you override this patch by a bbappend?


Edited by Beeker, 12 October 2016 - 16:39.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Openpli-5 (still next master) #483 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 12 October 2016 - 16:59

Whats the difference between base_contains and bb.utils.contains?

Re: Openpli-5 (still next master) #484 Beeker

  • PLi® Contributor
  • 1,489 posts

+199
Excellent

Posted 12 October 2016 - 17:03

This is what i found

 

http://lists.genivi....ber/000278.html

 

Quote:

Globally replace 'base_contains' calls with 'bb.utils.contains'
>
>    The base_contains is kept as a compatibility method and we ought to not
>    use it in OE-Core so we can remove it from base metadata in future.

Edited by Beeker, 12 October 2016 - 17:04.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Openpli-5 (still next master) #485 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 12 October 2016 - 17:08

 

O yes I forgot also to build e2 with last master-next also something must be changed. And update somewhere caused that into :

 

lib/gdi/picload.cpp

 

function call

DGifOpenFileName(filepara->file);

is not ok any more they to require an integer value as second parameter, and it has something to do with error-management. I as A hack used patch below in order to work-around I used 0 since in error management ussually it means ok.

 

But this is a hack as I do not really now what they wan't the guys who changed that.

 

https://github.com/O...f26ed507f1a20ef

 

Probably you override this patch by a bbappend?

 

Right on spot thanks (cause I use next-master with bbappend in meta-local the src uri is first over-ridden which means the plus needs to be ad again as well)

 

And ad the same time its an output for error code I see now. :)


Edited by christophecvr, 12 October 2016 - 17:09.


Re: Openpli-5 (still next master) #486 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 12 October 2016 - 17:11

Use SRC_URI_append instead.

SRC_URI_append = " file://xxx.patch "

Edited by athoik, 12 October 2016 - 17:11.

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: Openpli-5 (still next master) #487 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 12 October 2016 - 17:11

Whats the difference between base_contains and bb.utils.contains?

bb.utils.contains has just replaced the base_contains with the new bitbake used



Re: Openpli-5 (still next master) #488 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 12 October 2016 - 17:16

Use SRC_URI_append instead.

SRC_URI_append = " file://xxx.patch "

now cause sometimes it will just append to the existing uri. So it's SRC_URI +=

 

so the base URI for example

 

https://test.com/tes...t;protocol=http

 

will become https://test.com/tes...ile://xxx.patch


Edited by christophecvr, 12 October 2016 - 17:17.


Re: Openpli-5 (still next master) #489 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 13 October 2016 - 14:29

Ter info now in case off enigma2 I do not need to change the base SRC_URI if I wan't next master branch. Just need to change ENIGMA2_BRANCH = "next_master"

 

So a local enigma2 (bb append) with an extra personal patch and for example here an extra gstreamer plugin will look like :

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRCREV = "f503508fd21f7f058942fa95bcf2568b3a0c41a7"
#SRCREV = "${AUTOREV}"

ENIGMA2_BRANCH = "next-master"

SRC_URI += "file://e2-DebugLevel-Configurable-trough-user-interface_4.patch \
"
RRECOMMENDS_${PN} += " \
					gstreamer1.0-plugins-bad-hls \
"

# added to have al m4 macro's into build when using bitbake with -b option.
# Then proceeding to full image build or at least package build with recipes parsing is not needed.
do_configure_prepend() {
	ln -sf ${STAGING_DATADIR_NATIVE}/aclocal/*.m4 ${S}/m4/
}

What I do.

 

First stick to a specific revision (handy if you're working to something in e2)

I changed just the branch from master to next master.

I added a personal patch

I added a recommended gstreamer plugin for hls streams.

I made it possible to build only enigma2 (with -B) option to avoid full recipes parsing much faster when you're testing some things You're working on.



Re: Openpli-5 (still next master) #490 janejak

  • Senior Member
  • 284 posts

+11
Neutral

Posted 15 October 2016 - 01:34

alot more fun to compile OpenPli5 now with my new pc from my old ThinkPad T500 2 core to my new desktop 3.6 GHz 4 core I7 cpu hehe



Re: Openpli-5 (still next master) #491 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 15 October 2016 - 22:31

Yes That's like that I noticed same .

 

small type when You're building limit the max core used to 3 (or 6 threads) that is still going very fast and then you can use you're pc for other things as well.

 

modify site.conf by setting

BB_NUMBER_THREADS = "6"
PARALLEL_MAKE = "-j 6"


Re: Openpli-5 (still next master) #492 MiLo

  • PLi® Core member
  • 14,052 posts

+298
Excellent

Posted 16 October 2016 - 08:41

Just put the word "nice" before bitbake and you'll hardly notice it's running. That's what I do.

For the I/O part, I always add this to /etc/sysctl.conf to make the system more responsive:

vm.dirty_writeback_centisecs=900
vm.dirty_expire_centisecs=15000
vm.swappiness=10
vm.dirty_ratio=33
vm.vfs_cache_pressure=60
And if you run a recent Ubuntu, change the I/O scheduler to "cfq" instead of the braindead "deadline" scheduler that for reasons unknown suddenly became the default scheduler by adding 'elevator=cfq' to the kernel cmdline.
Real musicians never die - they just decompose

Re: Openpli-5 (still next master) #493 NoxBox

  • Member
  • 9 posts

0
Neutral

Posted 17 October 2016 - 17:44

Hi, I have a problem about OPENPLI  with file .ts sound AAC-HE from DVB-T2.

I found dvbmediasink not have a code for MPEG-4 AAC code infomation (audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)24000, channels=(int)1, stream-format=(string)loas)
I use patch from mx3L topic (http://forums.openpl...ndpost&p=518057) is work have sound. But, still have a problem. If have rate=(int)48000 sound not smooth and no sound anymore. But, have a rate=(int)24000 is smooth not have a problem.

I test  service reference with sound MPEG-4 AAC (audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)48000, channels=(int)1, stream-format=(string)loas)
service reference 1 =  not have a problem
service reference 4097 =  have a problem with rate=(int)48000, But rate=(int)24000 not have a problem
service reference 5002 (extplayer3) =  not have a problem

https://dl.dropboxus...671/zTEST/ok.ts
- MPEG-4 AAC (audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)24000, channels=(int)1, stream-format=(string)loas)
- MPEG-4 AAC (audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)24000, channels=(int)1, stream-format=(string)loas)
- H.264 (video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal, parsed=(boolean)true)

https://dl.dropboxus...zTEST/not-ok.ts
- MPEG-4 AAC (audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)48000, channels=(int)1, stream-format=(string)loas)
- MPEG-4 AAC (audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)48000, channels=(int)1, stream-format=(string)loas)
- MPEG-4 AAC (audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)48000, channels=(int)1, stream-format=(string)loas)
- H.264 (video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal, parsed=(boolean)true)

I don't know how to fix or chenage sample rate48000 to 28000.
Please help me, Thank you.



Re: Openpli-5 (still next master) #494 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 17 October 2016 - 19:37

Hi Guys, 

How can I fix this error please ?!

P.s: I'm using my fork enigma2 source not pli source

base.Tpo -c -o base/encoding.o ../../git/lib/base/encoding.cpp &&\
| 	mv -f $depbase.Tpo $depbase.Po
| ../../git/lib/base/eerror.cpp: In function 'void retrieveLogBuffer(const char**, unsigned int*, const char**, unsigned int*)':
| ../../git/lib/base/eerror.cpp:122:9: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
|    *s2 = NULL;
|          ^~~~
| depbase=`echo base/estring.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
| 	mipsel-oe-linux-g++  -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se -DHAVE_CONFIG_H -I. -I../../git/lib -I..  -I.. -I../../git -I../../git/include -include Python.h -include ../enigma2_config.h -I/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/python2.7  -Os -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/raed/openpli5/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+529470cb8b-r0=/usr/src/debug/enigma2/2.7+gitAUTOINC+529470cb8b-r0 -fdebug-prefix-map=/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se= -fvisibility-inlines-hidden -Wall -pthread -I/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/freetype2 -I/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/fribidi -I/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/gstreamer-1.0 -I/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/glib-2.0 -I/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se/usr/lib/glib-2.0/include -I/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/libpng16 -I/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/libxml2 -I/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se/usr/lib/sigc++-1.2/include -I/home/raed/openpli5/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/sigc++-1.2 -fno-rtti -fno-exceptions -pthread -fopenmp      -MT base/estring.o -MD -MP -MF $depbase.Tpo -c -o base/estring.o ../../git/lib/base/estring.cpp &&\
| 	mv -f $depbase.Tpo $depbase.Po
| ../../git/lib/base/estring.cpp: In function 'std::__cxx11::string buildShortName(const string&)':
| ../../git/lib/base/estring.cpp:13:46: error: narrowing conversion of '194' from 'int' to 'char' inside { } [-Wnarrowing]
|   static char stropen[3] = { 0xc2, 0x86, 0x00 };
|                                               ^
| ERROR: oe_runmake failed
| ../../git/lib/base/estring.cpp:13:46: error: narrowing conversion of '134' from 'int' to 'char' inside { } [-Wnarrowing]
| ../../git/lib/base/estring.cpp:14:47: error: narrowing conversion of '194' from 'int' to 'char' inside { } [-Wnarrowing]
|   static char strclose[3] = { 0xc2, 0x87, 0x00 };
|                                                ^
| ../../git/lib/base/estring.cpp:14:47: error: narrowing conversion of '135' from 'int' to 'char' inside { } [-Wnarrowing]
| make[4]: *** [base/estring.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| make[4]: Leaving directory `/home/raed/openpli5/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+529470cb8b-r0/build/lib'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/home/raed/openpli5/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+529470cb8b-r0/build/lib'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/raed/openpli5/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+529470cb8b-r0/build/lib'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/raed/openpli5/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+529470cb8b-r0/build'
| make: *** [all] Error 2
| WARNING: /home/raed/openpli5/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+529470cb8b-r0/temp/run.do_compile.8042:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/raed/openpli5/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+529470cb8b-r0/temp/log.do_compile.8042)
ERROR: Task /home/raed/openpli5/openpli-oe-core/meta-openpli/recipes-openpli/enigma2/enigma2.bb:do_compile (/home/raed/openpli5/openpli-oe-core/meta-openpli/recipes-openpli/enigma2/enigma2.bb:do_compile) failed with exit code '1'

Second Keyboard Interrupt, stopping...


Summary: 1 task failed:
  /home/raed/openpli5/openpli-oe-core/meta-openpli/recipes-openpli/enigma2/enigma2.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
NOTE: Sending SIGTERM to remaining 1 tasks
make: *** [image] Error 1

raed@fairbird:~/openpli5/openpli-oe-core$

Thank you


Edited by fairbird, 17 October 2016 - 19:37.

DM500s
DM800

DM800se

DM920UHD


Re: Openpli-5 (still next master) #495 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 17 October 2016 - 19:42

How about looking at the current code?

https://github.com/O...ing.cpp#L15-L16
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: Openpli-5 (still next master) #496 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 17 October 2016 - 20:46

:D

Yes my friend ...

I fix it after post my replay 

 -	static char stropen[3] = { 0xc2, 0x86, 0x00 };
 -	static char strclose[3] = { 0xc2, 0x87, 0x00 };
 +	static char stropen[] = "\xc2\x86";
 +	static char strclose[] = "\xc2\x87";

Thank you


DM500s
DM800

DM800se

DM920UHD


Re: Openpli-5 (still next master) #497 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 17 October 2016 - 20:55

@NoxBox

 

and you must use dvbmediasink  because?



Re: Openpli-5 (still next master) #498 NoxBox

  • Member
  • 9 posts

0
Neutral

Posted 18 October 2016 - 11:25

@samsamsam

 

gstreamer need dvbmediasink



Re: Openpli-5 (still next master) #499 NoxBox

  • Member
  • 9 posts

0
Neutral

Posted 18 October 2016 - 15:33

Now, I solve my problems change rate=48000 to rate=24000.

Thank you.



Re: Openpli-5 (still next master) #500 ostende

  • Senior Member
  • 69 posts

0
Neutral

Posted 20 October 2016 - 09:47

please what is the solution with this error 

 

 

 

 

ERROR: linux-dreambox-3.2-r14.19.53 do_patch: Command Error: 'quilt --quiltrc /home/openatvbuilder/opents/openpli-oe-core/build/tmp/sysroots/x86_64-linux/etc/quiltrc push' exited with 0  Output:

Applying patch misc_latin1_to_utf8_conversions.patch
patching file drivers/usb/storage/isd200.c
Hunk #1 FAILED at 61.
1 out of 1 hunk FAILED -- rejects in file drivers/usb/storage/isd200.c
Patch misc_latin1_to_utf8_conversions.patch does not apply (enforce with -f)
ERROR: linux-dreambox-3.2-r14.19.53 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/openatvbuilder/opents/openpli-oe-core/build/tmp/work/dm800se-oe-linux/linux-dreambox/3.2-r14.19.53/temp/log.do_patch.3656
ERROR: Task /home/openatvbuilder/opents/openpli-oe-core/meta-dream/recipes-bsp/linux/linux-dreambox_3.2.bb:do_patch (/home/openatvbuilder/opents/openpli-oe-core/meta-dream/recipes-bsp/linux/linux-dreambox_3.2.bb:do_patch) failed with exit code '1'

 




13 user(s) are reading this topic

0 members, 13 guests, 0 anonymous users