|
SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Android/AndroidTV Placeshifter client (Discussion)
My goal is to build a fully functioning MiniClient (ie, HD300 like) app for Android for use on Phones, Tablets, and especially Android TV. NEW: Indiegogo Campaign This project will likely unfold in a couple of milestones. Milestone 1 (Progressing)
Milestone 2 (Progressing)
As for Jan 2016 the major functional parts of the MiniClient are complete. The Beta Release will be used to clean up the user experience, and stabilize the client. Milestone 3 (Not Started) - Build a "simple" desktop placeshifter using the same base code, but pulling in vlc4j. This would get rid of the mplayer dependency and enable it to work on 32/64bit clients, including Mac. Milestone 4 (Not Started) - Depending how (or if) the iOS version is progressing, I might take a stab at using Java on iOS to build an iOS version of the placeshifter. This is possible, since I've already done this with another app. You read my comments about Java on ios here. Internal Players' ExoPlayer - AC3 passthrough (only) - MPEG2 hardware decoding if the device supports it - H264 hardware decoding - H265 hardware decoding if the device supports it - NO support for MPEG2-PS - NO support for AVI - Will play MKV, MP4, FLV, TS (mpegts), MPG containers - If it has to transcode a file, it will not play (sagetv sends MPEG2-PS stream) IJKPlayer - Plays any file type - NO MPEG2 hardware decoding support, even if the device supports it - Hardware decoding for h264 - Hardware decoding for h265 (if the device supports it) - NO AC3 passthrough (it will be decoded and played) If this all works, then I think that AndroidTV units could be a viable placeshifter/extender supporting all the same features as our HD100-300 extenders. From an Android Phone perspective, if this works, then I see no need for me to update/enhance the Android apps that I've already done., since this would offer more functionality. One thing that we would need to consider though, is a "Mobile Friendly' SageTV theme. ie, the existing Themes are likely good for TV, but on a phone they might not be so great, so it would be awesome if someone worked on a Mobile theme (that won't be me ) Wired vs Wireless This client works over both, but in my experience when wired the UI is as fluid as it would be on an HD300, except that in the client, the UI is rendered at native resolution, whereas the HD300 renders at 1280x720 (I think). Because the UI resolution is likely higher for this client, then it takes more memory, and network bandwidth to create a smooth UI experience. On WiFi the UI works well, but it works much better wired. Likewise, for video playback, wired will most likely provide a better experience. When comparing with the HD300, you should be comparing wired connections in both cases. Navigation Tablet/Phone
AndroidTV
If you have Smart Remote enabled in the preferences, then when a video is playing/paused, then the following remote buttons will be in effect.
Hardware that Works - I've Tested If it's in this list, then I've verified that the app does run
Hardware that Works - User Feedback This is a list of hardware where people have had success in getting the app to function
Hardware that will not Work (yet) If it's in the list then someone has said "It doesn't work"
Submitting Issues https://github.com/OpenSageTV/sagetv-miniclient/issues Source Code https://github.com/OpenSageTV/sagetv-miniclient
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient Last edited by stuckless; 01-30-2016 at 08:32 PM. |
#2
|
||||
|
||||
Very excited about this possibility. Do you think, and I know it's early, that this would work on an Amazon FireTV Stick?
__________________
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 |
#3
|
||||
|
||||
I don't see why not. The only android specific part of this will be the MediaPlayer and the initial start screen, and I suspect both of those would work on the FireTV. I'm pretty sure with the latest firmware, the FireTV is android 5 API compatible, so it should work.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#4
|
||||
|
||||
Great news! I'm pretty thrifty/frugal/cheap. A SageTV client for under $40 is a very attractive thing to me (and perhaps others) especially for kid's rooms, kitchen, etc.
I'm available for testing whenever you get to that stage. I've got a handful of Android devices running various OS versions.
__________________
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 |
#5
|
|||
|
|||
Awesome. I have two Android MX2's gathering dust. They aren't AndroidTV but run Kit Kat. I used to use them for XBMC/Kodi and Plex clients. I would donate one to you Sean if you needed for development or whatever. I have no coding skills to help but I sure would love to see an Android Placeshifter!
|
#6
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#7
|
|||
|
|||
I hope this works out because I just ordered a Shield TV and this could be the ultimate Sage extender since it also includes native streaming apps (Netflix, etc.) like many of us always wanted in the HD300.
__________________
-Craig |
#8
|
|||
|
|||
Do you have 1080i MPEG2 tv signals? When I tried the Fire TV (box) it really struggled with MPEG2 playback/deinterlacing.
__________________
-Craig |
#9
|
||||
|
||||
Part of the advantage of going the placeshifter route is the transcoding. All the android/ios client would ever have to decode is (currently) MPEG4, and the server would be left to transcode whatever material to that. I'm hoping at some point we can move to a newer ffmpeg on the server to transition to h.264 video instead, which would certainly improve quality.
__________________
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 |
#10
|
||||
|
||||
Quote:
With all that said, I have not tried playing any 1080i content on the FireTV stick. What were you using to play these files?
__________________
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 |
#11
|
|||
|
|||
I was using Kodi too.
__________________
-Craig |
#12
|
|||
|
|||
I assume direct streaming is possible if the client can handle it?
__________________
-Craig |
#13
|
|||
|
|||
In general ARM devices don't have the necessary licenses to decode MPEG2 in hardware. In those cases it has to be done in software. Unless you have a really powerful ARM processor that's likely to be a problem.
__________________
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 |
#14
|
||||
|
||||
Yes, direct streaming is possible via the placeshifter system, but if there are issues with media content playback, it seems just that much 'simpler' to transcode on the server. Also the pass through ffmpeg ensures that the less tolerant decoding systems on most mobile platforms are not botched up by a screwed up timeline, or other recording glitch.
__________________
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 |
#15
|
|||
|
|||
Which is why I ordered the Shield TV: apparently it can already do MPEG2 hardware decoding in Kodi. I also think I read that the Nexus player will be able to do this in the next version of Android TV but I'm not sure.
__________________
-Craig |
#16
|
||||
|
||||
If you do transcoding...there's a few downsides:
1) Reduces quality (although with high enough bitrate H264, this would be negligible) 2) Latency in transport controls (i.e. skipping around is not as fast because the transcoder needs to restart each time you do this) 3) No Smooth Fast Forward or Rewind (technically this could be achieved, but it's very complicated to do it and would require lots of effort)
__________________
Jeffrey Kardatzke Founder of SageTV |
#17
|
||||
|
||||
Quote:
From a placeshifter point of view, does sagetv know when to transcode, or it is up to the placeshifter to ask for a transcoded stream?
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#18
|
|||
|
|||
Quote:
__________________
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 |
#19
|
||||
|
||||
Quote:
Yes there are. The protocol has the client send back the full list of audio/video codecs and container formats that it supports. Then the server uses this to determine compatibility and whether or not transcoding is required. NOTE however, that we haven't fully verified if this works properly in all cases. We did various special cases in there along the way..BUT the whole logic around this is definitely present so if there are issues, they should not be hard to resolve.
__________________
Jeffrey Kardatzke Founder of SageTV |
#20
|
|||
|
|||
Quote:
__________________
Server #1= AMD A10-5800, 8G RAM, F2A85-M PRO, 12TB, HDHomerun Prime, HDHR, Colossus (Playback - HD-200) Server #2= AMD X2 3800+, 2G RAM, M2NPV-VM, 2TB, 3x HDHR OTA (Playback - HD-200) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Finally, a fully functional SageTV client on android and iphone! | mkanet | SageTV v7 Customizations | 12 | 01-12-2013 12:22 AM |
SageTV Placeshifter for Android | nyle | SageTV Placeshifter | 5 | 12-31-2011 10:40 AM |
Sage should get an android client running on this | Deacon Crusher | Hardware Support | 1 | 09-29-2010 11:30 AM |
Android client? | equalize | SageTV Placeshifter | 1 | 07-22-2010 09:37 AM |