Project

General

Profile

Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster

Added by Wolfgang Zenner almost 2 years ago

Hello,
I downloaded the zip file under "https://github.com/tvheadend/tvheadend" and ran the command ./configure on my RaspberryPi3 with Raspbian Buster with the follwoing errors:
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... fail
checking for cc -msse2 ... fail
checking for cc -Wunused-result ... ok
checking for cc -fstack-protector ... ok
checking for cc -fstack-protector-strong ... ok
checking for cc -fstack-check ... ok
checking for cc -fPIE ... ok
checking for cc strlcat ... fail
checking for cc strlcpy ... fail
checking for cc fdatasync ... ok
checking for cc getloadavg ... ok
checking for cc atomic32 ... ok
checking for cc atomic64 ... ok
checking for cc atomic_time_t ... ok
checking for cc atomic_ptr ... ok
checking for cc bitops64 ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc stime ... ok
checking for cc gmtoff ... ok
checking for cc recvmmsg ... ok
checking for cc sendmmsg ... ok
checking for cc libiconv ... fail
^ using build-in glibc iconv routines
checking for cc ifnames ... ok
checking for cc cclang_threadsan ... fail
checking for py module gzip ... ok
checking for pkg-config ... ok
checking for xgettext ... ok
checking for msgmerge ... ok
checking for gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... fail (detected <none>)
checking for pkg libssl ... fail (detected <none>)
checking for cc openssl/ssl.h ... fail
ERROR: SSL development support not found

What can I do now, I don't find mmmx and installed mmse2 and openssl, but it did not change the error messages.
Thanks in advance
Wolfgang


Replies (75)

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Wolfgang Zenner almost 2 years ago

I've just seen: I have the correct data again. Maybe it's because of a new scan, but it looses the information after a while

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Wolfgang Zenner almost 2 years ago

I attach the syslog.
As you can see, it re-inserts the autorecs of "Wasser ist Zukunft" after the wget - they were lost, when I got the "El canal ...." as EPG data.

syslog.52 (4.97 KB) syslog.52 syslog of the Raspi

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Dave Pickles almost 2 years ago

Thanks. As far as I can tell the data is all present as expected.

One thing I noticed in your syslog. The EPG Grabber timeout is set to the default of 600 seconds. There are about 120 muxes on 19.2E, so a full scan will take 20 hours - more if you are recording or watching live TV. Mine is set to 180 seconds, though EPG is handled differently on 28.5E. I doubt that is causing your problem but you could try reducing the timeout value.

Other than that, I'm afraid I'm out of ideas again...

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by saen acro almost 2 years ago

30sec is enough to grab 168h 24 channels EPG on single mux, on single core 450MHz CPU.

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Wolfgang Zenner almost 2 years ago

I changed to 30sec - the problem persists. I have found a new behavior: the actual emission and the follwoing are shown and then the "El canal..." and after 2 days the correct data again. See screen shot.

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Wolfgang Zenner almost 2 years ago

Another question: the time zone of the network is UTC and only accessible in expert mode. Should I change this to UTC+1?
What's the difference, when I leave it as it is and when I change it (dropping epg database and recreating is simple...)

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Wolfgang Zenner almost 2 years ago

workaround: starting script with crontab every 30 minutes... safety-problem: password is in script and ps shows it too - so nobody should hack my system, but I think one can only damage this system, no others

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Dave Pickles almost 2 years ago

I changed to 30sec - the problem persists. I have found a new behavior: the actual emission and the follwoing are shown and then the "El canal..." and after 2 days the correct data again. See screen shot.

Maybe 30 seconds is too short.

I don't understand where the 'El canal' comes from. The title is in Spanish; although 'arte HD' broadcasts in Spanish it is not available in that language on any of the networks you are receiving.

Another question: the time zone of the network is UTC and only accessible in expert mode. Should I change this to UTC+1?

Leave as UTC - the EPG times are in UTC

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by saen acro almost 2 years ago

Wolfgang Zenner wrote:

I changed to 30sec - the problem persists. I have found a new behavior: the actual emission and the follwoing are shown and then the "El canal..." and after 2 days the correct data again. See screen shot.

Short guess, some other channel have same "service ID" and override EPG

Settings > DVB Input > Services
See if there is a duplications.

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Wolfgang Zenner almost 2 years ago

I sorted by service id. 11493.75 has 4 service-id's 10301-10304 for Das Erste HD, arte HD, SWR BW|RP HD, but no duplicates.
I changed timeout to 60s now.

ServiceId.png (176 KB) ServiceId.png sorted by service Id

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by saen acro almost 2 years ago

Wolfgang Zenner wrote:

I sorted by service id. 11493.75 has 4 service-id's 10301-10304 for Das Erste HD, arte HD, SWR BW|RP HD, but no duplicates.
I changed timeout to 60s now.

Let's make some simple experiment's.
1. Play stream in VLC and see what show EPG there.
2. Download EPG and see with channel have same EVENT.

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Wolfgang Zenner almost 2 years ago

Sorry, this I don't understand.
1. How to play in vlc and where - I use kodi (OSMC) to show TV
2. How to download EPG and how to analyze?
Thanks

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Wolfgang Zenner almost 2 years ago

vlc is running and running ... and doesn't show a stream, only the bar at the bottom went from left to right and back.
the second statement in the browser went to 100% CPU and I had to switch my computer off, because I couldn't to anything.
I created an m3u for arte HD:

#EXTM3U
#EXTINF:-1 tvg-id="af66bdf500ddc6a8ee57a0edca2f48ba" tvg-chno="5",arte HD
http://192.168.1.52:9981/stream/channelid/1975346863?profile=pass

I was asked for username/password and the bar moved from left to right... and didn't play

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Wolfgang Zenner almost 2 years ago

Is there something wrong with may configuration? Do I have to do some additional config?

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by saen acro almost 2 years ago

Create new user * (star) with same password.
Allow in user profile access from your home network ip's aka 192.168.0.0/24
No credentials will be needed from your home network.

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Wolfgang Zenner almost 2 years ago

So I created the new user started vlc --> open network stream --> "http://192.168.1.52:9981/playlist/channels" --> asking for username/password "*" for both - how long do I have to wait now?

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by saen acro almost 2 years ago

Wolfgang Zenner wrote:

So I created the new user started vlc --> open network stream --> "http://192.168.1.52:9981/playlist/channels" --> asking for username/password "*" for both - how long do I have to wait now?

How exactly you created * user?
Do you allow ANY permissions?

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by saen acro almost 2 years ago

Wolfgang Zenner wrote:

like this

VLC need special plugin for HTSP protocol, so allow all streaming formats.

Also are you sure what is your local network ip's?

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by saen acro almost 2 years ago

Wolfgang Zenner wrote:

I allowed all streaming formats and started vlc


change network to be equal as yours.

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by Wolfgang Zenner almost 2 years ago

I changed to "192.168.1.0/24" - but normally "0" means ALL, I think

and vlc says:
access error: HTTP connection failure
main error: read error: Operation now in progress
http error: failed to read answer

vlc did not ask for username/password

I manage tvheadend with "http://192.168.1.52:9981/extjs.html"

RE: Manual building tvheadend from https://github.com/tvheadend/tvheadend on Raspbian Buster - Added by saen acro almost 2 years ago

Wolfgang Zenner wrote:

I changed to "192.168.1.0/24" - but normally "0" means ALL, I think

But /24 mean 0-255

and vlc says:
access error: HTTP connection failure
main error: read error: Operation now in progress
http error: failed to read answer

Enable Web interface

vlc did not ask for username/password

So it work, but read help for permissions.

I manage tvheadend with "http://192.168.1.52:9981/extjs.html"

(26-50/75)