Kodi Community Forum
WMC as the backend - released - 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: Windows Media Center (WMC) (https://forum.kodi.tv/forumdisplay.php?fid=205)
+---- Thread: WMC as the backend - released (/showthread.php?tid=171216)



RE: WMC as the backend - released - smacrae - 2013-09-05

(2013-09-04, 04:10)krustyreturns Wrote:
(2013-09-04, 03:29)smacrae Wrote: Hi KR....does that mean from the time it one selects a channel to the time it is rendered on the screen will speed up? We're not channel surfers but having it start around 5-7 seconds is acceptable, 12-15 is a bit long.....thanks...

Yeah, well that's the goal.

Details for die-hards:

I have definitely knocked 3 - 5 sec out the delay of the start of a live tv view. I did this by re-writing the wtv parser. One of challenges in active wtv data, is to determine the actual amount of data in the file, since MS creates a giant file, growing in .5 GB chunks, and filling in the data as it goes. My old way of doing it was to detect the length of the actual data by polling a field in the header of the file, that Jeff found to be updated with the actual file length. the problem with this is that this field is updated by the windows service about 3-5 sec after data is written, so we were always late by this amount.

So I found a way to I parse the data as soon as the rec service writes it, eliminating this delay. Immediately after a packet of data is written I start remuxing it to ts for transport to xbmc. I have also made some slight improvements in the remux delay, but really it has never been the problem - ts data is available almost immediately after the wtv data is output from the tuner.

There is still a delay from when the data is available from the tuner. I might be able to improve this a little, but the jury is still out on that.

Then there is the delay that xbmc waits before it starts displaying the ts data I am sending it. I can't do much about this, but some have been reporting that the 'margo' build of frodo reduces this significantly, so I am hoping that will be the case.

There are other possible tricks to try, but that's after the next version.


Great, so that code is in the master for us to all try or yet to be released?


RE: WMC as the backend - released - hoopsdavis - 2013-09-05

I just got things setup again and the positive is I'm changing channels within 6 seconds. (That's satisfactory to me)
what I've noticed on the negative side but not a deal breaker: I have xbmc setup on 2 PC's with one PC as the server everything works great but when watching one channel in the bedroom, I'm unable to tune to that some channel in the living room. (This isn't a problem with mediaportal) But still not a deal killer, I'm sure this is something that'll be worked out soon. Another thing I've noticed, when I have a channel running in the bedroom and another in the living room, I noticed skips of picture and audio at both locations. (Not a major skip but a second or two) Maybe I can tweak a bit and get this right but so far the progress is great. I've gone from 12 seconds to 6 seconds on channel changing, that's serious progress. Good work


RE: WMC as the backend - released - krustyreturns - 2013-09-05

(2013-09-05, 02:11)hoopsdavis Wrote: I just got things setup again and the positive is I'm changing channels within 6 seconds. (That's satisfactory to me)
what I've noticed on the negative side but not a deal breaker: I have xbmc setup on 2 PC's with one PC as the server everything works great but when watching one channel in the bedroom, I'm unable to tune to that some channel in the living room. (This isn't a problem with mediaportal) But still not a deal killer, I'm sure this is something that'll be worked out soon. Another thing I've noticed, when I have a channel running in the bedroom and another in the living room, I noticed skips of picture and audio at both locations. (Not a major skip but a second or two) Maybe I can tweak a bit and get this right but so far the progress is great. I've gone from 12 seconds to 6 seconds on channel changing, that's serious progress. Good work

I haven't released the new sped up server yet, so whatever you are doing you have accomplished it on your own Smile. Are you doing something special to get a 6 sec channel change?

The problem with some channels not working on a remote client might be addressed on the next release. I did find some problems on the client side that may cause this. Not sure about the skips that happen when the server is running two streams though.

BTW I noticed that genre color coding was not working on the latest release due to the new wix installer. This will be fixed too.

(2013-09-05, 01:05)smacrae Wrote:
(2013-09-04, 04:10)krustyreturns Wrote:
(2013-09-04, 03:29)smacrae Wrote: Hi KR....does that mean from the time it one selects a channel to the time it is rendered on the screen will speed up? We're not channel surfers but having it start around 5-7 seconds is acceptable, 12-15 is a bit long.....thanks...

Yeah, well that's the goal.

Details for die-hards:

I have definitely knocked 3 - 5 sec out the delay of the start of a live tv view. I did this by re-writing the wtv parser. One of challenges in active wtv data, is to determine the actual amount of data in the file, since MS creates a giant file, growing in .5 GB chunks, and filling in the data as it goes. My old way of doing it was to detect the length of the actual data by polling a field in the header of the file, that Jeff found to be updated with the actual file length. the problem with this is that this field is updated by the windows service about 3-5 sec after data is written, so we were always late by this amount.

So I found a way to I parse the data as soon as the rec service writes it, eliminating this delay. Immediately after a packet of data is written I start remuxing it to ts for transport to xbmc. I have also made some slight improvements in the remux delay, but really it has never been the problem - ts data is available almost immediately after the wtv data is output from the tuner.

There is still a delay from when the data is available from the tuner. I might be able to improve this a little, but the jury is still out on that.

Then there is the delay that xbmc waits before it starts displaying the ts data I am sending it. I can't do much about this, but some have been reporting that the 'margo' build of frodo reduces this significantly, so I am hoping that will be the case.

There are other possible tricks to try, but that's after the next version.


Great, so that code is in the master for us to all try or yet to be released?

Yet to be released.


RE: WMC as the backend - released - hoopsdavis - 2013-09-05

(2013-09-05, 03:52)krustyreturns Wrote:
(2013-09-05, 02:11)hoopsdavis Wrote: I just got things setup again and the positive is I'm changing channels within 6 seconds. (That's satisfactory to me)
what I've noticed on the negative side but not a deal breaker: I have xbmc setup on 2 PC's with one PC as the server everything works great but when watching one channel in the bedroom, I'm unable to tune to that some channel in the living room. (This isn't a problem with mediaportal) But still not a deal killer, I'm sure this is something that'll be worked out soon. Another thing I've noticed, when I have a channel running in the bedroom and another in the living room, I noticed skips of picture and audio at both locations. (Not a major skip but a second or two) Maybe I can tweak a bit and get this right but so far the progress is great. I've gone from 12 seconds to 6 seconds on channel changing, that's serious progress. Good work

I haven't released the new sped up server yet, so whatever you are doing you have accomplished it on your own Smile. Are you doing something special to get a 6 sec channel change?

The problem with some channels not working on a remote client might be addressed on the next release. I did find some problems on the client side that may cause this. Not sure about the skips that happen when the server is running two streams though.

BTW I noticed that genre color coding was not working on the latest release due to the new wix installer. This will be fixed too.

(2013-09-05, 01:05)smacrae Wrote:
(2013-09-04, 04:10)krustyreturns Wrote: Yeah, well that's the goal.

Details for die-hards:

I have definitely knocked 3 - 5 sec out the delay of the start of a live tv view. I did this by re-writing the wtv parser. One of challenges in active wtv data, is to determine the actual amount of data in the file, since MS creates a giant file, growing in .5 GB chunks, and filling in the data as it goes. My old way of doing it was to detect the length of the actual data by polling a field in the header of the file, that Jeff found to be updated with the actual file length. the problem with this is that this field is updated by the windows service about 3-5 sec after data is written, so we were always late by this amount.

So I found a way to I parse the data as soon as the rec service writes it, eliminating this delay. Immediately after a packet of data is written I start remuxing it to ts for transport to xbmc. I have also made some slight improvements in the remux delay, but really it has never been the problem - ts data is available almost immediately after the wtv data is output from the tuner.

There is still a delay from when the data is available from the tuner. I might be able to improve this a little, but the jury is still out on that.

Then there is the delay that xbmc waits before it starts displaying the ts data I am sending it. I can't do much about this, but some have been reporting that the 'margo' build of frodo reduces this significantly, so I am hoping that will be the case.

There are other possible tricks to try, but that's after the next version.


Great, so that code is in the master for us to all try or yet to be released?

Yet to be released.

Krusty, I haven't done anything special to get the results I'm getting, the only thing I can mention is I'm running WMC with dvblink which has always been solid and a little faster on channel changing for me. I'm also running the 12.2 build provided by margo other than that, nothing special. As far as the channels not working, the issue isn't that the channels don't work, the issue is I can't run the same channel at both locations at the same time. (bedroom and living room)


RE: WMC as the backend - released - TheImmortal - 2013-09-05

Has anybody tried this using one of the Gotham builds? Do you know if the Margo code made it into Gotham?


RE: WMC as the backend - released - soulshadow - 2013-09-05

HI, I have used the magro build and it is very good for speeding up tv channel changing and works well with WMC as a backend, Though the only problem i have with the magro build its that some add-on are giving me script errors. I find vevo will not work script error and same with itv player. So i at the moment i am back to stock 12.2.

If any body else is using magro build and can get these addon to work or know why they don't

Any help would be great. As this build (magro) works great for PVR

Regards

Ian


RE: WMC as the backend - released - scott967 - 2013-09-06

(2013-09-05, 14:36)TheImmortal Wrote: Has anybody tried this using one of the Gotham builds? Do you know if the Margo code made it into Gotham?

I have 0827 nightly installed and AFAICT, no PVR clients are working. Enabling any causes Gotham to pop up an error window.

scott s.
.


RE: WMC as the backend - released - krustyreturns - 2013-09-06

(2013-09-06, 00:33)scott967 Wrote:
(2013-09-05, 14:36)TheImmortal Wrote: Has anybody tried this using one of the Gotham builds? Do you know if the Margo code made it into Gotham?

I have 0827 nightly installed and AFAICT, no PVR clients are working. Enabling any causes Gotham to pop up an error window.

scott s.
.

I know that my pvr client will not work with Gotham. To support it, I'd need to release a gotham version, distinct from the frodo version.


RE: WMC as the backend - released - hoopsdavis - 2013-09-06

Krusty, when will you release the next version of wmc_pvr?


RE: WMC as the backend - released - krustyreturns - 2013-09-06

(2013-09-06, 05:07)hoopsdavis Wrote: Krusty, when will you release the next version of wmc_pvr?

Its a big departure from what I was doing, so I want to spend a little more time with it before a general release. I hope I can release it tomorrow, or at least by Saturday.


RE: WMC as the backend - released - asm495 - 2013-09-06

Is there any more news on a Linux x64 build please? Thanks!


RE: WMC as the backend - released - hoopsdavis - 2013-09-06

(2013-09-06, 06:34)krustyreturns Wrote:
(2013-09-06, 05:07)hoopsdavis Wrote: Krusty, when will you release the next version of wmc_pvr?

Its a big departure from what I was doing, so I want to spend a little more time with it before a general release. I hope I can release it tomorrow, or at least by Saturday.

Understood. Looking forward to testing and giving feedback.

Keep up the good work.


RE: WMC as the backend - released - krustyreturns - 2013-09-06

(2013-09-06, 09:29)asm495 Wrote: Is there any more news on a Linux x64 build please? Thanks!

There has been a 64b linux build of the client up for a few weeks now.


RE: WMC as the backend - released - Jmhthefirst - 2013-09-06

Any chance I missed an iOS or Android/Ouya client by now?


RE: WMC as the backend - released - krustyreturns - 2013-09-06

(2013-09-06, 16:28)Jmhthefirst Wrote: Any chance I missed an iOS or Android/Ouya client by now?

Sorry no. It would be great if somebody wanted to work on it.