Posts: 1,378
Joined: Oct 2004
Reputation:
37
2014-07-04, 16:26
(This post was last modified: 2014-07-04, 16:29 by scarecrow420.)
Hi Kitehigh,
Your log certainly shows lots of errors relating to the remux job of the live TV having issues getting data from the WTV file "long interval between writes" and "Last number of attempts for Guid header was large".
To me it looks like you tried to view BBC One NC&E, the channel tuned and remux job started quite quickly and normally (total backend time 2.4 seconds) then about 22 seconds later the remux job started complaining that it couldn't get data in the WTV file and had to try 1280 retries to find the next GUID header in the stream and didn't have any data to write for 7 seconds, then 2 seconds etc.
At this point then you kicked off an instant record, and continued watching, the remuxer keeps complaining and eventually after a couple of minutes you stop viewing the channel (instant recording continues on in the background, remux job stops and TS file is deleted).
Then you attempted to view the instant recording that was in progress (did this work at all or not?) which was very fast to identify the stream and start a new remux job (0.2 seconds) but ultimately 9 seconds later you stop viewing the in progress recording. At this point the remux job that had started for the viewing of the inprogress recording kept on running (was persisted) as that is the default for a recording (if a client watched a recording and stops, we keep the remuxer going unti lthe end of the recording incase another/the same client, wants to watch it again. This option can be changed if you wish. The remux continues to run on in the background and still complaining about the "took a long time to get new data".
Meanwhile you try and view BBC One followed by Channel 4, now using tuner device B (since A is tied up doing the instant recording) and in both channels the stream cant start properly as it takes too long to find any audio/video headers in the WTV file and times out at 10 seconds. This is interesting in itself since originally your setup had a very fast 2.4 second backend time, but once that got in trouble, new tuning attempts also are running into problems not getting data from their WTV files either.
Finally you delete the timer/stop the instant recording and the remux job that had been running since you attempted to view the inprogress recording (and complaining in the background the whole time on and off), now stops. The instant recording is saved to the recordings folder, and you shut down XBMC
Questions
- Do you still have the WTV file from the recording? If so can you try and play it and see if it's OK or if it has skips/coruption etc?
- Does this happen on every liveTV attempt or just sometimes/often? After this log was produced, did you try to view any channels again? Did they work or exhibit the same problem?
- You say it started happening recently, does that mean in the past it "worked perfectly"? Have there been any changes made on your system in recent times?
- If you make a recording (better yet, 2 simultaneous recordings) and watch them back later, do they play OK?
- Any possibility your hard drives are getting a work out eg by running things like MCEBuddy/comskip or other intensive scanning/processing tasks?
- Any possibility you have bad signal strength or tuner data coming through? The fact you said all is fine in WMC itself probably means no...
- It's unlikely to be the issue but may as well list your PC specs (CPU RAM HDD size and type) anyway for completeness?
- You didn't post a FULL ServerWMC log, so I couldn't see the startup info that shows what tuners/channels you have, whether you have set any ServerWMC options away from their default values etc. Could you post another log to pastebin that shows ServerWMC starting up? Again this is just to get a fuller picture about your setup and ServerWMC configuration
Posts: 117
Joined: Dec 2013
Reputation:
1
To answer some of the other questions:
Two simultaneous recordings work fine, again without live TV involved there is no problem.
If I instant record whilst the pixelation is happening this is present in the file when played in wmc.
No other HDD activity, no post processing or anything.
Signal should be ok - no problems in wmc, recordings all perfect etc.
All HD channels work ok, SD channels is a mixed bag to be honest, still trying to identify a pattern amongst which SD channels wrok etc.
PC specs:
G620T processor - perfmon shows no spikes or anything
Using integrated HD graphics
2 gb ram
OS on SDD
Recording to WD blue 200GB HDD
Posts: 3,438
Joined: Aug 2012
Reputation:
91
It looks like swmc is not receiving any data from the channel you tuned to. First off, start WMC and make sure the channel still works there, just in case something got messed up between when everything worked and then when it stopped working. If wmc plays it fine, then go the the debug tab in swmc and turn off (just for this experiment) 'delete temporary files'. Then after a live tv stream fails, go to the tempswmc folder and see if the wtv that that is there (Live***.wtv) plays.
Posts: 3,438
Joined: Aug 2012
Reputation:
91
That file size is just a wtv file header and no data, and that's basically what the log shows - swmc is not finding any data at all on these channels. I assume you tried rebooting? I know that's lame, but at this point I do not know what is wrong - especially since it worked initially.
Posts: 117
Joined: Dec 2013
Reputation:
1
Well this morning I tried WMC again and initially it started to play ITV HD but then 30s in it froze up. Going back it wouldn't play the channel and Channel 4 HD just came up with a message 'service unavailable'.
If I set to record either of these channels in the WMC guide, then go to recorded TV to play the currently recording file they play back perfectly.
I am wondering if there is some conflict between WMC and serverWMC on my system but not sure why only I would see this problem.
Based on recordings working the tuners and signals must be ok? Just for some reason the live / temporary streams are failing..
Posts: 1,378
Joined: Oct 2004
Reputation:
37
The thing is that "live streams" in ServerWMC actually ARE recordings that we kick off then remux
It sounds like you have transient/random problems... Are recordings ALWAYS Ok? Perhaps it's only coincidence that they seem to be ok when you test for it
You wouldn't happen to have an alternate tuner device you could try? Or an alternate pc that could setup as a test server with the existing tuner?
Posts: 117
Joined: Dec 2013
Reputation:
1
2014-07-20, 23:58
(This post was last modified: 2014-07-20, 23:59 by kitehigh.)
Yes wmc was failing to play live tv... but then serverwmc had always been running...and this continued after a full channel re-scan (and sorting every channel to have the correct sources ticked!)
Again recordings could be started and watched in either wmc or xbmc, no conflict there,
I am now using QuickWMC to test WMC without starting up serverwmc to see if the problems persist or not.
I'll report back anything else I find, even though it's only me seeing this problem!
Posts: 3,438
Joined: Aug 2012
Reputation:
91
Curious why you bothered trying it again?
Your analysis sounds right to me, it sounds like there is something wrong with the remux on these video sequences, but there are no settings to play with for this. What would work better is, the next time you decide to try the software and you see this glitch, that before you stop the stream go into the recorded tv/tempswmc folder and save the wtv file you see there (i.e. make a copy of it, before it gets deleted). Then you can upload it so scarecrow or I can look at it.
Posts: 117
Joined: Dec 2013
Reputation:
1
Tried it again because I much prefer the idea of the PVR integrated with xbmc! You've put out some updates as well which I know weren't aimed at my previous issues but something may have changed that caused some quirk in my system. It is much better now, whether that's to do with serverWMC pvr.wmc or something else changed on my system I don't know. Its now much more stable in general, the only thing is occasional couple of seconds during remuxing of a live stream.
I'll try and get a good sample clip later on.