PVR WMC Stream Timeout-Unknow Problem
#1
Hello!

I have a problem streaming live tv in HD channels on my clients using kodi addon PVR WMC
(Windows HTPC, Fire TV Sitcks (2), they started very well and suddenly they stopped and a message
PVR WMC Stream Timeout-Unknow Problem show up and then stoped the stream.

On SD channels the stream is steady and don't have any problems, also I can do recordings and watch
the recordings very well.

FYI: using ServerWMC version 1225, the latest version give me problems when I start recording, so I return
to the 1225 wich works perfectly exepct for the above mentioned.

Here is the log: http://pastebin.com/XxVUhi72

Thanks in advance for any help!
Reply
#2
Hi,

After you start a high def stream there is a stuff like this in the log:
2016/10/15 22:25:43.631 StreamFileSize> client Kodi^localhost, count: 5, ts stream size: 187,039,744 (wtv: 522,977,280)
2016/10/15 22:25:46.694 StreamFileSize> client Kodi^localhost, count: 10, ts stream size: 187,039,744 (wtv: 522,977,280)
2016/10/15 22:25:49.743 StreamFileSize> client Kodi^localhost, count: 15, ts stream size: 187,039,744 (wtv: 522,977,280)
2016/10/15 22:25:52.791 StreamFileSize> client Kodi^localhost, count: 20, ts stream size: 187,039,744 (wtv: 522,977,280)
2016/10/15 22:25:55.850 StreamFileSize> client Kodi^localhost, count: 25, ts stream size: 187,039,744 (wtv: 522,977,280)

This means your server stops generating new data (note that the stream size is not increasing). Why this is happening I can't say for sure. Your server is remuxing data to ts files to generate this stream, so you needs disk space and disk performance and your cpu needs to not get bogged down while the stream is running, so I would check all those things. It could also (possibly) be a problem with your tuner.

I don't why the new version of serverwmc would make any difference when you 'start recording'. If you every try the new version again, post the log when you see the problem.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#3
Im using a HP T-620 Plus Thin client
Specs: 2.0Ghz Quad Core CPU
4 Gb Ram
16 Gb Flash
OS: Windows 7 Ultimate
That Thin client has a PCIe slot so I installed a single turner card there also
I attached a 500 Gb USB Hard Drive to the thin client and also Im running
Serviio Media Server too and everything runs very good.

Im planing to buy the Hauppauge Quad HD tuner card but first I have to try to resolve this
issue first.

The thin client when is streaming live tv in HD is using only 3% CPU usage, Memory
use is also very low, so I don't think is a CPU or memory issue.

My HTPC is hard wired on a Gigabit Network and my Wifi AP is a Ubiquiti UAP AC LR.

The tuner card seems to work fine but I think the issue is the space on the flash or the
space available in the USB hard Drive.

Also I have a WD My Cloud 2Tb NAS, don't know if I can use it to storage Recorded TV from
WMC in there. That's is my Network setup at the moment.

Thanks for your advice, I still want your advice or your help in the matters.
Reply
#4
Sounds like a cool setup. I assume the wmc recorded tv folder is currently located on the usb drive, that may indeed be the problem. Its in the recorded tv folder that all the streams are written. Wmc itself doesn't let you move the recorded tv folder to a NAS (although you can get around this). But even with this restriction, you can experiment with moving the location of where serverwmc stores the intermediate 'ts' stream files. You can move them anywhere you want so long the clients can access it. You put the path to it in this field of the serverwmc config file:
<RemuxCustomFolderUNC />
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#5
Finally is working good now!
I'll expalin what I did:

What I did first is fomat the 500GB usb drive and then I increase the storage limit in WMC to 450
and try again doing some test and still have the same problem, then I check the drive behaviour
on Windows while it streams an HD channel and it seems that the transfer of data is more slow
for the usb drive.

Since that drive is a usb 3.0 and the thin client have 8 usb ports (6 usb 2.0 and 2 usb 3.0) I have it connected
in one of the 3.0 ports to have the fastest speed but then I changed to one of the 2.0 ports and start testing
and everything runs perfectly good, no more freezing or stopping and finally no more errors.

What I learned in conclusion is that WMC need a lot of storage but doesn't need high speed in data transfers,
I will stay for a while with that hard drive but I will replace it with a 2Tb one to have plenty of space since I'm
planing to get the Hauppauge Quad HD tuner card to support all the TV's.

Thank you very much Krusty, because you give me the hint to where the problem was and thank you for such amazing
software development you made.
Reply
#6
Thanks pcm32 and thanks for posting your results.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#7
Hello. I too am trying to have this stream remotely. I have all ports open and when I open kodi it loads my guide. Whenever selecting a program, however, it says live-tv time out. Is it possible to stream remotely? I have decent upload (20/mbs). Thoughts?
Reply
#8
There isn't much data to go on here, but the normal reason for problems like this is that your recorded tv folder is not accessible by your 'remote' client. Check the 'folders' tab in serverwmc. It that's not the problem, post your serverwmc log (see debug tab) after trying to start a live stream from your remote client. Post the log on pastebin.com and post a link to it here.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#9
http://pastebin.com/mXCx06h2

Thanks Krusty! Attached is my paste bin...look towards the botton around 16:32, when I try to watch CNNHD. The golf channel worked fine and so did Sprout earlier, but that was on local wifi, not remote (4G LTE connection). Side note, I can get serverwmc to work through Plex, but I would prefer using Kodi. Thanks for your help!
Reply
#10
I think it will be difficult to get it to work using kodi since there is no transcoding. If you don't like plex have you tried emby?

That said, it is not clear to me why the cnn live feed failed. Have you confirmed that you can watch this same channel over yourwifi network?
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#11
Yup. It works on local network (wifi). It just seems to timeout when trying to watch remotely. Even at work using KODI PC client. (Not firewall related as plex2wmc works at work). Thanks for your help.
Reply
#12
(2016-12-05, 03:19)krustyreturns Wrote: I think it will be difficult to get it to work using kodi since there is no transcoding. If you don't like plex have you tried emby?

That said, it is not clear to me why the cnn live feed failed. Have you confirmed that you can watch this same channel over yourwifi network?

Hi Krusty,

Should I set it to transcode then? Not sure what to do to proceed. Thanks!
Reply
#13
From everything you have said it sounds like you need to transcode to reduce the bitrate. If you really want to use kodi (which doesn't transcode) you could try increasing the amount of time serverwmc waits to get the stream started. In the settings file change
<Timeout_WaitForTS_MS>10000</Timeout_WaitForTS_MS>
to a larger value (double it). Then save and restart serverwmc.

But I still think it may not work due to the bitrate. That's why I recommend using emby-server (if you don't like plex) as a transcoding server. You can use it remotely, and use kodi on your lan.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#14
So, now it just freezes on whatever client I am on. I am just wanting to stream it from Server WMC to a remote Kodi client and keep the same mpeg2 stream (if possible). Starting to think it isn't possible.
Reply
#15
In the past people have reported trying to stream over wan with kodi and no transcoding, but I don't recall anyone ever saying it worked.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply

Logout Mark Read Team Forum Stats Members Help
PVR WMC Stream Timeout-Unknow Problem0