SageTV Community  

Go Back   SageTV Community > General Discussion > The SageTV Community
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

The SageTV Community Here's the place to discuss what's worth recording, HTPC deals at retail stores, events happening outside of your home theater, and pretty much anything else you'd like. (No For-Sale posts)

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 12-21-2017, 02:11 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
The approach I took, a long time ago, was to use plex on Roku. I even wrote a sagetv channel that served up views using the vfs. The streaming was biggest challenge, and added a VLC streamer specifically for that purpose. It did work, but, not great. And to be honest, streaming was the biggest challenge even when I was doing the Android apps. It wasn't until I ported/wrote the SageTV miniclient and implemented the streaming datasources from SageTV video playback became rock solid.

I thought about doing a brightscript version, but, I didn't have any interest in learning it. And then along came Android, which is java based, and fit better with my skills.

I often wonder how much life Roku has left. Don't me wrong, I liked Roku (I own 3 of them), but I wonder with AppleTV and AndroidTV if they'll remain relevant.

Good work on this, I'm sure others will be very interested... while I question how long Roku will be relevant, for today, it's still pretty relevant.

Quote:
Originally Posted by mwittl View Post
Well, when I first approached this, I was thinking it was 100% do-able...that is, have the Roku application talking directly to the SageTV server where all transcoding would take place. My experiments with Roku consuming transcoded media from Sage were a bust. None of it would play.

For it to work without the middleware transcoding, one of two approaches would work. The easiest (I'm always a fan of easy) would be a rework of the SageTV Web server sagex plugin to rework their code (sagex media api) to use FFMpeg rather than VLC for transcoding. I tried everything I could think of, but the VLC transcoding is not at all liked by Roku. Also, it would be advisable if the plugin was reworked in such a way to use the latest versions of FFMpeg, along with the ability for a user to configure the FFMpeg transcoding parameters to suit their usage. I spent a lot of time finding the right parameters to use to get a high quality viewing experience at minimal bandwidth and without taxing the server too much.

The second approach...which is way more intense...would be to write a separate ROKU plugin and have it do all the heavy lifting. While the separate plugin would probably be more efficient, the existing Sage Web interface to the Sagex api's is more than adequate if they were reworked.

Keep in mind, all I want to do is view my recordings....I'm not trying to reinvent the wheel by writing a full-blown Roku/SageTV client. All I want to do is have my granddaughter be able to watch Mickey Mouse and Paw Patrol on my Roku's!! Right now, she's a happy camper!!
Reply With Quote
  #22  
Old 12-21-2017, 02:24 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by stuckless View Post
...I often wonder how much life Roku has left. Don't me wrong, I liked Roku (I own 3 of them), but I wonder with AppleTV and AndroidTV if they'll remain relevant....
I would add FireTV to the above list as well as it looks like the home media space may be turning into a three way battle for the mass market between Apple, Google and Amazon.

That is the case with media players and also connected speakers, assuming that Apple ever gets their product out the door. And increasingly these devices, either speakers or media players or both, will act as a hub for Home Automation systems.

So the independent hardware makers, like Roku may get squeezed out. It will be interesting to see if the independent streaming media companies, like Netflix and Spotify, will also get squeezed out.
__________________
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
  #23  
Old 12-21-2017, 06:26 PM
hb4 hb4 is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 346
I think MCEBuddy could work for transcoding. I have it remove commercials, rename, rewrite, and create/place in directories for Emby in the middle of the night for my HDHR Prime recordings. Emby has a Roku app that will play my recordings remotely. I don't need it to transcode since Emby/Roku handle TS and MP4 just fine.

It would be nice to have a SageTV Roku app that would play them as soon as they're recorded with the commercials removed.
__________________
Server: Intel i5-11400 @4.4GHz 6 cores Windows10 Pro, Sage 9.2.6.976, Comskip Donators
Capture: Fubo/TVEverywhere/ChannelsDVR/OpenDCT_0.5.32_x86.
Storage: 120gB SSD, 4tB HD on Server
Network: gB Lan
Playback: FireStick 4K miniclient
Tech Level: Hobbyist

Last edited by hb4; 12-21-2017 at 06:29 PM.
Reply With Quote
  #24  
Old 12-22-2017, 04:37 AM
mwittl mwittl is offline
Sage User
 
Join Date: Dec 2005
Posts: 48
All I know is I'm in awe of guys like Stuckless and the developers that have done all the remarkable and excellent coding for SageTV....which in my humble opinion, is still the best damn software to hit the market....like EVER!

We all like the tech stuff and solving problems...our customers (wives, sons, daughters and grandchildren) are the ones we use as excuses to come up with solutions. So, however long a platform may or may not be around....if that's what our 'customers' want to watch on today...that's what I'll be trying to provide a solution for! Win-win....the granddaughter is happy and grandpa is a hero for providing it!! In the end it's about actually 'watching' a show, not about how we arrange the 1's and 0's to get there....our 'customers' could care less!
Reply With Quote
  #25  
Old 12-22-2017, 05:57 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by mwittl View Post
All I know is I'm in awe of guys like Stuckless and the developers that have done all the remarkable and excellent coding for SageTV....which in my humble opinion, is still the best damn software to hit the market....like EVER!

We all like the tech stuff and solving problems...our customers (wives, sons, daughters and grandchildren) are the ones we use as excuses to come up with solutions. So, however long a platform may or may not be around....if that's what our 'customers' want to watch on today...that's what I'll be trying to provide a solution for! Win-win....the granddaughter is happy and grandpa is a hero for providing it!! In the end it's about actually 'watching' a show, not about how we arrange the 1's and 0's to get there....our 'customers' could care less!
I couldn't agree more.

Does Roku support OpenGL and sockets? If so, and when you are done this, you might want to look creating an actual miniclient for Roku. It's not trivial, but, it's not too hard either.

Also, internally, sagetv uses ffmpeg for streaming and it does have an experimental httpls streamer as well. Just wondering if your needing to use an external transcoding server was born out of a limitation of sagetv's ffmpeg, or, just that you wanted/needed it to be separate from sagetv. Do you intend to open source your streamer at some point? (not that you have to)
Reply With Quote
  #26  
Old 12-22-2017, 06:46 AM
mwittl mwittl is offline
Sage User
 
Join Date: Dec 2005
Posts: 48
Quote:
Originally Posted by stuckless View Post
I couldn't agree more.

Does Roku support OpenGL and sockets? If so, and when you are done this, you might want to look creating an actual miniclient for Roku. It's not trivial, but, it's not too hard either.

Also, internally, sagetv uses ffmpeg for streaming and it does have an experimental httpls streamer as well. Just wondering if your needing to use an external transcoding server was born out of a limitation of sagetv's ffmpeg, or, just that you wanted/needed it to be separate from sagetv. Do you intend to open source your streamer at some point? (not that you have to)

While I haven't yet used sockets in brightscript, the documentation would seem to suggest that it can use TCP sockets. See:

https://sdkdocs.roku.com/display/sdkdoc/roStreamSocket

Regarding OpenGL, most of the Roku devices seem to support it, but I don't know enough about it to see how you program for it. See this link and search for OpenGL:

https://sdkdocs.roku.com/display/sdk...eloper+Program

A mini-client would be awesome, but I wouldn't have a clue where to start! But it might be fun to give it a go with some direction!

The middleware FFMpeg solution I used was created for 2 reasons. First, brightscript makes extensive use of http for serving up content so the most obvious (to me) way to get at the Sage recordings was to use the existing sagex api's through the web server plugin. The transcoding coming from sage using that route was being provided by VLC in one of the web server plugin servlets. Using only http, I didn't see how to get at the FFMpeg in the actual Sage application. Additionally, the newer FFMpeg releases are way, way better at real-time transcoding than older versions. I found the latest releases (with the right parameters) to have a much higher quality and much less intensive CPU rate when transcoding video for a HD client. Basically, I did what I was comfortable doing, without screwing up my base Sage installation....which would really have me in the dog house with my customers.... At some point, I plan on making this available to others.

Last edited by mwittl; 12-22-2017 at 09:57 AM.
Reply With Quote
  #27  
Old 12-22-2017, 06:46 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
I could see a need for a newer FFMPeg which supports newer containers and codecs. Not to mention HW accelerated enc and dec.
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #28  
Old 08-02-2018, 11:54 AM
tierpath tierpath is offline
Sage User
 
Join Date: Nov 2009
Location: Florida
Posts: 30
Hey, any more progress?
Reply With Quote
  #29  
Old 08-28-2018, 04:32 PM
jeffoffline jeffoffline is offline
Sage User
 
Join Date: Dec 2016
Location: Oregon
Posts: 12
bumping this in the event anyone is still thinking about a Roku app for SageTV... apparently Roku TV's can play MPEG-2 just fine. I'm not sure about the external boxes but transcoding is definitely not needed on my TCL C803 https://my.hdhomerun.com/instructions/tv-dlna/ I tested this and can watch OTA TV just fine.
Reply With Quote
  #30  
Old 10-06-2018, 02:20 AM
syrel syrel is offline
Sage Advanced User
 
Join Date: Oct 2010
Location: UK
Posts: 89
Just found this thread, and it looks exciting. Is your software available to download anywhere? And is it possible to use without transcoding if on a local network?

cheers

syrel
Reply With Quote
  #31  
Old 10-22-2018, 05:09 PM
Galaxysurfer Galaxysurfer is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: Calgary, AB CANADA
Posts: 396
I know I personally would be interested in a roku app with direct ties to sagetv over going the plex route. Keep up the great work! I wish I had coding skills.
Reply With Quote
  #32  
Old 11-03-2018, 11:49 AM
frontlinegeek frontlinegeek is offline
Sage Advanced User
 
Join Date: Sep 2007
Location: NB, Canada
Posts: 184
And I am interested in anything that goes on with this too.

To Stuckless' question/concern on longevity, the answer is simple. Roku is a single point solution. The only real annoyance with it is the RF remote and the need to have someone make an app for it. Otherwise, it does YT, Netflix and Amazon as well as all the other things. There are many TVs out there that don't have all of the smart features and people are not going to replace a whole TV just to get them. So as far as I am concerned, yes, it will be around for a while. They are the only neutral party out there. Google and Amazon hate each other and most people don't actually buy Apple products at the scale that people think outside of the iPhone.

I have several V2 and one V1 Chromecast and one Roku. Since Amazon finally got their app out for Canada, I have been using it and I really like it. Even with the two mentioned annoyances. If I could add SageTV to this, well that would be absolutely awesome.
__________________
My contribution to the internet: https://www.youtube.com/user/frontlinegeek
Reply With Quote
  #33  
Old 11-29-2018, 08:02 AM
brandypuff brandypuff is offline
Sage Aficionado
 
Join Date: Mar 2008
Location: Berlin, MA
Posts: 378
I just bought a RUKU Ultra and am trying to figure out what the benefits it has over the apps built into my LG OLED before i send it back. I thought if an app was available on to view my SagetV recorded content, it would be useful as an extender.
__________________
- James M -

Capture Devices: HDHomerunXTEND, HDHomerunPrime
Reply With Quote
  #34  
Old 11-29-2018, 12:25 PM
RonBoyd's Avatar
RonBoyd RonBoyd is offline
Sage Aficionado
 
Join Date: Aug 2009
Location: Denver, Colorado
Posts: 404
Quote:
Originally Posted by brandypuff View Post
I just bought a RUKU Ultra and am trying to figure out what the benefits it has over the apps built into my LG OLED before i send it back. I thought if an app was available on to view my SagetV recorded content, it would be useful as an extender.
I don't know. I have a Vizio (PQ-65) TV and ROKU is not one of the built-in Apps. However, PLEX is and I can access the SageTV files from there. I, also, have the PLEX app installed in my ROKU Ultra(s) and can access the SageTV files from there. I have never done that, however, since SageTV is so much the better "player." (TBH, I never have used the apps in the TV.)

In any event, my guess is the advantage would be that the Ultra gives one access to 4K HDR video (away from SageTV, obviously) and it is voice controlled.
Reply With Quote
  #35  
Old 11-29-2018, 01:03 PM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Just head a up Roku adding MPEG-2 decoding in ver 9 update
In case you didn't know that last MPEG-2 patent expired a long with MP3 and AC3 some time ago.
Reply With Quote
  #36  
Old 11-29-2018, 08:37 PM
ranger ranger is offline
Sage Aficionado
 
Join Date: Nov 2003
Location: Virginia
Posts: 256
Do you have a link for Roku adding MPEG-2 support. I'd like to read up on it, but didn't see it in their release notes for OS 9.
Reply With Quote
  #37  
Old 11-29-2018, 08:41 PM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Quote:
Originally Posted by ranger View Post
Do you have a link for Roku adding MPEG-2 support. I'd like to read up on it, but didn't see it in their release notes for OS 9.
https://forums.roku.com/
Reply With Quote
  #38  
Old 05-05-2019, 01:20 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by mwittl View Post
While I haven't yet used sockets in brightscript, the documentation would seem to suggest that it can use TCP sockets. See:

https://sdkdocs.roku.com/display/sdkdoc/roStreamSocket

Regarding OpenGL, most of the Roku devices seem to support it, but I don't know enough about it to see how you program for it. See this link and search for OpenGL:

https://sdkdocs.roku.com/display/sdk...eloper+Program

A mini-client would be awesome, but I wouldn't have a clue where to start! But it might be fun to give it a go with some direction!

The middleware FFMpeg solution I used was created for 2 reasons. First, brightscript makes extensive use of http for serving up content so the most obvious (to me) way to get at the Sage recordings was to use the existing sagex api's through the web server plugin. The transcoding coming from sage using that route was being provided by VLC in one of the web server plugin servlets. Using only http, I didn't see how to get at the FFMpeg in the actual Sage application. Additionally, the newer FFMpeg releases are way, way better at real-time transcoding than older versions. I found the latest releases (with the right parameters) to have a much higher quality and much less intensive CPU rate when transcoding video for a HD client. Basically, I did what I was comfortable doing, without screwing up my base Sage installation....which would really have me in the dog house with my customers.... At some point, I plan on making this available to others.
As it's been 18 months since your last log entry, I guess this Roku project you were working on has been abandoned? That would have been so great - I wish I had a brain for coding
__________________
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
Reply With Quote
  #39  
Old 05-15-2019, 07:46 PM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Quote:
Originally Posted by SHS View Post
Just head a up Roku adding MPEG-2 decoding in ver 9 update
In case you didn't know that last MPEG-2 patent expired a long with MP3 and AC3 some time ago.
Has anyone opened the Sage miniclient on a Roku and played MPEG-2 video recorded from OTA (with no conversions, just the native OTA recording in MPEG-2)?

If not in Roku, what about MiBox? Or anything else? I notice some cheap Chinese Android TV boxes say they have MPEG-2 but I have to wonder.

I have a lot of OTA recordings and also watch live TV OTA (sports). I would like to move on from HD300s and have a single box at each TV if there's a miniclient solution that allows me to watch my Sage-recorded OTA MPEG-2. I'm open to any of them.
__________________
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
  #40  
Old 05-15-2019, 07:53 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by pjpjpjpj View Post
Has anyone opened the Sage miniclient on a Roku and played MPEG-2 video recorded from OTA (with no conversions, just the native OTA recording in MPEG-2)?

If not in Roku, what about MiBox? Or anything else? I notice some cheap Chinese Android TV boxes say they have MPEG-2 but I have to wonder.

I have a lot of OTA recordings and also watch live TV OTA (sports). I would like to move on from HD300s and have a single box at each TV if there's a miniclient solution that allows me to watch my Sage-recorded OTA MPEG-2. I'm open to any of them.
Can you install the Sage MiniClient on a Roku?
__________________
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
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
SageTV UI as a Roku App? plawlor SageTV Github Development 41 01-27-2016 12:37 PM
PlayOn/MyMedia/Roku/SageTV Question Savage1701 SageTV v7 Customizations 5 11-14-2015 11:07 AM
Roku+Plex = Leaving SageTV? Anyone regret it? IVB The SageTV Community 60 08-29-2013 07:57 PM
SageTV Roku channel? tchapin SageTV Media Extender 79 01-14-2013 09:15 AM
Just got a Roku box... cncb The SageTV Community 4 12-08-2009 03:10 PM


All times are GMT -6. The time now is 11:37 AM.


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