Build Script for Openpli Enigma2 on Ubuntu...
momi133 24 Aug 2018
Hi @1455! thank a lot for your tips and guidance!
in the last time that I install e2pc, ./3_build_libxine.sh script show this error:
*** 18.04 ***
libesd0 already installed
dpkg-query: package 'libxine2' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
libxine2 not installed
adding changesets
adding manifests
adding file changes
added 13868 changesets with 46926 changes to 4387 files
new changesets 8198157eac57:c29602c42c54
updating to branch default
1314 files updated, 0 files merged, 0 files removed, 0 files unresolved
-----------------------------------------
head now on r13868
-----------------------------------------
patching file debian/changelog
patching file debian/rules
patching file include/xine/osd.h
patching file include/xine/video_out.h
patching file include/xine/xineintl.h
patching file include/xine.h
patching file src/demuxers/demux_ts.c
patching file src/input/combined_enigma.c
patching file src/input/combined_enigma.h
patching file src/input/input_enigma.c
patching file src/input/Makefile.am
patching file src/input/post_enigma_audio.c
patching file src/input/post_enigma_video.c
patching file src/video_out/video_out_opengl.c
patching file src/video_out/video_out_vdpau.c
patching file src/xine-engine/osd.c
patching file src/xine-engine/video_out.c
patching file src/xine-engine/xine_interface.c
-----------------------------------------
patch for xine-lib applied
-----------------------------------------
********************************************************
No patch required. You have non vaapi GPU.
********************************************************
dpkg-buildpackage: info: source package xine-lib-1.2
dpkg-buildpackage: info: source version 1.2.9+hg-e2pc-0
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Petri Hinturkainen <phintuka@users.sourceforge.net>
dpkg-source --before-build xine-lib-1.2-1.2.9+hg-e2pc
dpkg-buildpackage: info: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: libesd0-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
mv: cannot stat '*.deb': No such file or directory
dpkg: error: cannot access archive '*.deb': No such file or directory
and I solve this error by installing libesd0-dev_0.2.41-11_amd64.deb & libesd0_0.2.41-11_amd64.deb from https://packages.ubuntu.com!
But Main question!
Does xine lib or player support 10-bit color depth with 4:2:2 chroma subsampling vidoes or sport feeds?(like laliga 4:2:2 feeds in 10E)
in its website, they hints that Support for recent ffmpeg versions. Deep color support (9/10bit) with ffmpeg(https://www.xine-project.org/news).
when I wish to see the 4:2:2 sport feeds by e2pc, player shows green screen!
thanks a lot!
1455 25 Aug 2018
I'm glad that everything works.
libesd0-dev in 18.04 is set by script 3. I just forgot to remove it from script 2 again.
I'm not sure that I can receive the feed laliga from the satellite, but I'll see. Now I'm not ready to answer.
Edited by 1455, 25 August 2018 - 17:52.
momi133 25 Aug 2018
I'm glad that everything works.
me too!
libesd0-dev in 18.04 is set by script 3. I just forgot to remove it from script 2 again.
I know that libesd0-dev in 18.04 is set by script 3 but this script doesn't run successfully ! in my opinion, three links of libesd0-dev in 3rd script must be changed to links from https://packages.ubuntu.com!
I'm not sure that I can receive the feed laliga from the satellite, but I'll see. Now I'm not ready to answer.
Feed freq: 11428 V 34000 @10E
you can check 422 feeds and biss codes in sat-universe site!
in windows, following decoder, decode 422 feeds:
LAV
---
MainConcept (BroadCast)
--
DivX AVC/H.264
----
Elecard AVC
thans a lot!
maxbambi 27 Aug 2018
Hi,
I updated ubuntu to kernel 4.15 and now I can't rebuild dvbsoftwareca.ko...
Someone can help me?
I see in this long forum that there are some patch to apply, but I haven't won yet!
I took a copy of ca.h from previous kernel and replaced the last one, so a lot of errors are disappeared, but ....
error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] dvb_class->devnode = dvb_devnode;
and
error: implicit declaration of function ‘genl_register_family_with_ops’ [-Werror=implicit-function-declaration] ret = genl_register_family_with_ops(&ca_family, ask_ca_size_ops);
momi133 28 Aug 2018
Hi,
I updated ubuntu to kernel 4.15 and now I can't rebuild dvbsoftwareca.ko...
Someone can help me?
I see in this long forum that there are some patch to apply, but I haven't won yet!
I took a copy of ca.h from previous kernel and replaced the last one, so a lot of errors are disappeared, but ....
error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] dvb_class->devnode = dvb_devnode;and
error: implicit declaration of function ‘genl_register_family_with_ops’ [-Werror=implicit-function-declaration] ret = genl_register_family_with_ops(&ca_family, ask_ca_size_ops);
Please read these post:
https://forums.openp...ndpost&p=919887
1455 29 Aug 2018
I notice that the dvbapi module of oscam began to fall off and is not restored, although the server responds quickly.
The connection is restored when switching to an other channel or restarting oscam. In what version it happened is not clear.
Therefore I switched oscam to https://github.com/o...u/oscam-patched. Maybe oscam will be better to work? Check it please.
pablocool 29 Aug 2018
<- rebuild, install and activate dvbsoftwareca.ko only by script because two kernel headers will be rewritten.
How to do this in ubuntu? I use gentoo on daily basis and use /usr/src/kernel dir to make kernel and modules.
Also which scripts need to be run by normal user (./1_download) but ./2_build.. needs root access. What with 3_.. and later?
pablocool 29 Aug 2018
And how to fix sh files to overcome this:
******************************************************** No patch required. You have non vaapi GPU. ******************************************************** dpkg-buildpackage: info: pakiet źródłowy xine-lib-1.2 dpkg-buildpackage: info: wersja pakietu źródłowego 1.2.9+hg-e2pc-0 dpkg-buildpackage: info: dystrybucja źródła unstable dpkg-buildpackage: info: źródła zmienione przez Petri Hinturkainen <phintuka@users.sourceforge.net> dpkg-buildpackage: info: architektura gościa amd64 dpkg-source --before-build xine-lib-1.2-1.2.9+hg-e2pc dpkg-checkbuilddeps: błąd: Unmet build dependencies: libesd0-dev dpkg-buildpackage: ostrzeżenie: niespełnione zależności/konflikty czasu budowania - przerywanie dpkg-buildpackage: ostrzeżenie: (Użyj opcji -d, aby nadpisać). mv: nie można wykonać stat na '*.deb': Nie ma takiego pliku ani katalogu dpkg: błąd: cannot access archive '*.deb': Nie ma takiego pliku ani katalogu
I checked and have both libesd0-dev and libesd0 installed
iU libesd0:amd64 0.2.41-11 amd64 Enlightened Sound Daemon - Shared libraries iU libesd0-dev 0.2.41-11 amd64 Enlightened Sound Daemon - Development files
Is "-d" parameter for dpkg-buildpackage a proper solution?
milaebrothers 29 Aug 2018
nobody9,
Raider05,
milaebrothers,crazycat69,
I have a request to write here what the original OpenPLi branch (git number) was the source for you. Thanks for your work.
Hello to all,
I see you did a lot of progress,
yesterday I finished to compile on lubunbtu 18.04 x64, so in the next days I'll test with Italian DVB-T.
Also if at now is not so useful my last commit was:
"fixed condition for empty tag's list
momi133 29 Aug 2018
Hi @1455! thank a lot for your tips and guidance!
in the last time that I install e2pc, ./3_build_libxine.sh script show this error:
*** 18.04 ***
libesd0 already installed
dpkg-query: package 'libxine2' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
libxine2 not installed
adding changesets
adding manifests
adding file changes
added 13868 changesets with 46926 changes to 4387 files
new changesets 8198157eac57:c29602c42c54
updating to branch default
1314 files updated, 0 files merged, 0 files removed, 0 files unresolved
-----------------------------------------
head now on r13868
-----------------------------------------
patching file debian/changelog
patching file debian/rules
patching file include/xine/osd.h
patching file include/xine/video_out.h
patching file include/xine/xineintl.h
patching file include/xine.h
patching file src/demuxers/demux_ts.c
patching file src/input/combined_enigma.c
patching file src/input/combined_enigma.h
patching file src/input/input_enigma.c
patching file src/input/Makefile.am
patching file src/input/post_enigma_audio.c
patching file src/input/post_enigma_video.c
patching file src/video_out/video_out_opengl.c
patching file src/video_out/video_out_vdpau.c
patching file src/xine-engine/osd.c
patching file src/xine-engine/video_out.c
patching file src/xine-engine/xine_interface.c
-----------------------------------------
patch for xine-lib applied
-----------------------------------------
********************************************************
No patch required. You have non vaapi GPU.
********************************************************
dpkg-buildpackage: info: source package xine-lib-1.2
dpkg-buildpackage: info: source version 1.2.9+hg-e2pc-0
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Petri Hinturkainen <phintuka@users.sourceforge.net>
dpkg-source --before-build xine-lib-1.2-1.2.9+hg-e2pc
dpkg-buildpackage: info: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: libesd0-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
mv: cannot stat '*.deb': No such file or directory
dpkg: error: cannot access archive '*.deb': No such file or directory
and I solve this error by installing libesd0-dev_0.2.41-11_amd64.deb & libesd0_0.2.41-11_amd64.deb from https://packages.ubuntu.com!
And how to fix sh files to overcome this:
******************************************************** No patch required. You have non vaapi GPU. ******************************************************** dpkg-buildpackage: info: pakiet źródłowy xine-lib-1.2 dpkg-buildpackage: info: wersja pakietu źródłowego 1.2.9+hg-e2pc-0 dpkg-buildpackage: info: dystrybucja źródła unstable dpkg-buildpackage: info: źródła zmienione przez Petri Hinturkainen <phintuka@users.sourceforge.net> dpkg-buildpackage: info: architektura gościa amd64 dpkg-source --before-build xine-lib-1.2-1.2.9+hg-e2pc dpkg-checkbuilddeps: błąd: Unmet build dependencies: libesd0-dev dpkg-buildpackage: ostrzeżenie: niespełnione zależności/konflikty czasu budowania - przerywanie dpkg-buildpackage: ostrzeżenie: (Użyj opcji -d, aby nadpisać). mv: nie można wykonać stat na '*.deb': Nie ma takiego pliku ani katalogu dpkg: błąd: cannot access archive '*.deb': Nie ma takiego pliku ani kataloguI checked and have both libesd0-dev and libesd0 installed
iU libesd0:amd64 0.2.41-11 amd64 Enlightened Sound Daemon - Shared libraries iU libesd0-dev 0.2.41-11 amd64 Enlightened Sound Daemon - Development filesIs "-d" parameter for dpkg-buildpackage a proper solution?
I explained the solution of this error in previous post!
1- uninstall following package by synaptic :libesd0-dev_0.2.41-11_amd64.deb & libesd0_0.2.41-11_amd64.deb
2- download these packages from https://packages.ubuntu.com! and install first libesd0_0.2.41-11_amd64.deb and then libesd0-dev_0.2.41-11_amd64.deb.
pablocool 30 Aug 2018
Before you posted I used "-d" param and it worked. Do you have idea why installing completely same version packages from those links instead of apt make a difference for dpkg-buildpackage?
Edited by pablocool, 30 August 2018 - 06:43.
1455 30 Aug 2018
Also which scripts need to be run by normal user
Do everything like sudo
dpkg-buildpackage: ostrzeżenie: (Użyj opcji -d, aby nadpisać).
Well, I'll fix it.
Also if at now is not so useful
Hi, milaebrothers! I'm very glad that you're here again. If there are improvements, please report.
There are many more things that need to be fixed, but I don't know how to.
I'm doing patches on current git versions. So I will definitely apply everything that doesn't lead to segfault.
1455 30 Aug 2018
I forgot to say that I didn't find libesd0-dev libesd0 esound-common in repositories of Ubuntu 18.04. Perhaps they are present a Debian or child version of Ubuntu. You can also exclude "esound" from dependencies and this works.
maxbambi 13 Sep 2018
I have problems again compiling dvbsoftwareca...
I went back to my old kernel (4.4) and I could compile the file (assignment from incompatible pointer type
dvb_class->devnode= dvb_devnode;
was treated as warning and not as an error), but in newer version (4.11, 4.13, and so on...) i couldn't....
In 4.15 there is also the problem of changed header files (ca.h ...)
1455 14 Sep 2018
milaebrothers 18 Sep 2018
Hello 1455,
have some news about implementing softhddevice for the project?
Have you a implementation draft(or an Idea) to share with us?
the final idea is to do openpli works with PC and also with raspberry using rpihddevice
1455 19 Sep 2018
Hello, milaebrothers. Unfortunately no. This is beyond my capabilities. We need a real programmer with knowledge of the subject.
I'm ready to pass the baton. Only while no one is willing.
milaebrothers 19 Sep 2018
Hello, milaebrothers. Unfortunately no. This is beyond my capabilities. We need a real programmer with knowledge of the subject.
I'm ready to pass the baton. Only while no one is willing.
I've an idea how to proceed for the first step (a brief study of the code):
- Identify the file where is present a vdr header and search for call back to vdr functions and comment them at the end of line:
Example from file omx.c e2-rpihddevice #include <vdr/tools.h> #include <vdr/thread.h> .... class cOmxEvents { .... cOmxEvents() : m_signal(new cCondWait()), //call to vdr (vdr/tread.h) m_mutex(new cMutex()) //call to vdr (vdr/tread.h) { } ...
I think it's possible to do also for pc version: I've forked a generic one: