SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #101  
Old 11-22-2010, 10:51 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by nspindel View Post
As for the problem - I've got it working from within my own network, but can't seem to connect over 3g.

But when I turn wifi off and try to go through the 3g, via http://<mydyndns>:8080/sagem/m, safari times out with a message saying that the server stopped responding. I do run a few other gadgets on the server that I can connect to without issue from outside, so I know dyndns is working fine.

Anything else I need to do in order for external access to work?
It sounds like you have everything set up correctly.
  • Can you connect on another wifi network using your dyndns? What about with the IP address?
  • Can you connect with a desktop browser?
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #102  
Old 11-23-2010, 08:20 AM
nspindel nspindel is offline
Sage Advanced User
 
Join Date: Jun 2004
Location: Stamford, CT
Posts: 122
I've tried from desktop browser from another wifi network and it's not connecting. My money is on my isp has blocked port 8080, mainly because I can't think of any other logical explanation. I'm going to try changing the port, I'll update after I test. Thanks...
Reply With Quote
  #103  
Old 11-23-2010, 08:32 AM
nspindel nspindel is offline
Sage Advanced User
 
Join Date: Jun 2004
Location: Stamford, CT
Posts: 122
Yup! That was it. Changed to 8880 and all's well. Just another reason why I hate Cablevision.

Once again, thank you so much for this wonderful plugin. Your efforts are truly appreciated.
Reply With Quote
  #104  
Old 11-23-2010, 09:47 PM
mickdaly's Avatar
mickdaly mickdaly is offline
Sage Advanced User
 
Join Date: Sep 2008
Posts: 81
Loading Movie... constantly!

I finally got your plug-in working, but on one iphone (here at home using 3G) and 2 ipads (at my sons' homes on Wifi connections)), we see the same problem: once the recording loads it plays for 10 seconds, then stops and we just see the "Loading Movie..." message - for ever!

Ideas?
__________________
Mick
HP Mediasmart EX-485 server with 4.5tb storage, running Sagetv 7.0.23; 2 Hauppauge HD-PVRs; 2 Directv Receivers (H20 and H21 channel changing by usb/serial/usb cables); 4 Sagetv HD-200s; 1 Sagetv HD-300; Carada Criterion 126" screen; Definitive Technology speakers (UIW RLS II x 3, UIW BP/A x 2, DI 5.5BPS x 2, IWSub 10/10), Pioneer KRP-500M Kuro plasma; Pioneer Elite SC-07 receiver; Panasonic TH-50PH9UK plasma; Sharp Aquos LC-C4067U LCD; Oppo BDP-83 Blu-Ray player.
Reply With Quote
  #105  
Old 11-24-2010, 12:30 PM
nspindel nspindel is offline
Sage Advanced User
 
Join Date: Jun 2004
Location: Stamford, CT
Posts: 122
I also get this behavior, where it seems to play fine for a bit and then locks up. However, it only happens when I connect over 3g (regardless of signal strength) or from an external wifi connection. Inside the house, this does not happen. Interested to know if others experiencing this behavior can replicate this.

My theory here is that the lock up is due to upload bandwidth of my internet connection (hey, my last problem was ISP's fault, so they're an easy target). The video takes a bit of time to start, obviously while a buffer is being built up. When playback begins, all looks good because it's just playing from the buffer. But if upload speed in my house is a bottleneck,the buffer quickly runs out and lockups/skipping begins. If this is indeed the issue, it's a solvable problem by paying Cablevision an extra $10/month for their Boost service, which will give me much better bandwidth.

Further evidence that this is the issue - I have the same behavior when using the PlayOn app for the iPhone - works fine on home wifi, skips over 3g or external wifi. I also know another Sage user with the Cablevision Boost service, who seems to be perfectly happy streaming from Sage over 3g.

I'd appreciate any feedback from the experts here - if I'm on target I'll sign up for the Boost service, but I really don't feel like putting any more money in the cable company's pockets than I already do.
Reply With Quote
  #106  
Old 11-24-2010, 12:33 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
It kind of sounds like your cable internet connection may be disconnecting once in a while.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #107  
Old 11-24-2010, 12:59 PM
mickdaly's Avatar
mickdaly mickdaly is offline
Sage Advanced User
 
Join Date: Sep 2008
Posts: 81
Quote:
Originally Posted by nspindel View Post
I also get this behavior, where it seems to play fine for a bit and then locks up. However, it only happens when I connect over 3g (regardless of signal strength) or from an external wifi connection. Inside the house, this does not happen. Interested to know if others experiencing this behavior can replicate this.

My theory here is that the lock up is due to upload bandwidth of my internet connection (hey, my last problem was ISP's fault, so they're an easy target). The video takes a bit of time to start, obviously while a buffer is being built up. When playback begins, all looks good because it's just playing from the buffer. But if upload speed in my house is a bottleneck,the buffer quickly runs out and lockups/skipping begins. If this is indeed the issue, it's a solvable problem by paying Cablevision an extra $10/month for their Boost service, which will give me much better bandwidth.

Further evidence that this is the issue - I have the same behavior when using the PlayOn app for the iPhone - works fine on home wifi, skips over 3g or external wifi. I also know another Sage user with the Cablevision Boost service, who seems to be perfectly happy streaming from Sage over 3g.

I'd appreciate any feedback from the experts here - if I'm on target I'll sign up for the Boost service, but I really don't feel like putting any more money in the cable company's pockets than I already do.
Many thanks for this - I suspect this is the problem, esp. as I have problems placeshifting too. Sadly there's no 'boost' service available from Centurytel which is our only provider!
__________________
Mick
HP Mediasmart EX-485 server with 4.5tb storage, running Sagetv 7.0.23; 2 Hauppauge HD-PVRs; 2 Directv Receivers (H20 and H21 channel changing by usb/serial/usb cables); 4 Sagetv HD-200s; 1 Sagetv HD-300; Carada Criterion 126" screen; Definitive Technology speakers (UIW RLS II x 3, UIW BP/A x 2, DI 5.5BPS x 2, IWSub 10/10), Pioneer KRP-500M Kuro plasma; Pioneer Elite SC-07 receiver; Panasonic TH-50PH9UK plasma; Sharp Aquos LC-C4067U LCD; Oppo BDP-83 Blu-Ray player.
Reply With Quote
  #108  
Old 11-24-2010, 01:01 PM
nspindel nspindel is offline
Sage Advanced User
 
Join Date: Jun 2004
Location: Stamford, CT
Posts: 122
I doubt it's actually disconnecting, a disconnect would affect downloads as well as uploads, and I can do things like stream netflix into the house with no issue. But if the upload bandwidth, which is definitely capped with basic cable internet service, can't keep up with the video playback, it would make sense for lockups and skipping to begin as soon as the initial buffer runs out.
Reply With Quote
  #109  
Old 11-24-2010, 01:03 PM
nspindel nspindel is offline
Sage Advanced User
 
Join Date: Jun 2004
Location: Stamford, CT
Posts: 122
Quote:
Originally Posted by mickdaly View Post
Many thanks for this - I suspect this is the problem, esp. as I have problems placeshifting too. Sadly there's no 'boost' service available from Centurytel which is our only provider!
What happens with playback inside your house? If you connect your iPhone to your internal wifi, therefore removing your isp from the equation, and play a Sage recording via this plugin, do you still get the lockup after ~10 seconds? I did that exact experiment and playback was just fine.
Reply With Quote
  #110  
Old 11-24-2010, 01:14 PM
mickdaly's Avatar
mickdaly mickdaly is offline
Sage Advanced User
 
Join Date: Sep 2008
Posts: 81
Quote:
Originally Posted by nspindel View Post
I doubt it's actually disconnecting, a disconnect would affect downloads as well as uploads, and I can do things like stream netflix into the house with no issue. But if the upload bandwidth, which is definitely capped with basic cable internet service, can't keep up with the video playback, it would make sense for lockups and skipping to begin as soon as the initial buffer runs out.
My download speed is 9Mbps and upload is .77Mbps - that may be the problem.
__________________
Mick
HP Mediasmart EX-485 server with 4.5tb storage, running Sagetv 7.0.23; 2 Hauppauge HD-PVRs; 2 Directv Receivers (H20 and H21 channel changing by usb/serial/usb cables); 4 Sagetv HD-200s; 1 Sagetv HD-300; Carada Criterion 126" screen; Definitive Technology speakers (UIW RLS II x 3, UIW BP/A x 2, DI 5.5BPS x 2, IWSub 10/10), Pioneer KRP-500M Kuro plasma; Pioneer Elite SC-07 receiver; Panasonic TH-50PH9UK plasma; Sharp Aquos LC-C4067U LCD; Oppo BDP-83 Blu-Ray player.
Reply With Quote
  #111  
Old 11-24-2010, 01:28 PM
mickdaly's Avatar
mickdaly mickdaly is offline
Sage Advanced User
 
Join Date: Sep 2008
Posts: 81
Quote:
Originally Posted by nspindel View Post
What happens with playback inside your house? If you connect your iPhone to your internal wifi, therefore removing your isp from the equation, and play a Sage recording via this plugin, do you still get the lockup after ~10 seconds? I did that exact experiment and playback was just fine.
It works - sort of ... lots of stopping and starting.

It seems to conflict with other activity on the server - placeshifter on my desktop PC and the other HD extenders.

WHS CPU usage shows at 100%, even after closing down the Safari window on the iphone. It stays there, blocking all other use of Sage until I stop/start the Sage service.

In 'steady state' with one extender or placeshifter running, CPU is mostly below 10%.
__________________
Mick
HP Mediasmart EX-485 server with 4.5tb storage, running Sagetv 7.0.23; 2 Hauppauge HD-PVRs; 2 Directv Receivers (H20 and H21 channel changing by usb/serial/usb cables); 4 Sagetv HD-200s; 1 Sagetv HD-300; Carada Criterion 126" screen; Definitive Technology speakers (UIW RLS II x 3, UIW BP/A x 2, DI 5.5BPS x 2, IWSub 10/10), Pioneer KRP-500M Kuro plasma; Pioneer Elite SC-07 receiver; Panasonic TH-50PH9UK plasma; Sharp Aquos LC-C4067U LCD; Oppo BDP-83 Blu-Ray player.
Reply With Quote
  #112  
Old 11-24-2010, 01:30 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Come to think of it I actually have similar problems with my SageTV server. However, Air Video works fine for me and uses ffmpeg for transcoding just like the Mobile Web Interface.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #113  
Old 11-24-2010, 01:32 PM
nspindel nspindel is offline
Sage Advanced User
 
Join Date: Jun 2004
Location: Stamford, CT
Posts: 122
Quote:
Originally Posted by mickdaly View Post
My download speed is 9Mbps and upload is .77Mbps - that may be the problem.
I wouldn't put a whole lot of faith in those numbers, either. A lot of times the isp's configure your connection so you can get decent up load speed for a short period of time, so a burst of data can flow through relatively quickly. Often that speed can't be sustained for very long, so things like ongoing streams can be affected. This gives you decent performance for most "normal" uses of your upload bandwidth, like sending an email with an attachment, etc. It also makes their customers happy when they run speed tests
Reply With Quote
  #114  
Old 11-24-2010, 01:34 PM
nspindel nspindel is offline
Sage Advanced User
 
Join Date: Jun 2004
Location: Stamford, CT
Posts: 122
Quote:
Originally Posted by mickdaly View Post
It works - sort of ... lots of stopping and starting.

It seems to conflict with other activity on the server - placeshifter on my desktop PC and the other HD extenders.

WHS CPU usage shows at 100%, even after closing down the Safari window on the iphone. It stays there, blocking all other use of Sage until I stop/start the Sage service.

In 'steady state' with one extender or placeshifter running, CPU is mostly below 10%.
Well, that's not a meaningful test, then. If your cpu is spiked to 100%, nothing's going to work right. Try the iPhone/wifi experiment with no other client activity, and make sure cpu utilization is low before starting. You want to eliminate the other "noise" in the equation when you're evaluating something like this.
Reply With Quote
  #115  
Old 11-24-2010, 02:08 PM
mickdaly's Avatar
mickdaly mickdaly is offline
Sage Advanced User
 
Join Date: Sep 2008
Posts: 81
Quote:
Originally Posted by Taddeusz View Post
Come to think of it I actually have similar problems with my SageTV server. However, Air Video works fine for me and uses ffmpeg for transcoding just like the Mobile Web Interface.
Where can I see details of Airvideo and Sagetv?
__________________
Mick
HP Mediasmart EX-485 server with 4.5tb storage, running Sagetv 7.0.23; 2 Hauppauge HD-PVRs; 2 Directv Receivers (H20 and H21 channel changing by usb/serial/usb cables); 4 Sagetv HD-200s; 1 Sagetv HD-300; Carada Criterion 126" screen; Definitive Technology speakers (UIW RLS II x 3, UIW BP/A x 2, DI 5.5BPS x 2, IWSub 10/10), Pioneer KRP-500M Kuro plasma; Pioneer Elite SC-07 receiver; Panasonic TH-50PH9UK plasma; Sharp Aquos LC-C4067U LCD; Oppo BDP-83 Blu-Ray player.
Reply With Quote
  #116  
Old 11-24-2010, 02:11 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by mickdaly View Post
Where can I see details of Airvideo and Sagetv?
What do you mean? I have Air Video set to share my SageTV recording drives and media imports. All it does is share the files via an iPhone app. No kind of interface directly to SageTV.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #117  
Old 11-24-2010, 02:20 PM
mickdaly's Avatar
mickdaly mickdaly is offline
Sage Advanced User
 
Join Date: Sep 2008
Posts: 81
Quote:
Originally Posted by Taddeusz View Post
What do you mean? I have Air Video set to share my SageTV recording drives and media imports. All it does is share the files via an iPhone app. No kind of interface directly to SageTV.
Never seen Airvideo so ... you just see the Sagetv folder and it's contents, and scroll down to what you want to watch?

When watching videos remotely (Wi-fi or 3G) what upload speed do you get from your Sage server?
__________________
Mick
HP Mediasmart EX-485 server with 4.5tb storage, running Sagetv 7.0.23; 2 Hauppauge HD-PVRs; 2 Directv Receivers (H20 and H21 channel changing by usb/serial/usb cables); 4 Sagetv HD-200s; 1 Sagetv HD-300; Carada Criterion 126" screen; Definitive Technology speakers (UIW RLS II x 3, UIW BP/A x 2, DI 5.5BPS x 2, IWSub 10/10), Pioneer KRP-500M Kuro plasma; Pioneer Elite SC-07 receiver; Panasonic TH-50PH9UK plasma; Sharp Aquos LC-C4067U LCD; Oppo BDP-83 Blu-Ray player.
Reply With Quote
  #118  
Old 11-24-2010, 02:48 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by mickdaly View Post
Never seen Airvideo so ... you just see the Sagetv folder and it's contents, and scroll down to what you want to watch?

When watching videos remotely (Wi-fi or 3G) what upload speed do you get from your Sage server?
Yes, it's just a listing of the files. As you say you just scroll and select what you want to watch.

I have no idea how Air Video determines how much bandwidth to use or, for that matter, what resolution video it transcodes to. It's not a continuous stream but it appears to burst the data at usually between 800kb-1Mb. That was through wifi at work. I don't have 3G service, jailbroken iPhone on T-Mobile with no data plan. So I'm tied down to using wifi hotspots for any data service on my iPhone. I've watched entire movies through Air Video without any issues. I have Cox Cable's "preferred" internet package which appears to be 12/1.5 up & down without "PowerBoost" and 15/1.8 with. I did see a couple spikes that hit near 2Mb/s but that may have just been the fact that I was remoting in.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #119  
Old 11-24-2010, 07:20 PM
mickdaly's Avatar
mickdaly mickdaly is offline
Sage Advanced User
 
Join Date: Sep 2008
Posts: 81
Quote:
Originally Posted by nspindel View Post
Well, that's not a meaningful test, then. If your cpu is spiked to 100%, nothing's going to work right. Try the iPhone/wifi experiment with no other client activity, and make sure cpu utilization is low before starting. You want to eliminate the other "noise" in the equation when you're evaluating something like this.
Ok, with nothing else using the WHS/Sage service, CPU at 1-2%, using my iphone:

- using 3g I see 10-15 seconds at 100% CPU usage (and the video is frozen), followed by around 5 seconds of <5% CPU (when the video runs);

- using in-home Wifi I see 100% CPU continuously, the video plays for longer (10-20 secs.) but freezes just as often.

In both tests the audio and video are out of sync.

When I tried starting placeshifter on my desktop PC, it took 30 seconds to connect, then the dreaded busy circle dominated the window - unusable! The video continued to play and stop on my iphone just as it did before starting placeshifter.

Conclusions?
__________________
Mick
HP Mediasmart EX-485 server with 4.5tb storage, running Sagetv 7.0.23; 2 Hauppauge HD-PVRs; 2 Directv Receivers (H20 and H21 channel changing by usb/serial/usb cables); 4 Sagetv HD-200s; 1 Sagetv HD-300; Carada Criterion 126" screen; Definitive Technology speakers (UIW RLS II x 3, UIW BP/A x 2, DI 5.5BPS x 2, IWSub 10/10), Pioneer KRP-500M Kuro plasma; Pioneer Elite SC-07 receiver; Panasonic TH-50PH9UK plasma; Sharp Aquos LC-C4067U LCD; Oppo BDP-83 Blu-Ray player.
Reply With Quote
  #120  
Old 11-24-2010, 07:38 PM
nspindel nspindel is offline
Sage Advanced User
 
Join Date: Jun 2004
Location: Stamford, CT
Posts: 122
Uh-oh, you're not going to like the answer. Don't take my word for it 100% before other's give their opinions, but it sounds to me like your server isn't up to spec for the transcoding. It takes much a much greater horsepower processor to transcode the audio/video to a lower bitrate for external streaming than it does to simply stream the high bitrate content out to your extenders straight off the capture devices through your home network. Sounds to me like if you're serious about placeshifting or streaming to the iphone, you need a beefier server.

What are the specs of your server? I'm using a 2.8ghz core 2 quad with 4gb of memory, running Windows 7. When I'm streaming to the iphone I'm seeing the cpu at about 30%.
Reply With Quote
Reply

Tags
mobile, web


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin: Mobile Web UI for v7 jreichen SageTV v7 Customizations 145 03-07-2016 08:47 AM
Support: Mobile Web Interface V2 iOS Streaming jreichen SageTV v7 Customizations 225 09-22-2013 01:19 AM
Plugin: Mobile Web Interface 1.2 jreichen SageTV Customizations 281 06-17-2011 02:20 PM
FAQ: Mobile Web Interface V2 iOS Streaming jreichen SageTV v7 Customizations 3 11-07-2010 08:28 PM
Wanted: Developer for Web Interface Mobile Brent SageTV Customizations 249 02-09-2009 11:21 PM


All times are GMT -6. The time now is 01:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.