• 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 35
HOW-TO Compile Tvheadend & HDHomerun on Synology NAS
(2013-12-23, 15:34)pepeEL Wrote:
(2013-12-23, 14:39)aisman Wrote: mount -o bind /volume1/@appstore/debian-chroot/var/chroottarget/home/Recordings /volume1/TVHeadend

chmod 777 -R /volume1/@appstore/debian-chroot/var/chroottarget/home/Recordings

Ok it works perfect Smile Thanks Smile

This will work until you reboot. Add this line to s99debian.sh and check if it will work after the system boots.
Reply
this to line add to s99debian.sh ?
Reply
#!/bin/sh

mount -o bind /volume1/@appstore/debian-chroot/var/chroottarget/home/Recordings /volume1/TVHeadend

chroot /volume1/@appstore/debian-chroot/var/chroottarget/ /root/runapps.sh &
Reply
i see its not working correctly, we haven't permissions... I'll think about it.
Reply
I add two line and it works...

#!/bin/sh

chroot /volume1/@appstore/debian-chroot/var/chroottarget/ /root/runapps.sh &

mount -o bind /volume1/@appstore/debian-chroot/var/chroottarget/home/Recordings /volume1/TVHeadend

chmod 777 -R /volume1/@appstore/debian-chroot/var/chroottarget/home/Recordings
Reply
If you want to have the latest libraries and compiler on Debian then do the following:

First is configure ssh to go directly.

Code:
chroot /volume1/@appstore/debian-chroot/var/chroottarget /bin/bash
Code:
apt-get install sudo
adduser <your-user>
(skip phone, home etc) just press enter, enter & confirm password
Code:
adduser <your-user> sudo

change port 22 in file /etc/ssh/sshd_config to 2222 (for example)

Code:
/etc/init.d/ssh start
Don't forget to add this line to your script runapps.sh

Go directly to Debian by ssh!

add this line to file /etc/apt/sources.list:

Code:
deb http://mirror.yandex.ru/debian/ testing main contrib non-free

Add the following to the end of the file /etc/apt/preferences:

Code:
Package: *
Pin: release a=testing
Pin-Priority: 5

now update

Code:
sudo apt-get autoremove build-essential gcc
sudo apt-get update
sudo apt-get install -t testing build-essential

You get GCC 4.8.2 Love with eglibc 2.17. Nod

Now you can build anything. Congratulations!

Tvheadend compiled with this set works perfectly.

Image Image
Reply
For those who don't have HD channels, and for those who don't want for some reason to install debian -- tvheadend-3.9.279.spk
Reply
(2013-12-23, 21:45)aisman Wrote: For those who don't have HD channels, and for those who don't want for some reason to install debian -- tvheadend-3.9.279.spk

Is this the ARM version?
Reply
(2013-12-23, 20:45)aisman Wrote: If you want to have the latest libraries and compiler on Debian then do the following:

First is configure ssh to go directly.

Code:
chroot /volume1/@appstore/debian-chroot/var/chroottarget /bin/bash
Code:
apt-get install sudo
adduser <your-user>
(skip phone, home etc) just press enter, enter & confirm password
Code:
adduser <your-user> sudo

change port 22 in file /etc/ssh/sshd_config to 2222 (for example)

Code:
/etc/init.d/ssh start
Don't forget to add this line to your script runapps.sh

Go directly to Debian by ssh!

add this line to file /etc/apt/sources.list:

Code:
deb http://mirror.yandex.ru/debian/ testing main contrib non-free

Add the following to the end of the file /etc/apt/preferences:

Code:
Package: *
Pin: release a=testing
Pin-Priority: 5

now update

Code:
sudo apt-get autoremove build-essential gcc
sudo apt-get update
sudo apt-get install -t testing build-essential

You get GCC 4.8.2 Love with eglibc 2.17. Nod

Now you can build anything. Congratulations!

Tvheadend compiled with this set works perfectly.

Image Image

what's new compilation gives described up compared to the compilation of post # 87?

(2013-12-23, 21:45)aisman Wrote: For those who don't have HD channels, and for those who don't want for some reason to install debian -- tvheadend-3.9.279.spk

For HD channels is another way build?
Reply
(2013-12-23, 21:46)Smiggel Wrote:
(2013-12-23, 21:45)aisman Wrote: For those who don't have HD channels, and for those who don't want for some reason to install debian -- tvheadend-3.9.279.spk

Is this the ARM version?

sure!
Reply
(2013-12-23, 21:55)aisman Wrote:
(2013-12-23, 21:46)Smiggel Wrote:
(2013-12-23, 21:45)aisman Wrote: For those who don't have HD channels, and for those who don't want for some reason to install debian -- tvheadend-3.9.279.spk

Is this the ARM version?

sure!

Thanks! :-)
Reply
(2013-12-23, 21:47)pepeEL Wrote: what's new compilation gives described up compared to the compilation of post # 87?

For HD channels is another way build?


if you want to build such comskip, then there will need gcc 4.7.2 or higher, talked about this author of comskip (although I definitely remember that I built it on 4.6.4)

stop scripts run debian, reboot, install spk, and compare. The difference is visible on watching HD channels.
Reply
(2013-12-23, 22:03)aisman Wrote:
(2013-12-23, 21:47)pepeEL Wrote: what's new compilation gives described up compared to the compilation of post # 87?

For HD channels is another way build?


if you want to build such comskip, then there will need gcc 4.7.2 or higher, talked about this author of comskip (although I definitely remember that I built it on 4.6.4)

stop scripts run debian, reboot, install spk, and compare. The difference is visible on watching HD channels.

But if you currently have tvheadend running on debian-chroot according to the description of post # 87 on this or if you do according to the description of post # 126 is whether something will change? And what is comskip ?

I'm not talking about the installation of a pack SPK.


Could you describe step by step how i can compile tvheadend after i do what you write in post #126. Please step by step from start to finish how we can run and compile tvheadend on nas synology on debian-chroot. As describe you in post #87.
Reply
no will be changed with tvheadend! It will run fine on new eglibc too. HOW-TO step by step I've already described in #87. In #126 I was talking about how to upgrade gcc if you want. About comskip here.
Reply
How check gcc which version is in my DSM ?

Are you new GCC TVHeadend works better than what GCC is implemented in the Synology DSM?

Is if you will comskip on debian-chroot it or stream HD tv will work better?

Sorry for my stupid questions but I'm learning Linux Smile
Reply
  • 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 35

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