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.
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.
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.
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.
Posted 12 October 2016 - 17:11
Edited by athoik, 12 October 2016 - 17:11.
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.
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 - option to avoid full recipes parsing much faster when you're testing some things You're working on.
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"
Posted 16 October 2016 - 08:41
vm.dirty_writeback_centisecs=900 vm.dirty_expire_centisecs=15000 vm.swappiness=10 vm.dirty_ratio=33 vm.vfs_cache_pressure=60And 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.
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.
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
Posted 17 October 2016 - 19:42
Posted 20 October 2016 - 09:47
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.patchpatching file drivers/usb/storage/isd200.cHunk #1 FAILED at 61.1 out of 1 hunk FAILED -- rejects in file drivers/usb/storage/isd200.cPatch 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_patchERROR: 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.3656ERROR: 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'
0 members, 2 guests, 0 anonymous users