XBMC Community Forum
[dev] CetonTV+HDHomeRun - Watch TV on XBMC (WIN/OSX) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: [dev] CetonTV+HDHomeRun - Watch TV on XBMC (WIN/OSX) (/showthread.php?tid=119865)



- uspino - 2012-02-21 01:10

mcheng89 Wrote:I can do this quickly... give me about 15 min..

This build should work with 1080p.
http://www.mediafire.com/?26tq4tz589y5t1t

Theres more code I need to remove but it should have the same functionality.

So far, half an hour with 2 simultaneous streams (1080) to 2 different HTPCs (W7 and XBMCBuntu), a few channel changes... and no hiccups!

On top of that, CPU usage on my i7 server has gone down from 21% to 12% for each of the vlc.exe processes...

Let's give it one more hour...

EDIT: Interesting: both streams died on unatended systems and I got a "No clients streaming. Tuner is inactive. Shutting down stream. Closing VLC instance" on RemoteCeton.

Is there a time limit for an inactive client?


- mcheng89 - 2012-02-21 01:53

uspino Wrote:So far, half an hour with 2 simultaneous streams (1080) to 2 different HTPCs (W7 and XBMCBuntu), a few channel changes... and no hiccups!

On top of that, CPU usage on my i7 server has gone down from 21% to 12% for each of the vlc.exe processes...

Let's give it one more hour...

EDIT: Interesting: both streams died on unatended systems and I got a "No clients streaming. Tuner is inactive. Shutting down stream. Closing VLC instance" on RemoteCeton.

Is there a time limit for an inactive client?

It shouldnt shut down if its streaming. It's 90 seconds to shutdown if theres no activity

I'm going to start cleaning up code from the original transcode logic.

EDIT: Theres some issues with your version. I just cleaned up most of the code.
Ill give you something to use that should be better, and I'll do a two hour test stream on my comp.


- uspino - 2012-02-21 03:05

Direct Stream never dies, so at least you know it definitely has to do with transcoding. Maybe there's some sort of "keep alive" or "ignore errors" flag on VLC?


- mcheng89 - 2012-02-21 04:15

uspino Wrote:Direct Stream never dies, so at least you know it definitely has to do with transcoding. Maybe there's some sort of "keep alive" or "ignore errors" flag on VLC?

Try this one... REMOVED on front page
Uploaded new version.... Seems to be pretty stable for me now Smile.
Im at 30 min and counting without any issues.

EDIT: 40 min...


- mcheng89 - 2012-02-21 04:45

Garry3211 Wrote:Does this work with the USB ceton?

Yes. It's the same calls Smile

Time check: 2hr... (1080i transcoded to 720 at 3000kbps)
(Note: Direct stream already works fine)

I'll test until I hit 2 hours...
Finished two whole episodes Smile... Transcoding seems stable enough

And tuner[4] shutdown properly after I finished testing!

Next version todo: iOS Streaming + HDHomerun...
Note: Tuner sharing support is not dead (had to rework the streaming for transcoding stability). It's just on hold right now. I have an idea in mind to get it working...


- uspino - 2012-02-21 14:12

I think you got it! I let it streaming for 10 hours. One 1080 DirectStream to XBMC, another 1080 transcoded to 720p. I'm going to do one more test, with 2 transcoded streams and frequent channel changing for at least a couple of hours.

About IOS streaming, what are you planning? Need ideas? Video looks great on BuzzPlayer.


- mcheng89 - 2012-02-21 14:22

uspino Wrote:I think you got it! I let it streaming for 10 hours. One 1080 DirectStream to XBMC, another 1080 transcoded to 720p. I'm going to do one more test, with 2 transcoded streams and frequent channel changing for at least a couple of hours.

About IOS streaming, what are you planning? Need ideas? Video looks great on BuzzPlayer.

Problem with BuzzPlayer is that you need to enter in all the links
It's going to have epg data and just a single click on the epg to start a channel
Long term goal would be something like the slingplayer app on iPhone.
^(just an idea... not sure if I would do it)
Short term would just be a web app...

Hoping to have this done today or tomorrow Smile...


- uspino - 2012-02-21 14:41

Sent a PM with one more idea.

Regarding IOS, are you going to write an App or a web app? How can I help?


- mcheng89 - 2012-02-21 16:02

uspino Wrote:Sent a PM with one more idea.

Regarding IOS, are you going to write an App or a web app? How can I help?

Sent you a response

Web app. If you look at the webfiles directory, there's a index.html file
I need to create a nicer interface. And then modify the server for some sort of API for the iOS


- uspino - 2012-02-21 16:09

1.6.5 is definitely steady. Tried my best to crash it and I couldn't Rofl