SageTV Community  

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

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-15-2015, 08:22 AM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
SageTV Rasberry Pi Client

Please excuse the ignorant question, but for those who have successfully built SageTV server on Linux: Do you think it would be possible at this stage to build the SageTV client only on the Rasberry Pi? I have a tv in my daughter's room that I'd like to add a low budget extender to.

I've built a few projects from source before but I'm by no means an expert. Does the ARM architecture pose problems? I'd probably use a Debian distro to try if it is feasible.
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #2  
Old 08-15-2015, 07:21 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by dinki View Post
Please excuse the ignorant question, but for those who have successfully built SageTV server on Linux: Do you think it would be possible at this stage to build the SageTV client only on the Rasberry Pi? I have a tv in my daughter's room that I'd like to add a low budget extender to.

I've built a few projects from source before but I'm by no means an expert. Does the ARM architecture pose problems? I'd probably use a Debian distro to try if it is feasible.
I think we are still a ways away from building extenders on arm.... but I think it is possible, eventually.
Reply With Quote
  #3  
Old 08-16-2015, 09:08 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
There are still many who haven't even got sufficiently set up to code and compile, before taking on a whole new piece of hardware.. :-)
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #4  
Old 08-17-2015, 10:17 AM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Aww come on! Where's your sense of adventure?!

Understood. My naive line of thinking was that it's only a small portion compared to compiling the server but that probably matters little (much like my line thinking!).
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #5  
Old 08-17-2015, 10:39 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Also remember that the Pi uses it's own hardware video decoder for playback, it doesn't have the CPU power to decode video in software. So whoever works on a Pi client will need to update the native code to use the Pi's video decoder API. I suppose if we're really lucky, there may be an mplayer build for the Pi already that we could start with, but I suspect even that will require work to get going.
Reply With Quote
  #6  
Old 08-17-2015, 10:54 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
It looks like the interfaces between the miniclient and the playback might not be too overly complicated, so could likely be mapped over to any sort of playback libraries the pi might offer - but I know about nothing about the Pi.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #7  
Old 08-17-2015, 11:24 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
I'd have hoped so, but that's still far from just a recompile.
Reply With Quote
  #8  
Old 08-17-2015, 10:07 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by stanger89 View Post
Also remember that the Pi uses it's own hardware video decoder for playback, it doesn't have the CPU power to decode video in software. So whoever works on a Pi client will need to update the native code to use the Pi's video decoder API. I suppose if we're really lucky, there may be an mplayer build for the Pi already that we could start with, but I suspect even that will require work to get going.
There is a version of Plex that works on the Pi called Rasplex. It might help to figure out how the deal with video.
__________________
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
  #9  
Old 08-18-2015, 05:28 PM
_Demo_ _Demo_ is offline
Moderator
 
Join Date: Mar 2003
Posts: 863
Send a message via ICQ to _Demo_
I was able to get the UI to display on a Raspberry Pi but I don't have any input or media code yet.

If someone is interested in looking into the hardware decoder this would be the next step, from what I understand it will need to handle demuxing in software then pass the frames through OpenMax for decoding and presentation.
Reply With Quote
  #10  
Old 08-18-2015, 05:57 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
OpenElec (Kodi) builds for RPi are really good including "advanced" deinterlacing, full 3D (MVC) decoding/playback, and DTS-HD decoding to PCM. This would probably be a good place to look for help: http://forum.kodi.tv/showthread.php?tid=231092
__________________
-Craig
Reply With Quote
  #11  
Old 08-18-2015, 06:35 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by _Demo_ View Post
I was able to get the UI to display on a Raspberry Pi but I don't have any input or media code yet.

If someone is interested in looking into the hardware decoder this would be the next step, from what I understand it will need to handle demuxing in software then pass the frames through OpenMax for decoding and presentation.
Maybe you can write up a guide on how to get the point you are at. I don't have a rPI, but I thinking about getting one.
Reply With Quote
  #12  
Old 08-19-2015, 07:50 AM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Quote:
Originally Posted by stuckless View Post
Maybe you can write up a guide on how to get the point you are at. I don't have a rPI, but I thinking about getting one.
Cool progress for sure. An alternative to creating the guide is to create an SD image that can be flashed and then just boot from that image. Hardware is the same so distributed images make things really easy. Of course a guide on setting it up would also be nice
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #13  
Old 08-19-2015, 08:00 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by dinki View Post
Cool progress for sure. An alternative to creating the guide is to create an SD image that can be flashed and then just boot from that image. Hardware is the same so distributed images make things really easy. Of course a guide on setting it up would also be nice
An image would good... but unless you want to be the only one developing for PI, then I'd create a guide

I was looking into the PI cross compiling tools, and I considered creating a Vagrant image to support PI, but since I don't actually have a PI, I figured I'd wait

I do have Vagrant images for x86 and x86_64 Linux, though.
Reply With Quote
  #14  
Old 08-19-2015, 08:56 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by _Demo_ View Post
I was able to get the UI to display on a Raspberry Pi but I don't have any input or media code yet.

If someone is interested in looking into the hardware decoder this would be the next step, from what I understand it will need to handle demuxing in software then pass the frames through OpenMax for decoding and presentation.
I'm guessing there are some wrapper API's out there for the OpenMax decoding. The question would be having them write to the proper surface that the UI can be rendered onto. Are you using JOGL for the rendering of the UI?
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #15  
Old 08-19-2015, 11:37 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by Fuzzy View Post
I'm guessing there are some wrapper API's out there for the OpenMax decoding. The question would be having them write to the proper surface that the UI can be rendered onto. Are you using JOGL for the rendering of the UI?
He was using OpenGL (likely OpenGLES); we already have OpenGL ports for the native miniclient (what runs on all of the SageTV extender hardware). (there's a newer one than what was included in the open source release, but that'll get updated once he's got some more free time to do that)
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #16  
Old 08-23-2015, 05:34 PM
Korny Korny is offline
Sage Advanced User
 
Join Date: Nov 2010
Location: Minnesota
Posts: 87
I'm not a developer, but if anyone needs/wants to borrow a Pi 2 for developement I'd be willing to ship them one of mine. I use 2 for Kodi and for bedroom/kitchen use the video quality is fine and it plays anything I throw at it. One thing to consider is that you need to pass the license code for mpeg2 to get hardward decoding.
__________________
Intel I7 4790k @ stock speeds, 32 GB of ram. 8TB of recording space.
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
ATI vs Nvidia & SageTV - the quest for quality video in a SageTV Client brainbone Hardware Support 51 09-12-2010 01:21 PM
SageTV Client to Full SageTV Server - Is There An Upgrade Path? Savage1701 SageTV Software 8 10-31-2009 09:26 PM
SageTV 4.0 service - opening Sage UI hangs running SageTV client Surtr SageTV Software 1 11-10-2005 01:25 PM
Licence question - service/sagetv/sagetv client Jeraden SageTV Software 1 11-04-2004 01:04 PM


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


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