Sundtek Support Forum

Deutsch => Sundtek MediaTV Pro => Thema gestartet von: hansputters am April 29, 2014, 09:59:34 Vormittag

Titel: Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am April 29, 2014, 09:59:34 Vormittag
Good morning,

After reading a lot in this interesting forum regarding Synology NAS systems, i am eager to give it a try myself.

-In my DS413j i downloaded in the Community section Sundtek package and installed it succesfully
-For Dreambox DM800SE network plugin has been installed and rights were configured (as well in the NAS)
-I purchased a second hand Sundtek DVB-C/T USB stick (silver, it is said to be one year old)

What is confusing me, is the (needed?) use of the application "tvheadend" of which is often spoken in many topics.
Do i really need tvheadend just for streaming DVB-C channels to the Dreambox or is Sundtek-package sufficient?

I hope somebody could help me in this matter
Thank you in advance

Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am April 29, 2014, 10:03:08 Vormittag
It's rather easy, the streaming support you need to enable on the console on the NAS.

Connect via telnet (For example with  Putty (http://sundtek.de/support/putty.exe)) as root and run:

echo "enable_network=on" > /etc/sundtek.conf


afterwards restart the driver in the webfrontend.

After that you can go to your Dreambox and either enter the IP of the NAS in the Sundtek Control Center or do a Network Scan (also in the Sundtek Control Center).

TVHeadend is not needed for that, that functionality is within our driver.
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am April 29, 2014, 10:30:00 Vormittag
Thank you so much for quick responding.
It seems rather uncomplicated indeed.

Please allow me one more detail...
As i mentioned in the former post i have been studying the "Synology-section" quite thorough lately.
Therefore i noticed a different Telnet command for enabling network support, i.e.:  /opt/bin/mediaclient --enablenetwork=on

Would you be as kind as to comment on this minor issue please?
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am April 29, 2014, 11:38:59 Vormittag
On the Synology NAS things are a little bit different, our engineer is currently doing a small webinterface so you can enable the streaming server in the webinterface.

Mediaclient is located in a different directory on the Synology NAS in order to integrate correctly into the Synology Ecosystem
the path is /volume1/@appstore/sundtek/opt/bin/mediaclient (in case you really want to configure the driver from commandline).
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am April 29, 2014, 01:29:23 Nachmittag
Sorry to bother you again.
I followed your instructions, including Telnet session via Putty:   echo "enable_network=on" > /etc/sundtek.conf

But unfortunately, the Sundtek Control Center in the DM 800 does not find any IP servers.

Would you explain me what i did wrong?
After Telnet command echo "enable_network=on" > /etc/sundtek.conf  i restarted NAS via the Synology menu
Is that what you meant "restart through webfrondend" ?
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am April 29, 2014, 01:30:22 Nachmittag
Wait until we update the Synology package, you can set up the network server via Synology webfrontend then.
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am April 29, 2014, 01:33:52 Nachmittag
Sorry i am afraid i do not get the picture.
Synology webfrontend, what is that exactly (NAS own menu?)
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am April 29, 2014, 04:11:37 Nachmittag
We just updated the Synology Installer Package, update the Synology Packages and do following steps:

(http://sundtek.de/images/synology2_small.png) (http://sundtek.de/images/synology2.png)

(http://sundtek.de/images/synology4_small.png) (http://sundtek.de/images/synology4.png)


You can also check if you can see the device with windows (via network):

(http://sundtek.de/images/streamline_scanner_small.png) (http://sundtek.de/images/streamline_scanner.png)
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am April 29, 2014, 06:20:41 Nachmittag
Thank you so much for this clear howto!
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am Mai 05, 2014, 12:08:45 Nachmittag
By the way:   has the former problem with USB 3.0-ports in Synology NAS systems been solved?
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am Mai 05, 2014, 03:29:27 Nachmittag
We have no information regarding that one at the moment. However this problem is related to the Synology NAS USB Stack, only Synology can fix that.
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am Mai 08, 2014, 02:03:42 Nachmittag
We have seen it work on one Synology NAS with USB 3.0, so the USB 3.0 issues are different across different models.

Even though it was working on that particular NAS there have been some issues to get it work:
1. The device needs to be attached before booting the system
2. The driver takes 20 Seconds to load (normal driver loading time is 4 Seconds)

Hotswapping any other USB 3.0 device might affect all the USB devices on the USB Bus.
We did not experience a crash with it yet..
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am Mai 08, 2014, 08:07:58 Nachmittag
Thanx very much for your feedback!
Do you happen to know with which specific Synology-server this positive result was reached?
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am Mai 09, 2014, 06:44:29 Nachmittag
Well, once the customer gets back to us we will know; we did not ask which synology NAS was in use when we were debugging the USB 3.0 support on it; The only thing was that the USB device needed to be attached before booting the system.
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am Mai 14, 2014, 11:40:09 Vormittag
Sorry to bother you again.
In the electronic shop "around the corner" they have a bargain of DS214 play at this very moment.
This model offers two 3.0 busses and unfortunately only one 2.0 USB bus.

My question: should i decide to use a second Sundtek tuner in the future, would it be possible to connect a powered Hub to this 2.0 port?
Would they both run this way, you think?

Thank you!
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am Mai 14, 2014, 11:44:10 Vormittag
See the personal message.

As long as you attach the device to USB 2.0 it is fine!

USB 3.0 is shaky/unstable with Synology NAS systems at the moment, some customers reported that Synology is trying to fix this.
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am Mai 19, 2014, 12:15:16 Vormittag
Hallo,

System is not running to my satisfactory, i am afraid.
I use Sundtek Synolgy Package (updated today to version .15) and stream content of DVB-C dongle of 2nd generation to my Dreambox.

Performance is close to perfection but regularly there are short freezes, on SD and or HD channels.
How come?
CPU of my 413j is being used for 25-40% during HD-streaming sessions.

Is CPU of my Dreambox maybe not sufficient?
Would you advise me any finetuning and if so what and in which device?

After reading older topics in this splendid forum i noticed that some time ago settop-users were advised to install tvheadend on the NAS followed by installing Sundtek drivers via Telnet.
I tried this procedure in the meantime but Telnet-commands found did not work any more.
Which commands are to be used in case i should not use Sundtek's Synology package?

Thank you for your comments!
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am Mai 19, 2014, 12:52:14 Vormittag
The Web-Installer is fine, what does following command show up on your NAS:

/volume1/@appstore/sundtek/opt/bin/mediaclient --lc


Commandline is disabled.
We will check Streaming from our NAS to the DM800HD SE within next week, there are several options that can be tested.
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am Mai 19, 2014, 01:13:25 Vormittag
Thank you!

Reply to your question:

DiskStation> /volume1/@appstore/sundtek/opt/bin/mediaclient --lc
**** List of Media Clients ****
/dev/dvb/adapter0/frontend0:
  9263 ... mediasrv
/dev/dvb/adapter0/dvr0:
  9263 ... mediasrv
/dev/dvb/adapter0/demux0:
  9263 ... mediasrv (07da)
  9263 ... mediasrv (0835)
  9263 ... mediasrv (07d1)
  9263 ... mediasrv (0000)
  9263 ... mediasrv (0064)
  9263 ... mediasrv (0065)
  9263 ... mediasrv (07d0)
  9263 ... mediasrv (0012)
/dev/mediainput0:
  No client connected
/dev/dvb/adapter1/frontend0:
  No client connected
/dev/dvb/adapter1/dvr0:
  No client connected
/dev/dvb/adapter1/demux0:
  No client connected
/dev/mediainput1:
  No client connected
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am Mai 19, 2014, 11:20:23 Vormittag
Good morning,

May i ask what results, shown in my previous post, show up?
For your information: result was obtained with a Synology 213 (show model from my computer supplier)
(My own NAS is to be repaired there, if possible)
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am Mai 19, 2014, 12:51:53 Nachmittag
The results you posted are okay and normal.
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am Mai 19, 2014, 01:52:02 Nachmittag
OK, that is a little relief, thanx.
CPU on Dreamboxes are not quite state of the art; could the box be the cause of the problem?
(i installed driver through SSC plugin and configured IP streaming by means of this plugin)

For streaming to a settopbox installing driver on the box itself is absolutely necessary, i suppose.
Would there be another solution by using some kind of mediaplayer?

I apologize for my lack of knowledge...
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am Mai 19, 2014, 02:20:54 Nachmittag
Your Dreambox is a DM800 HD Se isn't it? (that one should be fine).

Possibly it is network related, but we need to check by ourself first to give some better answer. If it's related to the network there are might be some options which we could adjust.
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am Mai 19, 2014, 02:31:27 Nachmittag
Roger!
Yes this Dream model is meant!
I am eagerly looking forward to your own results....

Thanx in advance
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am Mai 24, 2014, 12:10:43 Nachmittag
Did you have opportunity to test streaming in combination Dreambox/Synology yet?
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am Mai 24, 2014, 06:49:00 Nachmittag
Still on the list here, give it 2-3 more days.
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am Mai 24, 2014, 10:11:32 Nachmittag
Don't worry, thanx for your comments anyway!
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: Sundtek am Juni 18, 2014, 03:52:27 Nachmittag
We tested HDTV and it works fine.

Are you using the NAS aside of streaming?

One issue might happen if you wake up the harddisk of the NAS while streaming. This might interrupt the streaming and damage the videostream.
In a normal case the Harddisk of the Synology NAS spins down and the NAS is completely silent.
Titel: Re:Streaming Synology NAS to Dreambox: application tvheadend is needed?
Beitrag von: hansputters am Juni 19, 2014, 12:07:33 Vormittag
Thank you very much for testing!
Yes, i noticed too that when NAS is being opened for some issue (hard disk and mail server functionality) that stream breaks briefly.
Such is also the case when in Windows 7 start button "Computer" is being used.
No tragedy however....

Our main problem is (or better was) that once my wife started a new on-line bridge game the stream stopped for some seconds and only switching the channel solved that problem
A few days our PC's changed places and for some reason this specific issue does not occur anymore on the computer on which she is playing.
Peculiar is it not? both PC's have a Gigabit network card