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
  #161  
Old 02-20-2013, 10:15 AM
mdnttoker mdnttoker is offline
Sage Aficionado
 
Join Date: Aug 2006
Posts: 446
Quote:
Originally Posted by stuckless View Post
Over on Google+ I just posted the following post, detailing the future of this application...

https://plus.google.com/u/0/10088422...ts/RkS9ANiAHxv

I won't copy verbatim, but in a nutshell, I'm looking at making certain features paid features, and basing the amount of attention this app gets on it's sales performances, compared against my other apps.

You can share your thoughts here or on Google+
Any thoughts to using something like kickstarter to set a goal for each feature, so we can see goals and status?
Reply With Quote
  #162  
Old 02-20-2013, 12:01 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by mdnttoker View Post
Any thoughts to using something like kickstarter to set a goal for each feature, so we can see goals and status?
Interesting... I've never thought about using Kickstarter for something like this.

EDIT: It looked interesting until I realized that I had to in the US or UK

Last edited by stuckless; 02-20-2013 at 12:10 PM.
Reply With Quote
  #163  
Old 02-20-2013, 11:56 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
nice app so far. the two things I would pay the most for would be the ability to schedule/cancel recordings, and reliable streaming. Priority would be the scheduling.

Watching tele on a 3.5" screen is nearly a complete waste of time, but for ten minutes in an airport, it has a purpose.

Air Video has been the best streaming app I've found so far, and it's $2.99, which is a steal...no Android version, however, and no file manipulation or scheduling capabilities either.

As it stands now, what stops us from streaming movie-length items in the current app? I can stream music videos just fine.....longer programs just spin the wheel
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson

Last edited by tvmaster2; 02-21-2013 at 12:01 AM.
Reply With Quote
  #164  
Old 02-21-2013, 07:20 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by tvmaster2 View Post
nice app so far. the two things I would pay the most for would be the ability to schedule/cancel recordings, and reliable streaming. Priority would be the scheduling.

Watching tele on a 3.5" screen is nearly a complete waste of time, but for ten minutes in an airport, it has a purpose.

Air Video has been the best streaming app I've found so far, and it's $2.99, which is a steal...no Android version, however, and no file manipulation or scheduling capabilities either.

As it stands now, what stops us from streaming movie-length items in the current app? I can stream music videos just fine.....longer programs just spin the wheel
When I add in the ability to purchase the premium unlock, I'll post a "Poll" here with some features that people have requested, and the most votes will get the priority. (I really liked the kickstarter idea, but that's not an option for me in Canada).

You won't see "reliable" streaming in the poll The reason is that there are not enough sagetv users to raise the $100K-$200K of money required to solve this issue and create reliable streaming. There are simply too many variables (devices, versions of android, etc, video file types, etc). The best we can hope for is sem-reliable streaming. For example, the App today can stream files, as is, over the network (ie, wifi network), and if the device has native support for the codecs, then the file "may" play. My son uses this quite a bit to watch TV recordings (HDPVR .ts files), and it works "ok" with some pausing from time to time as he's watching the show. (These are 4gig files that are being copied across the network, so you'll see why it's not an option over 3g). While this "streaming" works for .ts files there some MKV files that simply don't work, or they work but no audio, etc, so it's not relable

I am working on another "semi-reliable" solution that will work over 3g and WiFi, but again, it'll be hit or miss for users, depending on the files, devices, network, etc.

The other problematic part of streaming is seeking/pausing/ skipping commercials, etc. All that, will basically a pipe dream. When/If we get semi-reliable streaming... it's unlikely to contain those features.

All that being said, you can get "reliable" streaming today, if you just transcode ALL your files to multiple formats and that compatbile with your device over different network conditions.
Reply With Quote
  #165  
Old 02-21-2013, 01:31 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by stuckless View Post
When I add in the ability to purchase the premium unlock, I'll post a "Poll" here with some features that people have requested, and the most votes will get the priority. (I really liked the kickstarter idea, but that's not an option for me in Canada).

All that being said, you can get "reliable" streaming today, if you just transcode ALL your files to multiple formats and that compatbile with your device over different network conditions.
cool - I'll vote for scheduling/deleting recordings if it's included in the poll. Duh - didn't think to try wifi on my T-mobile HTC 4G - that will likely produce better results. Generally speaking - how long would your son have to wait for one of those .ts files to begin playing, and is there an app you'd recommend (right now trying out Mirage Player and MX Player, neither with great results. I transcode using Handbrake, usually to 720p iPad or Apple TV format
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson

Last edited by tvmaster2; 02-21-2013 at 01:34 PM.
Reply With Quote
  #166  
Old 02-24-2013, 05:13 PM
Dargason Dargason is offline
Sage Expert
 
Join Date: Oct 2003
Posts: 516
I had some time today, so I played around with streaming stuff to my tablet. I had some success, so I thought I'd share.

I got VLC installed and working on my webserver for streaming SageTV. I tried a couple different android video players, and found that MX Player worked pretty well for playing h264 videos muxed into .ts. It even used hardware decoding.

Unfortunately, using it this way is a mess. To get the webserver streaming you have to give it a rather long URL, for example:

Code:
http://username:password@fakename.fakeserver.com:8080/sage/public/MediaFileTranscode?MediaFileId=10738245&Segment=0&mode=vlc&vc=h264&vb=1024&ac=mpga&ab=128&scale=0.5&mux=ts&deint=1
Within MX Player, you choose "Network stream" from the settings menu, and type in this long thing using a crummy touch screen... yea, right. I'd rather shoot myself in the foot.

So I built a very crude android app with the URL hard-coded and started MX Player using an intent... works fine. Presumably a program like Phoenix for SageTV could build the string based on the user input.

Of course, the streaming functionality is limited... you can pause the program or stop it, but that's about it. No seeking or skipping forward or backward. And if you leave the app and return to it later (or presumably if you get a phone call) the stream starts over.
Reply With Quote
  #167  
Old 02-24-2013, 05:24 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Dargason View Post
I had some time today, so I played around with streaming stuff to my tablet. I had some success, so I thought I'd share.

I got VLC installed and working on my webserver for streaming SageTV. I tried a couple different android video players, and found that MX Player worked pretty well for playing h264 videos muxed into .ts. It even used hardware decoding.

Unfortunately, using it this way is a mess. To get the webserver streaming you have to give it a rather long URL, for example:

Code:
http://username:password@fakename.fakeserver.com:8080/sage/public/MediaFileTranscode?MediaFileId=10738245&Segment=0&mode=vlc&vc=h264&vb=1024&ac=mpga&ab=128&scale=0.5&mux=ts&deint=1
Within MX Player, you choose "Network stream" from the settings menu, and type in this long thing using a crummy touch screen... yea, right. I'd rather shoot myself in the foot.

So I built a very crude android app with the URL hard-coded and started MX Player using an intent... works fine. Presumably a program like Phoenix for SageTV could build the string based on the user input.

Of course, the streaming functionality is limited... you can pause the program or stop it, but that's about it. No seeking or skipping forward or backward. And if you leave the app and return to it later (or presumably if you get a phone call) the stream starts over.
Thanks for sharing. I've been working on a streaming solution, and I initially released the server components today (in Phoenix 2.3.61). This solution uses vlc, but also, I've incorporated a "generic" script backend, so that if people want to try something different they can.

I'll be pushing out more information about this, and I still need to a bit more testing in my App before I release an update.

In my solution, I basically allow for 2 network states, wifi and mobile (3g, etc), and for each network state there are 3 modes, "low", "normal", and "hd". I expose the configuration for this via the bmt web ui, so each person, should they feel daring enough, can basically tweak the vlc options for each of those modes.

For now, you still have the same limitations that you've listed, in that you cannot skip, but you can pause.
Reply With Quote
  #168  
Old 02-26-2013, 10:04 AM
waynedunham waynedunham is offline
Sage Icon
 
Join Date: Sep 2004
Posts: 1,469
I did a search through the thread and couldn't find anything, but is it possible to access my servers remotely via a dyndns connection? I can see/use my servers just fine over my WiFi at the house, but can't seem to get remote access.
I'd like to be able to do that so when I'm away from home I can still use this app on my phone.

The app is AWESOME BTW!!
__________________
Wayne Dunham
Reply With Quote
  #169  
Old 02-26-2013, 10:45 AM
Dargason Dargason is offline
Sage Expert
 
Join Date: Oct 2003
Posts: 516
Quote:
Originally Posted by waynedunham View Post
I did a search through the thread and couldn't find anything, but is it possible to access my servers remotely via a dyndns connection? I can see/use my servers just fine over my WiFi at the house, but can't seem to get remote access.
I'd like to be able to do that so when I'm away from home I can still use this app on my phone.

The app is AWESOME BTW!!
Yes, this is how I do this. If you're having trouble, my guess is that the port forwarding isn't set up on your router. I think the SageTV Webserver uses port 8080 by default but you can configure this to something else if you have another webserver app already using that port.
Reply With Quote
  #170  
Old 02-26-2013, 06:44 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Version 2.0 Released

Version 2.0 has been updated to the Google Play store, it may take a few hours before the update shows up.

In this release I've added 2 key things.

1. Ability to use VLC to stream files to the device with on the fly transcoding using the HLS protocol. In my testing (Galaxy Nexus, and Nexus 7) I can watch these streams using either the MX player or the Native Android player.

NOTE: This requires some setup by the user, in that you need to install VLC 2.0+ on the SageTV server AND you need to configure the full path to the VLC exectuable using the "Phoenix Streaming Server" configuration section in BMT.

Once this is setup, you have 4 profile options when you stream; low, normal, hd, and no-transcode. These are subjective in that they simply create different streams, except for no-transcode, which sends back a raw stream. These streams can be configured in BMT VLC section, if you know what you are doing. Out of the box, I've set them to "reasonable" values. Also, you can configure different profiles for WIFI and 3G. ie, "hd" for 3g, may be lower bitrate, etc, just to keep the stream sizes down.

2. I've added an In App purchase to buy an premium unlock for the App ($9.99 CAD). Currently, this doesn't "unlock" anything, since the App is fully unlocked, even in this release. But, if you do "purchase" you help determine if I'm going to continue to spend effort on the App. And 2, if you purchase, and at some later time I start moving "features" like streaming into the "premium" licence, then you will get those features. I haven't set a date for when that will happen... but it will happen. The reason it's fully unlocked, right now, because you are the QA people When you do purchase the UNLOCK the Buy/Unlock menu option should go away. I couldn't really test this easily, so I'd like some feedback, especially if you buy the unlock, and you are still seeing the menu option to buy/unlock.

Thanks again for the feedback.
Reply With Quote
  #171  
Old 02-26-2013, 08:06 PM
waynedunham waynedunham is offline
Sage Icon
 
Join Date: Sep 2004
Posts: 1,469
Quote:
Originally Posted by Dargason View Post
Yes, this is how I do this. If you're having trouble, my guess is that the port forwarding isn't set up on your router. I think the SageTV Webserver uses port 8080 by default but you can configure this to something else if you have another webserver app already using that port.
I figured it out. I was entering the address wrong by leaving the trailing "/" at the end of the dyndns address. Thanks
__________________
Wayne Dunham
Reply With Quote
  #172  
Old 02-26-2013, 08:25 PM
Dargason Dargason is offline
Sage Expert
 
Join Date: Oct 2003
Posts: 516
I unlocked the app, and it immediately crashed... was that supposed to happen? I got a receipt, so it must have gone through.

Regarding streaming, here's what happens... I long-press a recording, select "Play on device" and it says "Checking" forever. On the server, I see an instance of vlc.exe show up, and the command line args are "-version". If I kill the vlc.exe process, the "Checking" dialog goes away and it asks me which player I want to use. I pick "MX Player" and the stream begins. Odd, because I can no longer see an instance of vlc.exe running.

How do I know which mode is being used? It was running into some serious sync issues and I noticed is was using the SW decoder, when I know it was using HW before.

edit: When I type "vlc.exe --version" at the command line, it comes up with a new window that says "Dumped content to vlc-help.txt. Press the RETURN key to continue..."

Last edited by Dargason; 02-26-2013 at 08:35 PM.
Reply With Quote
  #173  
Old 02-26-2013, 08:40 PM
rnadeau's Avatar
rnadeau rnadeau is offline
Sage Expert
 
Join Date: Jun 2006
Location: Maine
Posts: 500
Google play doesn't give me the option to pay for it.

Edit: Sorry I just reread your post about purchasing it in the app.
__________________
Sage Tv Server-Amd 4200FX quad core, Asus Nvidia EN610 Hdmi out , 8 Gig Ram ,(3) HVR-1800, 3.5 terrabyte storage, Windows 8 Pro on sage 9.09 system . Media Server- 6 Terabytes on 5 drives, Amd x2 6000 8 useable gig ram on win 7 32 bit media server.

Last edited by rnadeau; 02-26-2013 at 08:43 PM.
Reply With Quote
  #174  
Old 02-26-2013, 08:56 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by Dargason View Post
I unlocked the app, and it immediately crashed... was that supposed to happen? I got a receipt, so it must have gone through.

Regarding streaming, here's what happens... I long-press a recording, select "Play on device" and it says "Checking" forever. On the server, I see an instance of vlc.exe show up, and the command line args are "-version". If I kill the vlc.exe process, the "Checking" dialog goes away and it asks me which player I want to use. I pick "MX Player" and the stream begins. Odd, because I can no longer see an instance of vlc.exe running.

How do I know which mode is being used? It was running into some serious sync issues and I noticed is was using the SW decoder, when I know it was using HW before.

edit: When I type "vlc.exe --version" at the command line, it comes up with a new window that says "Dumped content to vlc-help.txt. Press the RETURN key to continue..."
I am getting the same thing stuck on checking I see 2 Instances of VLC on server. The 2 instances occurred because VLC does not close.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 02-26-2013 at 09:06 PM.
Reply With Quote
  #175  
Old 02-27-2013, 05:25 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Dargason View Post
I unlocked the app, and it immediately crashed... was that supposed to happen? I got a receipt, so it must have gone through.
First, thanks Second, No, that's not supposed to happen Did you get the option to "report" the error, so I can see where it failed. I did notice last night that when I tried an In App purchase on my home tablet, it actually crashed the first time I hit the "buy" link. Fortunately I was able to report it, so I'll be tracking that down tonight (It doesn't crash at all on my phone, which is what I use for development)

Quote:
Regarding streaming, here's what happens... I long-press a recording, select "Play on device" and it says "Checking" forever. On the server, I see an instance of vlc.exe show up, and the command line args are "-version". If I kill the vlc.exe process, the "Checking" dialog goes away and it asks me which player I want to use. I pick "MX Player" and the stream begins. Odd, because I can no longer see an instance of vlc.exe running.

How do I know which mode is being used? It was running into some serious sync issues and I noticed is was using the SW decoder, when I know it was using HW before.

edit: When I type "vlc.exe --version" at the command line, it comes up with a new window that says "Dumped content to vlc-help.txt. Press the RETURN key to continue..."
Quote:
Originally Posted by nyplayer View Post
I am getting the same thing stuck on checking I see 2 Instances of VLC on server. The 2 instances occurred because VLC does not close.
OK, I'll try to get a fix out tonight... For the streaming, I add a check to make sure that vlc is configured and that vlc is running at the correct version. I use vlc --version and capture the output to check the version string. On Linux that appears to work find, but that appears to not work consistently on windows. Instead of the using the "VLC.exe" could you try "CVLC.exe" and see if that makes a difference? I'll fix this in the next build but cvlc.exe may work as a work around.

BTW, the reason I do the check, is that I don't want to prompt the user with 4 different profiles, if they can't actually support any (since vlc is not configured). I'd just end up with a bunch of "When I select 'Normal' I just get a message video can't be played" support requests... I guess this backfired on me
Reply With Quote
  #176  
Old 02-27-2013, 05:31 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Dargason View Post
I unlocked the app, and it immediately crashed... was that supposed to happen? I got a receipt, so it must have gone through.
One more thing... could you check to see if the "Buy/Unlock" option goes away, if so, then the App is detecting that you have purchased it.

This is my first attempt at using In-App purchases (which I want to add to other apps), so basically you guys are helping me work through issues, which is why, for now, the "Purchase" option doesn't actually do anything, except show support for the App.
Reply With Quote
  #177  
Old 02-27-2013, 06:56 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by nyplayer View Post
The 2 instances occurred because VLC does not close.
The VLC advanced menu has an option to run in single instance mode, assuming you're not going to stream simultaneously to multiple devices... I think there's also a command line parameter for that.
__________________
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
  #178  
Old 02-27-2013, 07:09 AM
Dargason Dargason is offline
Sage Expert
 
Join Date: Oct 2003
Posts: 516
Quote:
Did you get the option to "report" the error, so I can see where it failed.
No, it just said something like "Unfortunately, Phoenix Remote has stopped."

The 'buy' option is no longer available.

As for using CVLC, I don't have that as an executable.
Reply With Quote
  #179  
Old 02-27-2013, 07:24 AM
mechling-burgh mechling-burgh is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pittsburgh, PA
Posts: 406
Bought it this morning and it crashed also, sent error report.
Reply With Quote
  #180  
Old 02-27-2013, 08:12 AM
rnadeau's Avatar
rnadeau rnadeau is offline
Sage Expert
 
Join Date: Jun 2006
Location: Maine
Posts: 500
I can't find it in the app to purchase it.
__________________
Sage Tv Server-Amd 4200FX quad core, Asus Nvidia EN610 Hdmi out , 8 Gig Ram ,(3) HVR-1800, 3.5 terrabyte storage, Windows 8 Pro on sage 9.09 system . Media Server- 6 Terabytes on 5 drives, Amd x2 6000 8 useable gig ram on win 7 32 bit media server.
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
Utility: Phoenix Tools - Phoenix Renamer stuckless SageTV v7 Customizations 116 04-27-2017 10:42 AM
dream to ability view SageTV recordings on Android bjkiller SageTV v7 Customizations 4 09-06-2012 03:16 PM
SageTV Placeshifter for Android nyle SageTV Placeshifter 5 12-31-2011 10:40 AM
SageTV Studio & Android Brent The SageTV Community 5 07-11-2011 06:20 AM
SageTV as Android for TVs? perholm General Discussion 10 06-23-2011 08:26 PM


All times are GMT -6. The time now is 03:20 AM.


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