• 1
  • 31
  • 32
  • 33
  • 34(current)
  • 35
HOW-TO Compile Tvheadend & HDHomerun on Synology NAS
Hey chaps,

I'm interested in testing a recent master of TVH again on my DS415Play (evansport). I know that J. Dierkse built several versions, but hasn't done so for some time. I have been trying to cross-compile TVH myself on a Debain VM following the guidance given in this thread. I failed though. Some patches in the spksrc package apparently are not up-to-date anymore and I lack the skill set to fix that myself. Here where the compilation breaks:

Code:
cd spk/tvheadend/ && env make
make[1]: Entering directory /home/walter/spksrc/spk/tvheadend' ===> Processing dependencies of tvheadend make[2]: Entering directory/home/walter/spksrc/cross/busybox'
make[2]: Für das Ziel »default« ist nichts zu tun.
make[2]: Leaving directory /home/walter/spksrc/cross/busybox' make[2]: Entering directory/home/walter/spksrc/cross/tvheadend'
===> Patching for tvheadend
patch -p0 < patches/atomic32.patch
patching file configure
Hunk #1 succeeded at 118 (offset 64 lines).
patching file src/atomic.h
patch -p0 < patches/iov-max.patch
patching file src/dvr/dvr_db.c
Hunk #1 FAILED at 958.
1 out of 1 hunk FAILED -- saving rejects to file src/dvr/dvr_db.c.rej
make[2]: Leaving directory /home/walter/spksrc/cross/tvheadend' make[1]: Leaving directory/home/walter/spksrc/spk/tvheadend'

Therefore my questions:
(1) Has anyone cross-compiled a version of TVH successfully for a Syno device recently (ideally for evansport) and can provide some guidance of how to overcome the patch issue?
(2) From your experience, would it be easier/viable to use the chroot approach for my platform?
Reply
oh.... atomic patch. I'd forgotten that this patch was sometime. It's a very old thing Smile Use Debian chroot - its very simple and fast Smile
Reply
I have tvheadend on my synology as a backend and XBMC on my Raspberry PI as the front end. Everything works fine and I can watch Live TV on my XBMC via wifi.

Anyone know how I can setup tvheadend to record with compressed format such as XVID or MP4 and then watch it via XMBC?
Reply
@aisman
Thanks! I have installed chroot and TVH compiled without problems. Haven't switched from my semi-stable version though. Will try on the weekend and report back...

@quacka:

You can only record as ts stream or mkv container (see TVH settings on the web-interface), but you can transcode the recorded videos afterwards via post-processing / post-recording scripts

(1) There are Syno packages for ffmpeg to convert video files. Add http://cytec.us/spk/ as package source and you should be able to find and install ffmpeg for your architecture.
(2) Then you can set up post-recording scripts to have ffmpeg do the transcoding for you. See here for a start: https://tvheadend.org/projects/tvheadend...ng_scripts
Using your favorite search engine to look for other scripts and/or ffmpeg cli options might help you further..
Reply
Hello,

somebody can help me, with spk-file for my synology ds-414+. ?

I tried the x86 files from syno.dierkse.nl - but when install, i get error platform not supported.

I hope, somebody can help.
Reply
(2014-10-12, 23:41)Kaba Wrote: Hello,

somebody can help me, with spk-file for my synology ds-414+. ?

I tried the x86 files from syno.dierkse.nl - but when install, i get error platform not supported.

I hope, somebody can help.

what is "414+"? I haven't heard about this machine. May be 214+ or 414j?
Reply
@Kaba next time read a few pages back and do some reading

http://forum.xbmc.org/showthread.php?tid...pid1801761
Reply
hi Guys, in DC now: ./configure --prefix=/usr --disable-avahi --enable-libffmpeg_static ----works fine
Reply
Hello
I have a problem. I have installed TVHeadend on Debian Chroot on my NAS Synology DS713+

All is ok but after update tvheadend from git and try restart TVHeadend without restart NAS Synology all OK. Have info in shell:

hts@DS713:~$ ./restart.sh
[ ok ] Restarting Tvheadend: tvheadend.


My script restart,sh have:
#!/bin/bash

sudo /etc/init.d/tvheadend restart

But after restart TVHeadend not respond.
When i try stop:

-bash: /etc/init.sd/tvheadend: Nie ma takiego pliku ani katalogu
hts@DS713:~$ /etc/init.d/tvheadend stop
[....] Stopping Tvheadend: tvheadend^C

must ctrl+C

and then try start:

hts@DS713:~$ /etc/init.d/tvheadend start
[....] Starting Tvheadend: tvheadendwatching '/run/udev' failed


Please help me how i can restart TVHeadend without restart SYnology.


And where on Debian CHroot TVHeadend saved logs ?
Reply
OMG, pepeEL, why do not you read what you write yourself? My native language is Russian, but even I realized what a mistake brought to you Shell on Polish. "/etc/init.sd/tvheadend" -- what is it?

sudo /etc/init.d/tvheadend stop

wait until "ок"

sudo /etc/init.d/tvheadend start
Reply
I do this:

hts@DS713:~/tvheadend$ sudo /etc/init.d/tvheadend stop
[ ok ] Stopping Tvheadend: tvheadend.
hts@DS713:~/tvheadend$ sudo /etc/init.d/tvheadend start
[ ok ] Starting Tvheadend: tvheadend.



But after this when i try open http://address.ip:9981 the page not opened. I must restart Synology and then page opened.
Reply
(2014-10-28, 10:27)pepeEL Wrote: I do this:

hts@DS713:~/tvheadend$ sudo /etc/init.d/tvheadend stop
[ ok ] Stopping Tvheadend: tvheadend.
hts@DS713:~/tvheadend$ sudo /etc/init.d/tvheadend start
[ ok ] Starting Tvheadend: tvheadend.



But after this when i try open http://address.ip:9981 the page not opened. I must restart Synology and then page opened.

recompile tvh
Reply
Can you tell me how ? What command ?
Reply
are you kidding meHuh

mc
mkdir (F7) tvh-backup
F6 folder "tvheadend" to "tvh-backup"

git clone https://github.com/tvheadend/tvheadend

cd tvheadend

./configure --prefix=usr --disable-avahi

make

sudo /etc/init.d/tvheadend stop

sudo make install

sudo /etc/init.d/tvheadend start


This is last time when I help you, I can'y understand how are you not realizet it. Turn on ypu brine!
Reply
Any idea why mine isn't compiling on a DS214play?

http://pastebin.com/rrhUbipz

I've used chroot in the meanwhile and that worked like a charm.
Reply
  • 1
  • 31
  • 32
  • 33
  • 34(current)
  • 35

Logout Mark Read Team Forum Stats Members Help
HOW-TO Compile Tvheadend & HDHomerun on Synology NAS1