Hi,
I'm using patched and (self compiled) TVH, latest from Git incl. patch files from here in combination with OScam 11714. Works like a charm over DVB-S2
There are 308 replies in this Thread which was already clicked 89,584 times. The last Post () by damyaugust.
Hi,
I'm using patched and (self compiled) TVH, latest from Git incl. patch files from here in combination with OScam 11714. Works like a charm over DVB-S2
Hello M.I.T.M,
u say u are using the latest patched TVH?
Where can I find this version? That means, TVH need a new install and i cannot use my actually Version?
Or does it means i can use my TVH Version and patch the libdvbcsa.patch.zip?
OScam is no problem. A thousand times install and work like charm....
Cable works for me, but i need SAT too with icam....
hackbird001 you need to re -build TVH with the 2 patches from : here ...! ;
then you will not need oscam with ICAM Support means just a normal oscam(trunk).
...!!!
;
I decided to use latest TVH from github. You can get it via
by this you'll pull latest version which is not "stable" branch but for me (at least) it works perfectly and stable.
Before that, git clone patched libdvbcsa
and compile.
Then patch TVH 4.3 with provided patch from here. It should be on first pages of this thread.
Lastly, compile patched TVH and install
Is it correct, that all you need is a patched TVH, a standard oscam build and a CS provider who supports SAT CS icam lines?
yes
BlueJoe did u check if "libdvbcsa" is installed from the system?
I am using -Wl,-rpath /opt/tvheadend/lib in LDFLAGS to define my own libaries, to use...
so i dont get any issues if the system has this lib also.
i can't get it how do you do it
Could you show with the ./configure --ldflags=...
--ldflags="-Wl,-rpath, /opt/tvheadend/lib" doesent work for me
Hello, everyone.
First of all, a big compliment to the forum! I like it
TVHEADEND 4.3-1947~gdbaa0f850 has been running perfect for over a year on Debian Buster (without Docker).
I still have 2 questions that are not entirely clear to me:
1. Does the patch only run with a previous reinstallation or update to the current unstable version?
2. TVHEADEND runs as a Sat>IP server, does it work there just like a stream via VLC?
Thanks very much
Hey guys, can someone pls help me to get tvh running!?
I compiled the patched tvh without errors using
sudo ./configure --disable-dvbcsa
make
after that i try to run tvh from
mike@ubuntu2004:~/compile_tvh/tvheadend/build.linux$ sudo ./tvheadend
and there tvh crashed with
2022-10-22 11:29:04.666 [ INFO] main: Log started
2022-10-22 11:29:04.666 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2022-10-22 11:29:04.666 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2022-10-22 11:29:04.846 [ INFO] config: loaded
2022-10-22 11:29:04.846 [ INFO] transcode: 'video' context type registered
2022-10-22 11:29:04.846 [ INFO] transcode: 'audio' context type registered
2022-10-22 11:29:04.846 [ INFO] transcode: '&TVHH264Decoder' decoder helper registered
2022-10-22 11:29:04.847 [ INFO] config: scanfile (re)initialization with path <none>
2022-10-22 11:29:04.847 [ INFO] transcode: '&TVHTHEORADecoder' decoder helper registered
2022-10-22 11:29:04.847 [ INFO] transcode: '&TVHAACDecoder' decoder helper registered
2022-10-22 11:29:04.847 [ INFO] transcode: '&TVHVORBISDecoder' decoder helper registered
2022-10-22 11:29:04.847 [ INFO] transcode: '&TVHOPUSDecoder' decoder helper registered
2022-10-22 11:29:04.847 [ INFO] transcode: '&TVHMPEG2VIDEOEncoder' encoder helper registered
2022-10-22 11:29:04.847 [ INFO] transcode: '&TVHH264Encoder' encoder helper registered
2022-10-22 11:29:04.847 [ INFO] transcode: '&TVHHEVCEncoder' encoder helper registered
2022-10-22 11:29:04.847 [ INFO] transcode: '&TVHAACEncoder' encoder helper registered
2022-10-22 11:29:04.847 [ INFO] codec: 'mpeg2video' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'mp2' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'aac' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'vorbis' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'flac' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'libx264' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'libx265' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'libvpx' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'libvpx-vp9' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'libtheora' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'libvorbis' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'libopus' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'h264_vaapi' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'hevc_vaapi' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'vp8_vaapi' encoder registered
2022-10-22 11:29:04.847 [ INFO] codec: 'vp9_vaapi' encoder registered
2022-10-22 11:29:04.847 [ ALERT] profile: no default streaming profile! reinstall data files
2022-10-22 11:29:06.848 [ ALERT] CRASH: Signal: 6 in PRG: ./tvheadend (4.3-2040~g604d81a29-dirty) [d84ab18260e61f00c9e729906426bc926ac23195] CWD: /home/mike/compile_tvh/tvheadend/build.linux
2022-10-22 11:29:06.848 [ ALERT] CRASH: Fault address 0x19003 (N/A)
2022-10-22 11:29:06.848 [ ALERT] CRASH: Loaded libraries: linux-vdso.so.1 /usr/local/lib/libdvbcsa.so.1 /lib/x86_64-linux-gnu/libssl.so.1.1 /lib/x86_64-linux-gnu/libcrypto.so.1.1 /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu/libpcre2-8.so.0 /lib/x86_64-linux-gnu/liburiparser.so.1 /lib/x86_64-linux-gnu/libavahi-common.so.3 /lib/x86_64-linux-gnu/libavahi-client.so.3 /lib/x86_64-linux-gnu/libva.so.2 /lib/x86_64-linux-gnu/libdbus-1.so.3 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/libmvec.so.1 /lib/x86_64-linux-gnu/libstdc++.so.6 /lib/x86_64-linux-gnu/libva-drm.so.2 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libsystemd.so.0 /lib64/ld-linux-x86-64.so.2 /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib/x86_64-linux-gnu/libdrm.so.2 /lib/x86_64-linux-gnu/librt.so.1 /lib/x86_64-linux-gnu/liblzma.so.5 /lib/x86_64-linux-gnu/liblz4.so.1 /lib/x86_64-linux-gnu/libgcrypt.so.20 /lib/x86_64-linux-gnu/libgpg-error.so.0
2022-10-22 11:29:06.848 [ ALERT] CRASH: Register dump [23]: 000000000000000000007ffc1f5814b0000000000000000800000000000002460000000000000000000000000000000000000000ffffffff0000000000000000000000000000000200007ffc1f5814b000007ffc1f58235000007fc11f8900000000000000000000000000000000000000007fc11fb4f00b00007ffc1f5814b000007fc11fb4f00b0000000000000246002b00000000003300000000000000000000000000000000fffffffe7ffbfa170000000000000000
2022-10-22 11:29:06.848 [ ALERT] CRASH: STACKTRACE
2022-10-22 11:29:06.869 [ ALERT] CRASH: /home/mike/compile_tvh/tvheadend/src/trap.c:176 0x5578afd0d1a1 0x5578afad9000
2022-10-22 11:29:06.904 [ ALERT] CRASH: ??:0 0x7fc120076420 0x7fc120062000
2022-10-22 11:29:06.904 [ ALERT] CRASH: gsignal+0xcb (/lib/x86_64-linux-gnu/libc.so.6)
2022-10-22 11:29:06.904 [ ALERT] CRASH: abort+0x12b (/lib/x86_64-linux-gnu/libc.so.6)
2022-10-22 11:29:06.927 [ ALERT] CRASH: /home/mike/compile_tvh/tvheadend/src/profile.c:2811 0x5578afd2f0e7 0x5578afad9000
2022-10-22 11:29:06.952 [ ALERT] CRASH: /home/mike/compile_tvh/tvheadend/src/main.c:1291 (discriminator 3) 0x5578afcb89fa 0x5578afad9000
2022-10-22 11:29:06.952 [ ALERT] CRASH: __libc_start_main+0xf3 (/lib/x86_64-linux-gnu/libc.so.6)
Aborted
Display More
Thx for your help!
is anyone willing to install it for me, I have everything I need but I don't have this much knowledge.
so I would ask a good soul to help me
am try compile my own but without success!!!
on the end i got this error
CC src/docs.o
CC build.o
CC timestamp.o
CC tvheadend
/usr/bin/ld: /root/tvheadend/build.linux/src/descrambler/tvhcsa.o: in function `tvhcsa_set_key_even':
/root/tvheadend/src/descrambler/tvhcsa.c:228: undefined reference to `dvbcsa_bs_key_set_ecm'
/usr/bin/ld: /root/tvheadend/build.linux/src/descrambler/tvhcsa.o: in function `tvhcsa_set_key_odd':
/root/tvheadend/src/descrambler/tvhcsa.c:250: undefined reference to `dvbcsa_bs_key_set_ecm'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:713: /root/tvheadend/build.linux/tvheadend] Error 1
make[1]: Leaving directory '/root/tvheadend'
make: *** [Makefile:110: ffmpeg_all] Error 2
root@stalker:~/tvheadend# ^C
i make it work finaly , tvh 4.3 icam
thanks for good job all
I just seen your message.
OSCAM should be vanilla unpatched version... Not sure if it works with any "icam patched" versions?
if you compiled both TVH and the libdvbcsa then it should work like before they added icam to skyde.
By the way people, stop messaging me. I might have started the topic but I am not the brains behind this.
Hi ihordi,
can you please explane how you've fixed this error
QuoteDisplay Moreon the end i got this error
CC src/docs.o
CC build.o
CC timestamp.o
CC tvheadend
/usr/bin/ld: /root/tvheadend/build.linux/src/descrambler/tvhcsa.o: in function `tvhcsa_set_key_even':
/root/tvheadend/src/descrambler/tvhcsa.c:228: undefined reference to `dvbcsa_bs_key_set_ecm'
/usr/bin/ld: /root/tvheadend/build.linux/src/descrambler/tvhcsa.o: in function `tvhcsa_set_key_odd':
/root/tvheadend/src/descrambler/tvhcsa.c:250: undefined reference to `dvbcsa_bs_key_set_ecm'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:713: /root/tvheadend/build.linux/tvheadend] Error 1
make[1]: Leaving directory '/root/tvheadend'
make: *** [Makefile:110: ffmpeg_all] Error 2
root@stalker:~/tvheadend# ^C
Thank you!
Hey everyone,
i think i have successful compile tvheadend with the instructions from =[M.I.T.M]=:
Display MoreI'm currently struggling to make the patched TVH binary in the way that I can run it afterwards.
First,libdvbcsa was patched & installed before and old libdvbcsa-dev got purged, like this:
Codegit clone https://github.com/glenvt18/libdvbcsa cd libdvbcsa git config apply.whitespace nowarn git apply libdvbcsa.patch ./bootstrap ./configure make sudo apt-get purge libdvbcsa-dev make install
Next, TVH got patched and then make it (successfully)
Codecd tvheadend git config apply.whitespace nowarn git apply tvheadend43.patch make clean ./configure --disable-dvbcsa --disable-ffmpeg_static --disable-libfdkaac_static --disable-libtheora_static --disable-libopus_static --disable-libvorbis_static --disable-libvpx_static --disable-libx264_static --disable-libx265_static --disable-libfdkaac --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --disable-avahi --disable-dbus_1 --disable-bintray_cache --disable-execinfo --disable-hdhomerun_static --disable-hdhomerun_client --enable-libav --enable-pngquant --enable-trace --enable-vaapi --infodir=/usr/share/info --localstatedir=/var --mandir=/usr/share/man --prefix=/usr --python=python3 --sysconfdir=/config make
If I now want to run tvheadend binary, I get:
Coderoot@tvh-ubuntu-focal:~/tvheadend/build.linux# ./tvheadend ./tvheadend: symbol lookup error: ./tvheadend: undefined symbol: dvbcsa_bs_key_set_ecm
OS: Ubuntu 20.04.5
Any ideas where my mistake is?
Thanks!
EDIT:
ok, missed to purge also libdvbcsa1
Now I can run the binary. What's the default user and PWD for web ui access?
But, packaging it is still not possible with
It results in:
CodeDisplay Moreroot@tvh-ubuntu-focal:~/tvheadend# ./Autobuild.sh -t xenial-amd64 On branch master Your branch is up to date with 'origin/master'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: src/descrambler/descrambler.c modified: src/descrambler/descrambler.h modified: src/descrambler/tvhcsa.c modified: src/descrambler/tvhcsa.h no changes added to commit (use "git add" and/or "git commit -a") Using ccache cache directory /root/.ccache primary config /root/.ccache/ccache.conf secondary config (readonly) /etc/ccache.conf stats updated Mon Oct 10 18:16:49 2022 cache hit (direct) 511 cache hit (preprocessed) 1 cache miss 399 cache hit rate 56.20 % called for link 288 preprocessor error 3 cleanups performed 0 files in cache 1038 cache size 75.5 MB max cache size 5.0 GB dpkg-buildpackage: info: source package tvheadend dpkg-buildpackage: info: source version 4.3-2038~g5f9404117-dirty~xenial dpkg-buildpackage: info: source distribution xenial dpkg-buildpackage: info: source changed by Andreas Öman <andreas@tvheadend.org> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . dpkg-checkbuilddeps: error: Unmet build dependencies: libdvbcsa-dev dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.)
Now my problem is to login to the TVHeadend Setup via the GUI (even when i start it whit the argument -C)
and my second problem at the moment is, how to put at as autostart on the server? or what is the final "installation" command after compile tvheadend?
It would be amazing if some whit more Linux Skills, could provide a full guide for someone like me.
thx!
I use Ubuntu 20.04LTSR
libdvbcsa-01-LS.patch
Can anyone help me
I try to compile the tvheadend patch for coreelec 19 whith this manual from fegol:
It can also be built within CoreELEC without any problems,
just create a patches folder "here" and copy the unzipped content of libdvbcsa.patch.zip to the patches folder and rename the patch to something like libdvbcsa-01-LS.patch,
and copy the unpacked contents of tvheadend43.patch.zip into "this folder" and rename the patch to something like tvheadend43-03-LS.patch.
and running this command in a linux terminal:
Code
export PROJECT=Amlogic # Amlogic, Generic, RPi, ... #
export ARCH=arm # arm or aarch64 #
scripts/build libdvbcsa
scripts/create_addon tvheadend43
I am a beginner whith github , and i cannot create the patch folder
many thanks
Tryin to compile tvheadend addon but the compilation ends with the errors::
and
FAILURE: scripts/build m4:host during make_host (default)
*********** FAILED COMMAND ***********
make ${PKG_MAKE_OPTS_HOST}
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${p}" "${PARENT_PKG}"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${p}" "${PARENT_PKG}"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${p}" "${PARENT_PKG}"
**************************************tt
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${p}" "${PARENT_PKG}"
Display More
I will ask in CE Forum also. But I am very busy at this moment.
Followed these instructons.
just use my docker: gee1/tvheadend-arm within CE, its patched
Display MoreHey everyone,
i think i have successful compile tvheadend with the instructions from =[M.I.T.M]=:Display MoreI'm currently struggling to make the patched TVH binary in the way that I can run it afterwards.
First,libdvbcsa was patched & installed before and old libdvbcsa-dev got purged, like this:
Codegit clone https://github.com/glenvt18/libdvbcsa cd libdvbcsa git config apply.whitespace nowarn git apply libdvbcsa.patch ./bootstrap ./configure make sudo apt-get purge libdvbcsa-dev make install
Next, TVH got patched and then make it (successfully)
Codecd tvheadend git config apply.whitespace nowarn git apply tvheadend43.patch make clean ./configure --disable-dvbcsa --disable-ffmpeg_static --disable-libfdkaac_static --disable-libtheora_static --disable-libopus_static --disable-libvorbis_static --disable-libvpx_static --disable-libx264_static --disable-libx265_static --disable-libfdkaac --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --disable-avahi --disable-dbus_1 --disable-bintray_cache --disable-execinfo --disable-hdhomerun_static --disable-hdhomerun_client --enable-libav --enable-pngquant --enable-trace --enable-vaapi --infodir=/usr/share/info --localstatedir=/var --mandir=/usr/share/man --prefix=/usr --python=python3 --sysconfdir=/config make
If I now want to run tvheadend binary, I get:
Coderoot@tvh-ubuntu-focal:~/tvheadend/build.linux# ./tvheadend ./tvheadend: symbol lookup error: ./tvheadend: undefined symbol: dvbcsa_bs_key_set_ecm
OS: Ubuntu 20.04.5
Any ideas where my mistake is?
Thanks!
EDIT:
ok, missed to purge also libdvbcsa1
Now I can run the binary. What's the default user and PWD for web ui access?
But, packaging it is still not possible with
It results in:
CodeDisplay Moreroot@tvh-ubuntu-focal:~/tvheadend# ./Autobuild.sh -t xenial-amd64 On branch master Your branch is up to date with 'origin/master'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: src/descrambler/descrambler.c modified: src/descrambler/descrambler.h modified: src/descrambler/tvhcsa.c modified: src/descrambler/tvhcsa.h no changes added to commit (use "git add" and/or "git commit -a") Using ccache cache directory /root/.ccache primary config /root/.ccache/ccache.conf secondary config (readonly) /etc/ccache.conf stats updated Mon Oct 10 18:16:49 2022 cache hit (direct) 511 cache hit (preprocessed) 1 cache miss 399 cache hit rate 56.20 % called for link 288 preprocessor error 3 cleanups performed 0 files in cache 1038 cache size 75.5 MB max cache size 5.0 GB dpkg-buildpackage: info: source package tvheadend dpkg-buildpackage: info: source version 4.3-2038~g5f9404117-dirty~xenial dpkg-buildpackage: info: source distribution xenial dpkg-buildpackage: info: source changed by Andreas Öman <andreas@tvheadend.org> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . dpkg-checkbuilddeps: error: Unmet build dependencies: libdvbcsa-dev dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.)
Now my problem is to login to the TVHeadend Setup via the GUI (even when i start it whit the argument -C)
and my second problem at the moment is, how to put at as autostart on the server? or what is the final "installation" command after compile tvheadend?
It would be amazing if some whit more Linux Skills, could provide a full guide for someone like me.
thx!
I use Ubuntu 20.04LTSR
I had problems with creating the package too, so I added a tvheadend.service manually:
1. copy your tvheadend folder to /usr/bin
2. sudo nano /etc/systemd/system/tvheadend.service and add this lines to the tvheadend.service file and save it:
#####
Description=tvheadend
[Service]
User=#yourusername
WorkingDirectory=/usr/bin/tvheadend/build.linux
ExecStart=/usr/bin/tvheadend/build.linux/tvheadend -C
Restart=always
[Install]
WantedBy=multi-user.target
######
3. sudo systemctl daemon-reload
4. sudo systemctl start tvheadend.service
5. sudo systemctl enable tvheadend.service
Don’t have an account yet? Register yourself now and be a part of our community!