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
  #121  
Old 11-24-2010, 08:03 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Yea, I have to agree with that. The Atom in his MediaSmart is not fast enough. I have a 2.33Ghz C2D in mine. It's fast enough to transcode 1080i HDPVR recordings.
__________________
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
  #122  
Old 11-24-2010, 09:17 PM
mickdaly's Avatar
mickdaly mickdaly is offline
Sage Advanced User
 
Join Date: Sep 2008
Posts: 81
Quote:
Originally Posted by nspindel View Post
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%.
HP MediaSmart EX485, Intel Celeron 2.0 Ghz 2GB DDR2 750GB HDD
__________________
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
  #123  
Old 11-24-2010, 09:33 PM
nspindel nspindel is offline
Sage Advanced User
 
Join Date: Jun 2004
Location: Stamford, CT
Posts: 122
Fortunately for you, Black Friday is almost here....
Reply With Quote
  #124  
Old 11-26-2010, 08:08 AM
rotten rotten is offline
Sage User
 
Join Date: Dec 2006
Posts: 6
Seems in my quad core ffmpeg is only using 25-30 % of the CPU during streaming is this not multiple core compatible? Hdpvr recording would be smother if more than one core was working on it.
Reply With Quote
  #125  
Old 11-26-2010, 05:16 PM
paulie's Avatar
paulie paulie is offline
Sage Advanced User
 
Join Date: Nov 2007
Location: Ireland
Posts: 158
I have tried all suggested fixes but when I log in to 192.168.2.x:8080/sagem/m I still get error 404.

The attached photo shows jetty files in my sage jars folder. Could some of these older files be causing a problem.
Attached Images
File Type: jpg Photo Nov 26, 23 09 30.jpg (444.0 KB, 264 views)
__________________
Paulie
Reply With Quote
  #126  
Old 11-27-2010, 08:02 PM
uberpixel uberpixel is offline
Sage Advanced User
 
Join Date: Nov 2008
Posts: 238
Just bought a Windows Phone 7 yesterday...

...and now this.

Here is the obligatory question:

Any chance this could be done for WP7?

I guess this is what I get for choosing the least established phone OS...

-uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro |
{Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast |
{Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick |
Reply With Quote
  #127  
Old 11-27-2010, 08:26 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by uberpixel View Post
...and now this.

Here is the obligatory question:

Any chance this could be done for WP7?

I guess this is what I get for choosing the least established phone OS...

-uberpixel
No worries, I plan on doing some digging into this
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma
Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire
SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT


Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink)
Reply With Quote
  #128  
Old 11-28-2010, 12:59 PM
uberpixel uberpixel is offline
Sage Advanced User
 
Join Date: Nov 2008
Posts: 238
Quote:
Originally Posted by evilpenguin View Post
No worries, I plan on doing some digging into this
That's good news.

Not sure I'd find much Microsoft tolerance around these parts.

The ironic part is that I found myself gravitating to WP7 platform over the iPhone because I like to root for "the underdog". My-oh-my how times have changed...

Not sure why I keep going back to Microsoft - especially after their failed Media Center concept and their upcoming mistake with dropping Drive Extender on WHS Vail.

Oh well. Let me know if you need a beta tester once you get things moving!

Thanks,
uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro |
{Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast |
{Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick |
Reply With Quote
  #129  
Old 11-28-2010, 01:09 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by uberpixel View Post
The ironic part is that I found myself gravitating to WP7 platform over the iPhone because I like to root for "the underdog".
You probably should have gone for Android or WebOS if the underdog part was that important...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
  #130  
Old 11-28-2010, 03:27 PM
uberpixel uberpixel is offline
Sage Advanced User
 
Join Date: Nov 2008
Posts: 238
Quote:
Originally Posted by Fonceur View Post
You probably should have gone for Android or WebOS if the underdog part was that important...
I'll agree with WebOS - but I think Android will surpass the iPhone soon if it hasn't already.

It wasn't just the "underdog" thing... I really like the clean and simple interface of WP7 and I believe that it will be robust and well supported by Microsoft. I also like that fact that I can get a "controlled" OS on my choice of hardware vs. Apple's "locked-down" OS on their hardware and Android's "open" OS on my choice of hardware. I'm not a fan of the carriers putting all of their crapware on a phone and WP7 allows you to easily uninstall all crapware.

Time will tell how this all pans out. Thanks to AT&T I have a 2 year commitment to mull it over.

/threadjack

-uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro |
{Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast |
{Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick |
Reply With Quote
  #131  
Old 11-28-2010, 09:40 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by Taddeusz View Post
I'm not sure what version of ffmpeg the Air Video Server uses but it seems to be able to transcode my 1080i HDPVR recordings without issues whereas I have problems with start/stop playback with the Mobile Web Interface.
It uses an older version than the Mobile Web Interface. IIRC AirVideo's is from Feb 2010, whereas the MWI's is from this summer. I'm experimenting with some compilation parameters to see if it helps cpu utilization. The runtime parameters are about the same so I don't think that's it - unless AirVideo has changed something since I last checked.

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.
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.
Please see the FAQ about why the transcoding sometimes continues even though you stopped playback. I have a timer to clean this up after a max of five minutes. Not ideal but better than nothing. I might be able to hook into media player events and send a message to the server to kill off the process when the user stops playback.

Quote:
Originally Posted by Taddeusz View Post
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.
The bitrate is determined by the iPhone media player and is part of the HTTP Live Streaming spec. The Mobile Web Interface uses the same thing. Since AirVideo is a native app it may be able to detect a WiFi vs. 3G connection and start with a higher bitrate than the MWI. Both AirVideo and MWI have minimum bitrates of 150 Kbps and a max around 1 Mbps, although I'm not sure that's necessary for a small screen like the iPhone. Maybe it is for the iPad.

I think the "data bursts" you're seeing are due to the nature of HTTP Live Streaming. The video is broken up into small segments (usually 10 seconds in length) and downloaded individually, then stitched together on the client.

Quote:
Originally Posted by Taddeusz View Post
Yea, I have to agree with that. The Atom in his MediaSmart is not fast enough. I have a 2.33Ghz C2D in mine. It's fast enough to transcode 1080i HDPVR recordings.
Quote:
Originally Posted by mickdaly View Post
HP MediaSmart EX485, Intel Celeron 2.0 Ghz 2GB DDR2 750GB HDD
Both of those will struggle to convert video to H.264 in real time. I updated the FAQ with some of my performance test numbers that I posted elsewhere in the iOS streaming thread.

Quote:
Originally Posted by rotten View Post
Seems in my quad core ffmpeg is only using 25-30 % of the CPU during streaming is this not multiple core compatible? Hdpvr recording would be smother if more than one core was working on it.
It should be using multiple threads. If you have a utility that will show you process parameters, there is a "-thread" parameter to ffmpeg. I'm using a Java API to get the value used for that parameter that should return a value equal to the number of cores in your system. I forget if it includes hyperthreading in that count or not.
__________________
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
  #132  
Old 11-28-2010, 09:51 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by paulie View Post
I have tried all suggested fixes but when I log in to 192.168.2.x:8080/sagem/m I still get error 404.

The attached photo shows jetty files in my sage jars folder. Could some of these older files be causing a problem.
That doesn't show the full list of files in the directory but I don't think so. The ones that end with a number were installed in v6, and the v7 Plugin Manager renames then when installing a v7 plugin. Since they don't end with ".jar", the Java classloader shouldn't load them and they shouldn't cause a conflict.

Try this:
  1. Stop SageTV
  2. Delete the folders inside the jetty/webapps folder (but not the war files).
  3. Start SageTV
That seems to be the most reliable way to fix HTTP 404, 503, etc errors. I'd like to fix these errors but it's a non-trivial coding task and I'm spending most of my time working on other non-trivial things right now.
__________________
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
  #133  
Old 11-29-2010, 09:27 AM
Chriscic Chriscic is offline
Sage Expert
 
Join Date: Apr 2008
Posts: 729
Tried streaming some live football this weekend to no avail. It would start ok, but then stop, then seemed like it might skip forward and play a bit more before it would just stop and the screen would go black.

I know my 2.4ghz Core 2 Duo can't keep up, but I was hoping that if I paused for a bit and then let the (presumed) buffer fill up it would go on ok, but that doesn't seem to help here.

By comparison, Air Video works great after pausing for just a bit when it gets stuck (or course it also can't do live TV).

Anyway, not trying to be critical with the Air Video comparisons, just a good benchmark.

If I can't at least watch live TV with the mobile web interface, it's not going to be much use vs. Air Video for actual watching.
Reply With Quote
  #134  
Old 11-30-2010, 11:05 AM
bunch92 bunch92 is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: France / UK
Posts: 335
What a wonderfull plug-in ! Works amazingly well on my ipod.

Nice work !
__________________
Server : Asus M4A79XTD Evo / AMD Phenom II X4 955 @ 3.2GHz / 4Gb RAM / Win 10 64-bit / Cinergy 2400iDT (French Freeview - TNT) / 2 * Hauppauge NOVA-HD-S2 (UK Sky) / TT CT-3650 CI / HDD : 4.5 To / Sage V7 / XMLTV Importer / EPG from WebGrabPlus+/ LM DVB Recorder for all tuners / 2 Clients : STP-HD300
Reply With Quote
  #135  
Old 12-01-2010, 03:53 AM
bunch92 bunch92 is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: France / UK
Posts: 335
Hi again

A quick question about the "watch now" options on the interface . I have 3 choices, managed to understand 2 of them but not the third :

On this page : Starts video on my ipod
001d6a5dbce5 : Starts video on my HD200 !
/127.0.0.1:1254 : What is this used for ?

Thank you
__________________
Server : Asus M4A79XTD Evo / AMD Phenom II X4 955 @ 3.2GHz / 4Gb RAM / Win 10 64-bit / Cinergy 2400iDT (French Freeview - TNT) / 2 * Hauppauge NOVA-HD-S2 (UK Sky) / TT CT-3650 CI / HDD : 4.5 To / Sage V7 / XMLTV Importer / EPG from WebGrabPlus+/ LM DVB Recorder for all tuners / 2 Clients : STP-HD300
Reply With Quote
  #136  
Old 12-01-2010, 08:25 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
The 127.0.0.1 IP address is your localhost, or the PC that is your Sage server. Presumably if you stream to that device the video file will start playing in Sage on your Sage server.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #137  
Old 12-01-2010, 08:56 AM
bunch92 bunch92 is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: France / UK
Posts: 335
Quote:
Originally Posted by wayner View Post
The 127.0.0.1 IP address is your localhost, or the PC that is your Sage server. Presumably if you stream to that device the video file will start playing in Sage on your Sage server.
Thank you wayner
__________________
Server : Asus M4A79XTD Evo / AMD Phenom II X4 955 @ 3.2GHz / 4Gb RAM / Win 10 64-bit / Cinergy 2400iDT (French Freeview - TNT) / 2 * Hauppauge NOVA-HD-S2 (UK Sky) / TT CT-3650 CI / HDD : 4.5 To / Sage V7 / XMLTV Importer / EPG from WebGrabPlus+/ LM DVB Recorder for all tuners / 2 Clients : STP-HD300
Reply With Quote
  #138  
Old 12-06-2010, 06:36 PM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
I'm getting the 503 error very frequently. I know I can wipe out the webapps folder, and that does indeed work, but its annoying to have to do that every few days. Is there anything I can do to lessen the frequency of the problem?
Reply With Quote
  #139  
Old 12-09-2010, 03:28 AM
bunch92 bunch92 is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: France / UK
Posts: 335
Quote:
Originally Posted by reggie14 View Post
I'm getting the 503 error very frequently. I know I can wipe out the webapps folder, and that does indeed work, but its annoying to have to do that every few days. Is there anything I can do to lessen the frequency of the problem?
I got 503 error all yesterday, and I thought it was my setup that had gone wrong .... I deleted the folders and it is working again now. Thank you for posting reggie14.

I would also like to see a fix , or a solution to this issue. Maybe there is a way to run a daily batch that would delete these folders, I could time at 3am or something.
__________________
Server : Asus M4A79XTD Evo / AMD Phenom II X4 955 @ 3.2GHz / 4Gb RAM / Win 10 64-bit / Cinergy 2400iDT (French Freeview - TNT) / 2 * Hauppauge NOVA-HD-S2 (UK Sky) / TT CT-3650 CI / HDD : 4.5 To / Sage V7 / XMLTV Importer / EPG from WebGrabPlus+/ LM DVB Recorder for all tuners / 2 Clients : STP-HD300
Reply With Quote
  #140  
Old 12-09-2010, 06:55 PM
jorton jorton is offline
Sage Icon
 
Join Date: Jul 2005
Location: Canada
Posts: 1,273
Hey guys,

Can someone point me in the right direction for some good instructions on setting up remote access to the Sagetv Mobile Web Interface?

I'd like to be able to connect to my home Sagetv server (behind cable modem and router) from the outside world (via iphone) and have never been great at setting up this kind of stuff through the router and dealing with changing IP addresses etc...

If this isn't a good place to ask this then please bump me to the appropriate thread.

Thanks,

Jeremy
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.