Posts: 3,439
Joined: Aug 2012
Reputation:
91
When you say it only happens on a certain channel, do you really mean it only happens on the channel WBZDT-804. Or other channels too?
When you switch channels to another channel and switch back, this channel plays again. But if you stop and start it again will it play? Or is that what requires restarting the server?
Posts: 1,378
Joined: Oct 2004
Reputation:
37
2013-12-02, 05:46
(This post was last modified: 2013-12-02, 05:52 by scarecrow420.)
Analyzing your log file I can see something a bit funny.
You first watch channel 804 around 16:10 - 17:07 and then stop it. It sits idle until around 19:40 when you go to watch 804 again and it fails. At this point, the live TV WTV recording contains a strange Audio stream with a weird langauge character (where the normal 3 letter language characters like eng or spa are) as well as a second "unknown" video stream. You attempt to open 804 twice, and both times these streams are present and both times the operation fails with a 10 second timeout waiting for the remuxed TS file to contain data.
2013/12/01 19:40:15.184 Remux::FindDescriptors> wtv scanned (2.65 sec), Streams found:
2013/12/01 19:40:15.184 > Other: ID:39 MS TV Caption
2013/12/01 19:40:15.184 > Video: ID:40 Unknown
2013/12/01 19:40:15.184 > Audio: ID:41 (ª‚4F) AC3
2013/12/01 19:40:15.184 > Audio: ID:42 (eng) AC3
2013/12/01 19:40:15.184 > Audio: ID:43 (spa) AC3 2.0 48000 Hz 192 kb/s
2013/12/01 19:40:15.185 > Video: ID:44 MPEG-2 MP-HL 1920x1080i fps: 30000/1001 AR: 16:9
2013/12/01 19:40:15.185 Remux::FindDescriptors> Output streams:
2013/12/01 19:40:15.185 > Audio: ID:41 (ª‚4F) AC3
2013/12/01 19:40:15.185 > Audio: ID:42 (eng) AC3
2013/12/01 19:40:15.185 > Audio: ID:43 (spa) AC3 2.0 48000 Hz 192 kb/s
2013/12/01 19:40:15.185 > Video: ID:44 MPEG-2 MP-HL 1920x1080i fps: 30000/1001 AR: 16:9
2013/12/01 19:40:25.203 StreamProc> process start error: Stream file 'ts' exists but is empty, timeout: 10,000 ms reached. calling Close()
Then after you flip to channel 805, then back to 804, and only 30 seconds after the failure (and presumably still the same program/show being on?), the WTV file now only has more normal looking streams - only the english and spanish audio and a single video stream.
2013/12/01 19:40:48.899 Remux::FindDescriptors> wtv scanned (2.89 sec), Streams found:
2013/12/01 19:40:48.899 > Audio: ID:51 (eng) AC3 5.1 48000 Hz 384 kb/s
2013/12/01 19:40:48.899 > Audio: ID:52 (spa) AC3 2.0 48000 Hz 192 kb/s
2013/12/01 19:40:48.899 > Video: ID:53 MPEG-2 MP-HL 1920x1080i fps: 30000/1001 AR: 16:9
2013/12/01 19:40:48.899 > Other: ID:54 MS TV Caption
2013/12/01 19:40:48.899 Remux::FindDescriptors> Output streams:
2013/12/01 19:40:48.899 > Audio: ID:51 (eng) AC3 5.1 48000 Hz 384 kb/s
2013/12/01 19:40:48.899 > Audio: ID:52 (spa) AC3 2.0 48000 Hz 192 kb/s
2013/12/01 19:40:48.899 > Video: ID:53 MPEG-2 MP-HL 1920x1080i fps: 30000/1001 AR: 16:9
2013/12/01 19:40:50.073 StreamProc> 'ts' file created, size: 720,896 in 4.06 sec
2013/12/01 19:40:50.073 StreamProc> total time: 4.08 sec
From a critical analysis point of view, the thing that is different on both failures compared to the eventual success, is these weird streams. So without being an expert, I wonder whether this could have something to do with the failure.
If you turn off the "delete temporary files" option on the Debug tab, you should be able to grab the WTV file the next time this happens and upload it for us to have a look at (along with another server log).
Also the "output streams" shows that we are not trying to remux the unknown video stream to the TS file, but we are trying to do the weird audio stream. The server does have a language option to only do a nominated language, so if you set that to "eng" it would ignore the spanish and presumably the "weird" audio stream... it would be interesting to know if this succeeds (proving that it's the strange audio stream that is causing grief). To confirm this you would set the server option to "eng" language, do a bunch of channel viewing etc, then monitor/review the logs to see if you ever encounter a WTV parse that shows the weird streams present, but the output now only remuxing the "eng" stream meant that things worked now...
Posts: 497
Joined: Jul 2011
Reputation:
5
Hi guys, thanks so much for taking a look.
Krusty: Actually, I don't know for sure. When it was happening tonight, it seemed to be only channel 804. I tried a few other channels and they seemed to work as expected (I could stop playback and then restart on the same channel without a problem). After restarting ServerWMC I can't seem to reproduce this on any channels. But I think it's happened once or twice before (not sure if same 804 channel), so I'll keep an eye out for it.
Scarecrow: Excellent, thanks for this analysis. It seems like you're on to something with the audio stream. And it's correct that I tested this a few times during the same timeslot and show so I would have expected the available streams to be the same, at least during a few of my attempts.
When this happens again I will try to capture the WTV file. And it's great to know that I can specify english and hopefully avoid it. Thanks guys!!
Posts: 497
Joined: Jul 2011
Reputation:
5
I'll run a couple of days without configuring the "english only" setting that scarecrow mentioned. If I can reproduce it then I should be able to capture the WTV and I'll post it for you guys. Thanks again!