![]() |
Live TV - video slows to a crawl - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167) +---- Forum: MythTV (https://forum.kodi.tv/forumdisplay.php?fid=170) +---- Thread: Live TV - video slows to a crawl (/showthread.php?tid=186885) |
Live TV - video slows to a crawl - puithove - 2014-02-19 I've only seen this when watching Live TV, never with recorded TV, never with ripped media. It'll be playing along nicely, then suddenly the audio stops, and video drops to playing what looks like one frame every few seconds. I can bring back playback by either hitting X (stop) and restart same channel, or switch to another channel and back (effectively starting a new stream either way). XBMC built on Feb 15th - 13.0-ALPHA12 Git:20140215-97a3fad PVR Addons built on Feb 15th Backend: MythTV 0.27 Tuner: HDHomeRun Prime w/cablecard XBMC running on Archlinux x64 w/ Kernel: 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64 GNU/Linux Debug Log: http://pastebin.com/xgZtf6P4 This log shows a fresh start of XBMC, starting a live TV stream. The issue occurs at 7:25:39 with what appears to be audio errors: Code: 07:25:39 T:140139141453568 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback This was on a 1080i channel with AC3 5.1 audio. I know those are what we have been watching. Not sure if it's happened on a 720p channel so I'm running that right now. I do notice that right before the issue started, the log appears to show an EPG update - I know there's an option to disable EPG updates during playback, so I'll also try to do a run with that option enabled. RE: Live TV - video slows to a crawl - puithove - 2014-02-19 Well, just like that, I was proven wrong. Despite having played hour upon hour of recorded content successfully, just had it happen on a recorded show. This is on a different client machine from the log above - with different hardware running the same OS and XBMC versions. Coming from the same MythTV backend. It is also a 1080i. In this, I do NOT see the EPG update at the same time of the failure. I'm still running the 720p test on the previous machine from above - and on that one I cranked up the EPG refresh interval to every 15 minutes. Has been playing successfully for a few hours now. Here's the new log: http://pastebin.com/9GigAQH1 This one happened immediately after a commskip section. However, the one above was liveTV without any commskip. Here's the interesting parts where the issue starts: Code: 13:04:21 T:140152289822464 DEBUG: CDVDPlayerAudio:: Dropping packet of 32 ms RE: Live TV - video slows to a crawl - puithove - 2014-02-20 Ok, the theory I'm currently testing is that this may have been caused by changing setting: System / Audio Output / Output Configuration from the default of "Optimized" to "Best Match". Best Match says that it'll change the output properties midstream according to whatever is in the source. My theory being that in live or recorded TV there may either be changes or glitches in the source stream, and when it tries to adjust to that midstream, something goes wrong. I've switched back to "Optimized" so that it's just set once at the beginning of the stream. I'll see how that goes. RE: Live TV - video slows to a crawl - puithove - 2014-02-22 Nope, wasn't the audio settings either. I'm actually now looking into the possibility of a backend Myth issue - possibly dropping connection with the HDHomerun. RE: Live TV - video slows to a crawl - nickr - 2014-02-22 Could possibly be a reception problem too. Does it happen with mythfrontend? Does it always happen at the same spot on a recording? Also is it possibly at a transition from 720 to 1080 or back again? Or from one audio format to another? A common thing for broadcasters to do is change video framesize or audio when transitioning in and out of commercial breaks. RE: Live TV - video slows to a crawl - puithove - 2014-02-23 (2014-02-22, 04:42)nickr Wrote: Could possibly be a reception problem too. Yes, I did try mythfrontend and saw it once there as well - that's what had me looking towards a backend issue. I do think I need to spend some more time with mythfrontend though now that I found and fixed a NIC issue on the backend. No, does not always happen in the same spot. I'd wondered this as well. However I had it happen again on a recording, stopped, restarted, rewound and played back through the same section with no issues. It definitely does seem to occur more often on particular channels. So... the search continues. RE: Live TV - video slows to a crawl - puithove - 2014-02-23 Was not able to reproduce the issue in Mythfrontend. I think the one occurrence I saw in mythfrontend must have been a fluke, the result of me playing with something at the same time, or maybe it was something with the NIC flakiness I mentioned. For whatever reason, I haven't been able to get it to happen again in mythfrontend. Yet it's happening quite consistently in XBMC 13. Here's a couple more debug logs, with verbose logging turned on for cmyth too. These are both fresh restarts of XBMC, directly into live tv playback up to the time that the issue was occurring. http://pastebin.com/X0RjUW5u http://pastebin.com/0iTW7Wvh FWIW, I also saw it occur on a OSX build of the same vintage running on OSX 10.9.1. So, after spending a bunch of time messing around with all kinds of stuff, I did what I probably should have done in the first place - rolled back to the current release version of 12.3 Frodo. It's been playing live TV just fine on the same two boxes non-stop for the past 4 hours. Same setup including channel I was using to reliably reproduce the issue. It does seem to me that there's something amiss somewhere in the new stuff. RE: Live TV - video slows to a crawl - puithove - 2014-03-05 Update on this - I've continued to try new builds every few days. It appears as though this was fixed in something between af78970 and 189d55d. Running with 189d55d now and things seem to be good. Previously I had done some more playing around - had two different boxes running on the same channel (two different tuners / streams of course because that's the way that Myth works) - when the hang happened, both hung at the exact same spot. I didn't do any deep comarison, but visually it looked like it was most likely the same frame. Sounds like something in the stream triggers it. |