Re: serviceapp - gstplayer and exteplayer3 #101
Re: serviceapp - gstplayer and exteplayer3 #102
Posted 4 August 2016 - 08:06
Thanks mx3l,
I'm still struggling to get my head around this and I'm sure that I'm probably just over complicating things
I have setup the enviroment by using;
export PATH=/home/openatvbuilder/openatv/build-enviroment/bitbake/bin:$PATH
Your serviceapp folder (named 'serviceapp') is located at;
/home/openatvbuilder/openatv/build-enviroment/meta-local/recipes-local
I have edited the layer.conf file located at;
/home/openatvbuilder/openatv/build-enviroment/meta-local/conf
to this;
# We have a recipes directory, add to BBFILES BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" BBFILE_COLLECTIONS += "serviceapp" BBFILE_PATTERN_serviceapp := "^${LAYERDIR}/" BBFILE_PRIORITY_serviceapp = "5"
I'm unsure of the correct paths for setting BBPATH,
so at the moment I have it set to;
export BBPATH=path to layers.conf config dir:path to bitbake.conf config dir
export BBPATH=/home/openatvbuilder/openatv/build-enviroment/meta-local:/home/openatvbuilder/openatv/build-enviroment/openembedded-core/meta
When I run;
MACHINE=vusolo2 bitbake enigma2-plugin-extensions-serviceapp
I get the following errors;
Traceback (most recent call last): File "/home/openatvbuilder/openatv/build-enviroment/openembedded-core/meta/classes/sanity.bbclass", line 1003, in check_sanity_eventhandler(e=<bb.event.SanityCheck object at 0x7fc704d13690>): sanity_data.setVar("SANITY_USE_EVENTS", "1") > reparse = check_sanity(sanity_data) e.data.setVar("BB_INVALIDCONF", reparse) File "/home/openatvbuilder/openatv/build-enviroment/openembedded-core/meta/classes/sanity.bbclass", line 962, in check_sanity(sanity_data=<bb.data_smart.DataSmart object at 0x7fc704d13650>): > check_sanity_everybuild(status, sanity_data) File "/home/openatvbuilder/openatv/build-enviroment/openembedded-core/meta/classes/sanity.bbclass", line 849, in check_sanity_everybuild(status=<SanityStatus object at 0x7fc704d13450>, d=<bb.data_smart.DataSmart object at 0x7fc704d13650>): oeroot = d.getVar('COREBASE', True) > if oeroot.find('+') != -1: status.addresult("Error, you have an invalid character (+) in your COREBASE directory path. Please move the installation to a directory which doesn't include any + characters.") AttributeError: 'NoneType' object has no attribute 'find'
I am using debian 8 (64bit)
Hoping that's enough information for you to see where I'm going wrong
many thanks,
St.O
Re: serviceapp - gstplayer and exteplayer3 #103
Posted 4 August 2016 - 11:07
@saintomer1866
1. revert changes made in layer.conf
2. run 'make' in your build-environment directory for initial setup, at the end you should get message with expanded BUILD_DIR and DISTRO variables:
@echo "cd $(BUILD_DIR) ; source env.source ; bitbake $(DISTRO)-image"
So use this command but replace $(DISTRO)-image with enigma2-plugin-extensions-serviceapp
Re: serviceapp - gstplayer and exteplayer3 #104
Posted 4 August 2016 - 18:26
Thanks mx3L,
left it building today but it's returned an error;
| DEBUG: SITE files ['endian-little', 'bit-32', 'mips-common', 'common-linux', 'common-glibc', 'mipsel-linux', 'common'] | DEBUG: Executing shell function do_install | NOTE: make -j 2 DESTDIR=/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/image install | Making install in src | make[1]: Entering directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src' | Making install in serviceapp | make[2]: Entering directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src/serviceapp' | make[3]: Entering directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src/serviceapp' | make[3]: Nothing to be done for 'install-exec-am'. | /bin/mkdir -p '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/image/usr/lib/enigma2/python/Plugins/Extensions/ServiceApp' | ../../mipsel-oe-linux-libtool --mode=install /usr/bin/install -c serviceapp.la '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/image/usr/lib/enigma2/python/Plugins/Extensions/ServiceApp' | mipsel-oe-linux-libtool: install: /usr/bin/install -c .libs/serviceapp.so /home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/image/usr/lib/enigma2/python/Plugins/Extensions/ServiceApp/serviceapp.so | mipsel-oe-linux-libtool: install: /usr/bin/install -c .libs/serviceapp.lai /home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/image/usr/lib/enigma2/python/Plugins/Extensions/ServiceApp/serviceapp.la | mipsel-oe-linux-libtool: warning: remember to run 'mipsel-oe-linux-libtool --finish /usr/lib/enigma2/python/Plugins/Extensions/ServiceApp' | make[3]: Leaving directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src/serviceapp' | make[2]: Leaving directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src/serviceapp' | Making install in plugin | make[2]: Entering directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src/plugin' | make[3]: Entering directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src/plugin' | make[3]: Nothing to be done for 'install-exec-am'. | /bin/mkdir -p '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/image/usr/lib/enigma2/python/Plugins/Extensions/ServiceApp' | /usr/bin/install -c -m 644 ../../../git/src/plugin/__init__.py ../../../git/src/plugin/plugin.py ../../../git/src/plugin/serviceapp_client.py '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/image/usr/lib/enigma2/python/Plugins/Extensions/ServiceApp' | Byte-compiling python modules (optimized versions) ... | __init__.pyplugin.pyserviceapp_client.py | make[3]: Leaving directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src/plugin' | make[2]: Leaving directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src/plugin' | make[2]: Entering directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src' | make[3]: Entering directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src' | make[3]: Nothing to be done for 'install-exec-am'. | make[3]: Nothing to be done for 'install-data-am'. | make[3]: Leaving directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src' | make[2]: Leaving directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src' | make[1]: Leaving directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build/src' | make[1]: Entering directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build' | make[2]: Entering directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build' | make[2]: Nothing to be done for 'install-exec-am'. | make[2]: Nothing to be done for 'install-data-am'. | make[2]: Leaving directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build' | make[1]: Leaving directory '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/build' | rm: cannot remove '/home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/image/usr/lib/enigma2/python/Plugins/Extensions/ServiceApp/*.pyc': No such file or directory | WARNING: /home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/temp/run.do_install.24365:1 exit 1 from 'rm /home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/image/usr/lib/enigma2/python/Plugins/Extensions/ServiceApp/*.pyc' | ERROR: Function failed: do_install (log file is located at /home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-serviceapp/0.3-r0/temp/log.do_install.24365) ERROR: Task 2 (/home/openatvbuilder/openatv/build-enviroment/meta-local/recipes-local/serviceapp/enigma2-plugin-extensions-serviceapp_0.3.bb, do_install) failed with exit code '1'
log file attached
St.O
Attached Files
Re: serviceapp - gstplayer and exteplayer3 #105
Re: serviceapp - gstplayer and exteplayer3 #106
Posted 4 August 2016 - 21:14
Yes, rtmp streams are working. If audio is played it means there should be no problem with rtmp protocol, can you share a link?
#SERVICE 5002:0:1:2:0:0:0:0:0:0:rtmp%3a//rtmp.one.by/HD/1muz:FIRST CHANNEL HD #DESCRIPTION FIRST CHANNEL HD
here is the example link, a russian music channel
on gstreamer stream works perfectly (5001/4097) - screen
Re: serviceapp - gstplayer and exteplayer3 #107
Posted 4 August 2016 - 21:32
The question is what FFMPEG libs you are using. Because the ffmpeg has to possibilities FFMPEG can use own simple implementation of RTMP protocol, or use librtmp.
It depend how it was build.
gstreamer use librtmp.
Any way this stream not play for me in both exteplayer3 nor gstplayer.
But, I was able to play it without any problem in IPTVPlayer in both exteplayer3 and gstplayer with buffering mode.
Regards,
SSS
Edited by samsamsam, 4 August 2016 - 21:33.
Re: serviceapp - gstplayer and exteplayer3 #108
Posted 4 August 2016 - 22:34
Hi mx3L,
just an update,
still have that error when building so hopefully you can guide me with solving that
on the upside the plugin has been built (although it hasn't got as far as the ipk)
so i have done a manual install of it along with ffmpeg, gstreamerplayer (says its not installed, maybe wrong gstreamer version in atv ? will try building that when serviceapp is sorted) exteplayer3
serviceapp and exteplayer3 are working fine
so we are making progress
St.O
Re: serviceapp - gstplayer and exteplayer3 #109
Posted 5 August 2016 - 10:31
@saintomer1866
Use this recipe:
DESCRIPTION = "serviceapp service for enigma2" AUTHOR = "Maroš Ondrášek <mx3ldev@gmail.com>" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "enigma2" SRCREV = "cadd53c5941bd114840b0c06e6c688227606ced7" SRC_URI = "git://github.com/mx3L/serviceapp.git;branch=master" S = "${WORKDIR}/git" inherit autotools pythonnative EXTRA_OECONF = "\ BUILD_SYS=${BUILD_SYS} \ HOST_SYS=${HOST_SYS} \ STAGING_INCDIR=${STAGING_INCDIR} \ STAGING_LIBDIR=${STAGING_LIBDIR} \ " FILES_${PN} = "\ ${libdir}/enigma2/python/Plugins/Extensions/ServiceApp/*.pyo \ ${libdir}/enigma2/python/Plugins/Extensions/ServiceApp/serviceapp.so" FILES_${PN}-dev = "\ ${libdir}/enigma2/python/Plugins/Extensions/ServiceApp/*.py \ ${libdir}/enigma2/python/Plugins/Extensions/ServiceApp/serviceapp.la"
try to run gstplayer in terminal and see what it outputs.
Re: serviceapp - gstplayer and exteplayer3 #110
Posted 5 August 2016 - 10:37
@samsamsam,@taljaka
Problem in exteplayer3 is that we have minimal value for max_analyze_duration, I guess for quicker startup.
If we use default value it works:
diff --git a/main/exteplayer.c b/main/exteplayer.c index ba70ef9..b868e1d 100755 --- a/main/exteplayer.c +++ b/main/exteplayer.c @@ -423,7 +423,7 @@ int main(int argc, char* argv[]) g_player->output->Command(g_player, OUTPUT_ADD, "subtitle"); g_player->manager->video->Command(g_player, MANAGER_REGISTER_UPDATED_TRACK_INFO, UpdateVideoTrack); - g_player->playback->noprobe = 1; + g_player->playback->noprobe = 0; PlayFiles_t playbackFiles = {file, NULL}; if('\0' != audioFile[0])
Re: serviceapp - gstplayer and exteplayer3 #112
Re: serviceapp - gstplayer and exteplayer3 #113
Posted 6 August 2016 - 07:55
Getting closer,
now failing when trying to write the ipk;
ERROR: base-files-3.0.14-r89.3 do_package_write_ipk: Function failed: opkg-build execution failed ERROR: Logfile of failure stored in: /home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/-oe-linux/base-files/3.0.14-r89.3/temp/log.do_package_write_ipk.14407 Log data follows: | DEBUG: Executing python function sstate_task_prefunc | DEBUG: Python function sstate_task_prefunc finished | DEBUG: Executing python function do_package_write_ipk | DEBUG: Executing python function read_subpackage_metadata | DEBUG: Python function read_subpackage_metadata finished | DEBUG: Executing python function do_package_ipk | *** Error: CONTROL/control is missing field Architecture | | opkg-build: Please fix the above errors and try again. | DEBUG: Python function do_package_ipk finished | DEBUG: Python function do_package_write_ipk finished | ERROR: Function failed: opkg-build execution failed ERROR: Task 1722 (/home/openatvbuilder/openatv/build-enviroment/openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb, do_package_write_ipk) failed with exit code '1' NOTE: Tasks Summary: Attempted 2027 tasks of which 2024 didn't need to be rerun and 1 failed.
St.O
Re: serviceapp - gstplayer and exteplayer3 #114
Re: serviceapp - gstplayer and exteplayer3 #115
Posted 16 August 2016 - 14:10
Getting closer,
now failing when trying to write the ipk;
ERROR: base-files-3.0.14-r89.3 do_package_write_ipk: Function failed: opkg-build execution failed ERROR: Logfile of failure stored in: /home/openatvbuilder/openatv/build-enviroment/builds/openatv/release//tmp/work/-oe-linux/base-files/3.0.14-r89.3/temp/log.do_package_write_ipk.14407 Log data follows: | DEBUG: Executing python function sstate_task_prefunc | DEBUG: Python function sstate_task_prefunc finished | DEBUG: Executing python function do_package_write_ipk | DEBUG: Executing python function read_subpackage_metadata | DEBUG: Python function read_subpackage_metadata finished | DEBUG: Executing python function do_package_ipk | *** Error: CONTROL/control is missing field Architecture | | opkg-build: Please fix the above errors and try again. | DEBUG: Python function do_package_ipk finished | DEBUG: Python function do_package_write_ipk finished | ERROR: Function failed: opkg-build execution failed ERROR: Task 1722 (/home/openatvbuilder/openatv/build-enviroment/openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb, do_package_write_ipk) failed with exit code '1' NOTE: Tasks Summary: Attempted 2027 tasks of which 2024 didn't need to be rerun and 1 failed.St.O
I still can't find a way of fixing this so I'm hoping that somebody here can help me out
I know what's missing but cannot find where to correct it
St.O
Edited by saintomer1866, 16 August 2016 - 14:12.
Re: serviceapp - gstplayer and exteplayer3 #116
Posted 18 August 2016 - 04:27
Ned help.I am build exteplayer3_28 and ffmpeg 3.1.1 and gcc 6.1.1-error build
Re: serviceapp - gstplayer and exteplayer3 #117
Re: serviceapp - gstplayer and exteplayer3 #118
Posted 22 August 2016 - 20:48
Looks like serviceapp and exteplayer3 will be part of oe-alliance based images as well
https://github.com/o...7ca601e1c086848
EDIT:
At least it'll be in the feeds..
Edited by MastaG, 22 August 2016 - 20:49.
Re: serviceapp - gstplayer and exteplayer3 #119
Re: serviceapp - gstplayer and exteplayer3 #120
Also tagged with one or more of these keywords: gstreamer, ffmpeg
DVB subtitles support in eServiceMP3/GStreamerStarted by DimitarCC, 17 Oct 2024 DVB, Subtitles, GStreamer |
|
|||
Is het denkbaar om GStreamer te vervangen door VLC in toekomstige release?Started by Niceguy, 13 Jan 2022 GStreamer, VLC |
|
|||
Openpli 8.0 ffmpeg problemStarted by tigrousad, 2 Mar 2021 serviceapp, ffmpeg, exteplayer3 and 2 more... |
|
|||
DTS geluid probleem op Pli 6.0 Mutant, Werkt op Pli 4.0 VuDuoStarted by Niceguy, 9 Jan 2018 Gstreamer, Audio DTS |
|
|||
ISo en VOB afspelen in OpenPli 6.1Started by dutcharnie, 8 Jan 2018 ISO, DVD, Gstreamer |
|
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users