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 03-18-2011, 10:26 AM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Quote:
Originally Posted by jreichen View Post
Glad to hear it's working for you. What version of iOS are you using?
I'm running 3.xx (not sure the exact number). I'm still using a first generation iPod Touch, so I don't think I can even upgrade to iOS 4.

One thing that I have noticed, and someone else pointed this out too earlier, the video quality seems to be better on Air Video. I get some motion artifacts (pixelation?) when using your streaming, and the audio sounds a little bit hollow.

I think Air Video uses ffmpeg for streaming (which I believe is what the SageTV transcoder is based on). Could it just be a matter of tweaking the command line parameters for the transcoder to match the Air Video parameters?
Reply With Quote
  #122  
Old 03-18-2011, 11:01 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by peternm22 View Post
I'm running 3.xx (not sure the exact number). I'm still using a first generation iPod Touch, so I don't think I can even upgrade to iOS 4.
Thanks, 3.xx is enough info.

Quote:
Originally Posted by peternm22 View Post
One thing that I have noticed, and someone else pointed this out too earlier, the video quality seems to be better on Air Video. I get some motion artifacts (pixelation?) when using your streaming, and the audio sounds a little bit hollow.

I think Air Video uses ffmpeg for streaming (which I believe is what the SageTV transcoder is based on). Could it just be a matter of tweaking the command line parameters for the transcoder to match the Air Video parameters?
They do both use ffmpeg. When I first created it their parameters were pretty close. I haven't compared them recently. Also, since AirVideo is a native app it can determine whether you're on WiFi or 3G, and start with a higher bitrate if you're on WiFi. I can't do that in a web app. I need to start with a lower bitrate, then the iOS media player can adjust the video quality after 20-30 seconds if it determines there's enough bandwidth.

FWIW I'm using the iPad March Madness app and the games have pixelation even on WiFi. They're probably intentionally using an average bitrate to reduce load on their servers.
__________________
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
  #123  
Old 03-18-2011, 11:04 AM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Quote:
Originally Posted by jreichen View Post
FWIW I'm using the iPad March Madness app and the games have pixelation even on WiFi. They're probably intentionally using an average bitrate to reduce load on their servers.
I've noticed the pixelation seems to vary between the different game sites, too - something which is clearly on the "sending end" of the broadcast, not our receiving end. One of the sites (can't recall which) was really bad yesterday, even on TV. Must have been something with their HD cameras or else the video production trucks....
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #124  
Old 03-18-2011, 01:28 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Quote:
Originally Posted by jreichen View Post
Also, since AirVideo is a native app it can determine whether you're on WiFi or 3G, and start with a higher bitrate if you're on WiFi. I can't do that in a web app.
Ahh, that makes sense.

I do recall being less "bothered" by the quality of the stream as time went on, maybe the auto bitrate adjustment is why I still think Air Video has the edge in terms of video quality though. I rarely notice video artifacts when using it other then the occasional 'blip' (which could be the source file as well).

Any chance of making a setting that can force the stream to start at the highest quality? I'm guessing I'm not the only one who uses wifi exclusively for their iOS device. Optional setting of course.

Thanks.
Reply With Quote
  #125  
Old 04-04-2011, 11:09 AM
BitBass BitBass is offline
Sage Advanced User
 
Join Date: Dec 2007
Posts: 84
Having quality problems and I'm hoping someone can steer me in the right direction. I have this running on a Core2Duo with 8gb ram. The CPU is not maxed out. When I watch HD recordings on my iPad over WiFi the quality of the video never gets better than very pixelated. It's nearly unwatchable. SD source videos look great! Anything HD is really bad, whether from the HD-PVR or the HDHR. I'm close to the Access Point, using 802.11N and GigE from the AP all the way to the SageTV server.

I also get some occasional pauses which is even more annoying since the quality of the picture is so bad.

I'm with Peter, can we have the option of starting the stream at the highest possible setting?
__________________

Win7 VM -4gb ram
Ubuntu 14.04 VM -4gb ram (attempting with OS v9)
3 extenders through the house
Plex integration
HDHR
Reply With Quote
  #126  
Old 04-08-2011, 07:31 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Version 1.2 will be available in the Plugin Manager soon. There are several bug fixes including some that might get this working on Android with the Mirage media player. See the list of fixes in the Plugin Manager.

This thread is not for Android support, it will continue to be a support thread for those using the plugin for streaming with iOS on the Mobile Web Interface. The Mobile Web Interface has not been updated to use media streaming on Android, it will require more work than I anticipated, and when it is I will post a notification here and create another thread for those users (no, I don't know when that will be ).

Please see Fonceur's TASageTV thread if you want to use this plugin to watch recordings in his Android app. He's looking for testers!

Jason
__________________
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
  #127  
Old 04-09-2011, 07:07 AM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Video stops after 20-30 seconds

jreichen - I am using the latest version of jetty, mobile UI, and media services (new 1.2 you mentioned above). I've been having the problem below for the past couple versions and given it hasn't gone away I thought I'd submit a report to you to see if we can further debug this.

Description of the problem: I record all my shows as .ts files (using Ceton tuner w/ babgvant's SageDCT service). Recording works fine so I wouldn't focus on that. Using the mobile UI on my iPhone 3GS, I am able to play the first 20-30 seconds of a recording (.ts file) with no issues at all and the video quality is fantastic. After ~28 seconds or so, the video stream pauses and I am unable to get it to play again without restarting my server. I watched the services/CPU on my server during playback and during the first 20-30 seconds of playback that works well, the SageTVTranscoder process is ~30% CPU but once the stream dies around ~28 seconds, the process drops way down to around ~3% and never goes higher than that. My logs are attached. Any thoughts on what's going on here? Happy to take this conversation to email or private IM if you'd like more detail or to iterate faster.

Details are in my signature or below (using latest sage 7.1.5 beta)
CPU: Intel Core 2 Quad Q6600 (2.4Ghz)
SageTV server operating system: Windows 7 32-bit, UAC turned off
Wireless Connection (WiFi G/N or 3G): WiFi G
Type of device (iPhone, iPod touch, iPad): iPhone 3GS
iOS Version: 4.3.1

removed log
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)

Last edited by LehighBri; 04-20-2011 at 07:01 AM.
Reply With Quote
  #128  
Old 04-16-2011, 12:20 PM
Gustovier Gustovier is offline
Sage Aficionado
 
Join Date: Nov 2010
Location: Chicago
Posts: 460
All,

When clicking on a show For playback I press play and nothing happens. It just sits there. I'm trying this on iPad running iOS 4.3.1. has anybody else seen this? I'm running the latest versions of everything on the sage side.
Reply With Quote
  #129  
Old 04-19-2011, 05:56 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
LehighBri,

I get an error opening your zip file. It says it's either not a zip file or it's one disk of a multi part archive. Can you double check it?
__________________
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
  #130  
Old 04-19-2011, 06:13 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Quote:
Originally Posted by jreichen View Post
LehighBri,

I get an error opening your zip file. It says it's either not a zip file or it's one disk of a multi part archive. Can you double check it?
See attached for the logs and I verified the .zip file this time . Similar description of the issue above... except in this example the video of a .ts recording "T:\SageTV Recordings\HowIMetYourMother-Hopeless-3166993-0.ts" plays back for ~27 seconds and then stops.

removed log
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)

Last edited by LehighBri; 04-20-2011 at 07:01 AM.
Reply With Quote
  #131  
Old 04-19-2011, 06:44 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Quote:
Originally Posted by LehighBri View Post
See attached for the logs and I verified the .zip file this time . Similar description of the issue above... except in this example the video of a .ts recording "T:\SageTV Recordings\HowIMetYourMother-Hopeless-3166993-0.ts" plays back for ~27 seconds and then stops.
jreichen - when you get a second to look through the logs, here's just a hunch on where I think the error may be... interested in your perspective. Per the subsection of my sagetv log below, it seems like it plays the first two 10 second segments just fine but using very low quality setting (my phone is on my home wifi thus would expect the quality to increase). Then it seems like when the mobile streaming gets ready to stream the 3rd segment, it fails there (hence the playback failing before it gets to 30 seconds). My guess is that your plugin detects that since I'm on wifi, that it should stream back a high quality stream, and perhaps the high quality stream transcoding is failing (whereas the low quality streams for segments 0 and 1 playback fine). Just a thought... probably way off here but maybe that's a start?


Code:
Tue 4/19 20:10:24.781 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: ----------- HTTPLiveStreamingSegmentServlet end request Headers ---------------
Tue 4/19 20:10:24.781 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: nextState() old segment = 2, new segment = 1
Tue 4/19 20:10:24.781 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: nextState() old quality = 150, new quality = 1240
Tue 4/19 20:10:24.781 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: SegmenterState.nextState() returns false
Tue 4/19 20:10:24.782 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: Resetting segment producer
Tue 4/19 20:10:24.782 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: Killing segmenter process
Tue 4/19 20:10:24.783 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: SegmenterProcess: stop transcoder process
Tue 4/19 20:10:24.783 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: loaded class java.io.OutputStreamWriter
Tue 4/19 20:10:24.783 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: loaded class java.io.OutputStreamWriter from null
Tue 4/19 20:10:25.297 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: SegmenterProcess: process forcibly terminated due to IllegalThreadStateException
Tue 4/19 20:10:25.297 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: SegmenterProcess: stop segmenter process
Tue 4/19 20:10:25.298 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: SegmenterProcess: close segmenter input stream
Tue 4/19 20:10:25.298 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: Creating new segmenter process
Tue 4/19 20:10:25.299 [5398236@qtp-31750563-6 - @525edc] ::DEBUG: SegmenterProcess: userAgent AppleCoreMedia/1.0.0.8H7 (iPhone; U; CPU OS 4_3_2 like Mac OS X; en_us)
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)
Reply With Quote
  #132  
Old 04-20-2011, 06:17 AM
coppit coppit is offline
Sage Advanced User
 
Join Date: Mar 2003
Posts: 176
Disable realm authentication?

Has anyone figured out how to disable the password prompt? I think I have configure Jetty to use a UserRealm rather than a HashUserRealm, but don't know the details.
Reply With Quote
  #133  
Old 04-20-2011, 07:00 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Quote:
Originally Posted by Gustovier View Post
All,

When clicking on a show For playback I press play and nothing happens. It just sits there. I'm trying this on iPad running iOS 4.3.1. has anybody else seen this? I'm running the latest versions of everything on the sage side.
I'll need your logs in order to see what's happening. See the first post of this thread for instructions.
__________________
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
  #134  
Old 04-20-2011, 10:44 PM
coppit coppit is offline
Sage Advanced User
 
Join Date: Mar 2003
Posts: 176
Solved...

Quote:
Originally Posted by coppit View Post
Has anyone figured out how to disable the password prompt? I think I have configure Jetty to use a UserRealm rather than a HashUserRealm, but don't know the details.
I worked on it some more tonight. The answer is to delete the entire block:

Code:
<Get name="securityHandler">
in sagewebapp.xml and mediastreaming.xml.

I don't see the streaming video option in my desktop browser, but I do see it on my iPad. Maybe that's to be expected.
Reply With Quote
  #135  
Old 04-20-2011, 11:43 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by coppit View Post
I don't see the streaming video option in my desktop browser, but I do see it on my iPad. Maybe that's to be expected.
Working as intended, as it requires Apple's http live streaming, which most desktop browsers don't support (maybe Safari on a Mac?)...
__________________
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
  #136  
Old 04-25-2011, 05:45 PM
plnewton plnewton is offline
Sage User
 
Join Date: Jun 2009
Posts: 38
Hi

I am trying to get the iPad app to run and I have it all setup and can see video but there is no audio on any video format I try.

Any pointers in where to start looking?
Reply With Quote
  #137  
Old 04-26-2011, 04:43 AM
ukmgranger's Avatar
ukmgranger ukmgranger is offline
Sage Expert
 
Join Date: Apr 2004
Location: Derby England
Posts: 609
Had a quick play with this this morning. Like plnewton, I also had no audio when playing through my iphone4.

Also, I have an appleTV 2, and love the fact that using eyeTV i can play live TV etc to it using airplay. I have tried to do this using the mobile web interface, but appleTV doesn't seem to like it. Any ideas?
Reply With Quote
  #138  
Old 04-26-2011, 04:45 AM
ukmgranger's Avatar
ukmgranger ukmgranger is offline
Sage Expert
 
Join Date: Apr 2004
Location: Derby England
Posts: 609
Quote:
Originally Posted by ukmgranger View Post
Had a quick play with this this morning. Like plnewton, I also had no audio when playing through my iphone4.
Oddly, just had another play and the audio played fine?!?
Reply With Quote
  #139  
Old 04-26-2011, 06:08 AM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
I've never had any problems with this plugin before on my iPod Touch Gen3 - granted, I don't use it much, but it's always worked fine - but one of the recent updates has apparently made it want to play the SAP audio stream with recordings instead of the main audio.

I checked two recordings just now - one which is almost a year old, and one which was recorded this past weekend, both of which have perfectly normal audio when watching at home, and the year-old one I've watched via this streaming plugin before on this exact same device - and both of them are now playing the SAP audio. Is this a setting I can change, or something hard-coded?
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #140  
Old 04-26-2011, 11:39 AM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
BitBass, Gustovier, plnewton, jpjpjpj - I need logs to troubleshoot anything with the streaming. Please take a look at the first post in this thread for instructions.

There's a bug in version 1.2.0 of the media streaming plugin where it prints your server name to the log. Make sure to search/replace it if you don't want that posted. I'll fix that in the next release.
__________________
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
Reply


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 Interface Version 2 jreichen SageTV v7 Customizations 411 02-28-2021 10:05 PM
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
Web User Interface + Secure = Broken Streaming Function jmoney579 SageTV Customizations 1 05-28-2008 01:51 AM


All times are GMT -6. The time now is 07:05 PM.


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