Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2047 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1421 Mounir67

  • Senior Member
  • 29 posts

0
Neutral

Posted 14 October 2018 - 00:34

see please the output in terminal of following command:

 

ls /dev/dvb/adapter0/

 

 

maybe  ca0 is missing ?



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1422 momi133

  • Senior Member
  • 73 posts

0
Neutral

Posted 15 October 2018 - 07:50

see please the output in terminal of following command:

 

ls /dev/dvb/adapter0/

 

 

maybe  ca0 is missing ?

 

thank for reply!

 

# ls -l  /dev/dvb/*
total 0
crw-------  1 root root  236, 0 Oct 15 09:26 ca0
crw-rw----+ 1 root video 212, 0 Oct 15 09:26 demux0
lrwxrwxrwx  1 root root      24 Oct 15 09:26 demux1 -> /dev/dvb/adapter0/demux0
crw-rw----+ 1 root video 212, 1 Oct 15 09:26 dvr0
lrwxrwxrwx  1 root root      22 Oct 15 09:26 dvr1 -> /dev/dvb/adapter0/dvr0
crw-rw----+ 1 root video 212, 3 Oct 15 09:26 frontend0
crw-rw----+ 1 root video 212, 2 Oct 15 09:26 net0
 


Edited by momi133, 15 October 2018 - 07:51.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1423 atari

  • Senior Member
  • 28 posts

0
Neutral

Posted 1 November 2018 - 22:22

i try in compile on some pc i5, kernel 4.15 gpu intel cpu... all go fine on 18.04 great job!!!

i have lcd imon & run it but how to conigure tru lirc? i have runing LCDd whit kodi it works.

didnt  connect any tuner yet but try connecting tru dm8000 fallback remote riciver, i see chanels & epg but no picture

any uhd skin working?


Edited by atari, 1 November 2018 - 22:23.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1424 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 2 November 2018 - 10:51

A little incomprehensibly written, but I will try to answer.
Unfortunately I don't have LCD and I have not tried fallback remote receiver.
If you are interested how to setting up the remote, then I use simple COM device for lirc.
Please use files from folder enigma2pc-6.2/pre/etc/lirc.
To get lirc codes, use a binary file for linux "IrScrutinizer" https://github.com/b...g/Version-1.4.2
Only this will allow to get the correct *Remote.lircd.conf. But you need to learn how to use IrScrutinizer.


Edited by 1455, 2 November 2018 - 10:52.

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1425 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 2 November 2018 - 10:57

It is unlikely that any skin will work and whether UHD is needed...


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1426 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 8 December 2018 - 12:58

Does everything work for everyone and nothing to dream about? OK. I will try to wake you up. :)

For a long time I was looking for the reason for the loss of xine sound on some channels. In addition, it was noticed that even on official receivers for provider "Tricolor TV" the sound sometimes disappears! Someone probably noticed this at a frequency of 11958V (sat 9.0E) or others. I don't know whether encoders are configured correctly for transmission to teleport.

Here is what the xine manual says about this:

Audio is stuttering and i see a lot of "metronom: fixing sound card drift by -2115 pts" on the console output
Might be a soundcard problem, if it only comes in longer intervals. Your soundcard does not keep it's sampling frequency accurately enough, which results in audio and video getting out of sync and xine has to compensate. If you see the message only from time to time, you might remedy it by using the resampling sync method. You can do this by setting the configuration entry audio.synchronization.av_sync_method to resample.
If you receive the metronom message more often, maybe switching to different drivers (alsa to oss or vise-versa) can help here. It has also been reported that setting the configuration entry audio.synchronization.force_rate to the native sampling rate of your soundcard (try 44100 and 48000) helps sometimes.
Another, whole different possibility is that you have some background process running which is messing with the clock (like some ntp client chrony, ntpd, ).
Occasional messages of "fixing sound card drift" may happen on start and when playing a long stream (like a movie). This is normal behaviour, nothing to worry about.

 

But in our case, the reason lies in the installation of the value of the metronome. Apparently, the sound disappears due to too slow data transfer from the FIFO buffer to xine. I proceeded from the values 900000 pts / 10. That is, each step adds the value of 9000 to the metronome value.
In this regard, I increased the metronome values and now messages like "Audio is stuttering and metronom: fixing sound card drift by -2115 pts" no longer appear.
Today run script 1 and reinstall actual e2pc. Tell me, please, the frequency of the satellites on which the sound after updating the e2pc still sometimes disappears.

New recommended values in the "settings" file:
config.pc.prebuffer_metronom_hevc=216000 #Still not affected
config.pc.prebuffer_metronom_hd=162000
config.pc.prebuffer_metronom_sd=144000

There is one more problem. It is not clear whether the ring buffer is actually full or just no data is being output to log: "buffer stats: 46824 (0%) used". In older versions, the percentage of filling was displayed normally.

New Years is soon... ;)

 


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1427 yuriy72

  • New Member
  • 2 posts

0
Neutral

Posted 10 December 2018 - 18:05

@1455 Glad to see you have not forgotten the project! :)

Why you don`t use github?


Edited by yuriy72, 10 December 2018 - 18:06.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1428 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 11 December 2018 - 08:53

Hello, yuriy72! Similar question was here.
All major changes can be seen in the original repository. I adapt the patches once at month and I just don't see the meaning of putting patches in my own repository. Uploading e2pc completely means that I need to rewrite all changes from the original repository. Like everyone, I don't have much free time right now.

Do you know whether linuxdvb.org.ru will work again?


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1429 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 26 December 2018 - 16:32

Does everything work for everyone and nothing to dream about? OK. I will try to wake you up. :)

 
I want to run Enigma2 from USB stick  :)
 
I tried OpenPCTV project long time ago which works fine however it uses a very old OpenWebif.
 
Yesterday i used enigma2-plugin-extensions-openwebif.ipk which was packed using your enigma2pc-6.2 script.
 
Now, i get "No module named OpenSSL." error
 
I manually installed pyOpenSSL then i got "crypto.so:
undefined symbol: PyUnicodeUCS4_Decode"
 
Any idea to solve that issue?
 
Perhaps you can flash OpenPCTV on a USB stick then try to post some scripts to improve it ... can you?  :)

Edited by roxette, 26 December 2018 - 16:32.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1430 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 26 December 2018 - 16:49

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

 

Hello,

 

That would be great because it will definitely solve my problem, i just need Enigma2 to behave like Softhddevice or rpihddevice when switching channels.
 
I hate that blue spinner icon!!
 

image.png

 

1.png

 

It's Okay, there is no need to check which VDR version you got, that was just an example.

My problem is that Enigma2 hangs whenever there is no signal lock and that blue icon in the red square appears then keeps moving on forever because Enigma2 tries to tune to that channel again and again.

 

I just want it to tune to any channel one time only like VDR.

 

 


Edited by roxette, 26 December 2018 - 16:53.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1431 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 29 December 2018 - 08:04

roxette,

These are completely different operating systems.
Besides, https://sourceforge....v/files/release was only i386. Seems It is not possible to use new OpenWebif version whith openpctv (2015 year).


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1432 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 29 December 2018 - 15:29

roxette,

These are completely different operating systems.
Besides, https://sourceforge....v/files/release was only i386. Seems It is not possible to use new OpenWebif version whith openpctv (2015 year).

 

Hi 1455,
 
A newer OpenWebif plugin was last updated by milaebrothers on 2015 too.
I remember that i compiled it for i386 & amd64 as well.
I don't want the newest OpenWebif, i just want to use the milaebrothers version without getting the above errors.
Any idea?

Edited by roxette, 29 December 2018 - 15:32.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1433 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 29 December 2018 - 15:45

https://github.com/m...f/httpserver.py

 

from OpenSSL import SSL

The error is caused when importing SSL as you already know.


Edited by roxette, 29 December 2018 - 15:45.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1434 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 30 December 2018 - 09:37

Hi. Why do you use OpenPCTV? This is a very old distribution.

I tried this version OpenWebif in Ubuntu-18.04 with actual e2pc and I don't get any errors. The plugin is visible, configurable and the web-interface works.

undefined symbol: PyUnicodeUCS4_Decode"

Seems that there is a discrepancy between the versions of the software environment OpenPCTV and this version OpenWebif. Probably need to use other versions of OpenSSL or Python.

Maybe I should make a current disk image for a 64 GB flash drive? The first and second partition = 32. The second partition can be moved apart on the disk with Gparted. I successfully launch such a flash drive on different machines and only in some cases it is required to reinstall the video driver.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1435 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 30 December 2018 - 17:18

webif.png
 
webif-version.png
 
It's not a problem to install any OpenWebif version on my Ubuntu pc too as you can see in the above screenshot.
 
I read somewhere that the problem could be the python version in OpenPCTV was compiled using PyUnicodeUCS2.
That's why that error is displayed.
 
I use OpenPCTV for my younger brothers while i'm not at home so they can boot to Enigma2 and watch TV right way and i disconnect my Hard disk.
 
The thing is OpenPCTV can be flashed on 4GB USB stick.
 
I think it uses a "stripped down" distro so it would be nice if you can figure out how to create a similiar distro using the lowest possible space.
 
#BDW: Does the grab screenshot work for you?
I only get a black screenshot.

Edited by roxette, 30 December 2018 - 17:20.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1436 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 1 January 2019 - 18:38

The thing is OpenPCTV can be flashed on 4GB USB stick.
Unreal for Ubuntu desktop.

 

Does the grab screenshot work for you?

How can this work if we don't have video from the framebuffer? ;) I use PrtScr if screen is focused.


Edited by 1455, 1 January 2019 - 18:38.

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1437 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 2 January 2019 - 03:11

 

The thing is OpenPCTV can be flashed on 4GB USB stick.
Unreal for Ubuntu desktop.
 
I'm looking for a light distro which can be flashed on a small capacity usb flash drive.

 

Does the grab screenshot work for you?

How can this work if we don't have video from the framebuffer? ;) I use PrtScr if screen is focused.

 

I thought you have modified it somehow, otherwise what is aio-grab pkg in your build script used for?

 

  


Edited by roxette, 2 January 2019 - 03:12.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1438 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 2 January 2019 - 07:20

otherwise what is aio-grab pkg in your build script used for?

I also thought it would work. Now this package is not really needed :) .


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1439 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 3 January 2019 - 16:24

 

otherwise what is aio-grab pkg in your build script used for?

I also thought it would work. Now this package is not really needed :) .

 

 

screenshot.jpg

 

It works on Raspberry Pi 3  :)
It works on ARM STB as well because the video is grabbed from /dev/dvb/adapter0/video0
What about Enigma2pc?
How we can access the video stream?

Edited by roxette, 3 January 2019 - 16:26.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1440 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 3 January 2019 - 17:05

I just enabled OpenGl driver on my RPI3 then grab just capture black screenshots so that's the reason why it doesn't work on Ubuntu  :)

Anyone knows how to disable the hardware acceleration on Ubuntu pc?


Edited by roxette, 3 January 2019 - 17:08.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users