|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Differences using clients and servers
Hi,
I'm running two installations of sage 9, both build from the current sources. One is running on intel/ubuntu64, one on arm/ubuntu32. And I'm using different clients: On windows 10, on android and on firetv. Any combination of client/server has different behavior, as shown below: Unfortunatelly, my favorite combinations are arm/firetv and arm/android6. The server on intel is only a test installation, which will be removed later. Where do this differences come from? Are there any client log files, where I could find reasons for this? Ken |
#2
|
||||
|
||||
The server has not really been tested on an arm platform. There are quite a lot of native code bits (like the call to ffmpeg to generate thumbnails, for instance, which explains the lack of preview images) that would need to be updated/modified to get working on a different platform. Not impossible, by any means, but hasn't really hit much on the devs radar, since most of us run much larger servers than ARM would really be appropriate for.
The miniclient doesn't work in firetv anymore (it did, but amazon, in their infinitely manipulative ways, have changed some decoder things that broke many non-amazon friendly apps). Android 6 'should' be working with the miniclient, but there are a lot of variables between android devices, and what might work on one android 6 device, may not on another (Many of us are using NVidia Shield TVs or Mi Boxes, which run Andriod TV on Android 6 just fine). You'd need to submit more information on what you are using to Stuckless, either in a thread here, or in the miniclient's github issues page, to track down your Android 6 issues.
__________________
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 |
#3
|
||||
|
||||
I think if you have compiled sagetv for Arm (all the native parts), then I think that you are likely the first person to do so. It would be a good idea to share the "howto" on that alone, since, I think it would be of interest to others.
I'd be interested in knowing what are the actual Android devices being used... and what are their capabilities, and what is the video being tested, and how. ie, if you are using a Tablet, and it doesn't have mpeg decoders, and you a mpeg2 video and you are using ExoPlayer in the Android client, then it likely won't work... IJKPlayer might work, if it has enough horsepower to software decode the video, etc. All of my video is h264 and I run Android 5 and 6, and I don't really have any issues. For the Android MiniClient... is the build from the playstore, or did you build it yourself. Generating thumbnails (preview image) is a server operation... the server creates a jpg and sends it to the client (might be different for a full client). It might be that your build of ffmpeg is not quite 100% (ie, missing libraries??)... Have you tried with the version that I uploaded to BinTray? I can assure you that Android 5/6 both will play videos and show thumbanils... so the variances is likely more to with the actual hardware you are using rahter than the version of Android.... And Fire/FireTV is something that I'm not interested in supporting... You can get it all to work, but as Fuzzy said... Amazon is playing a game of cat and mouse at the moment... and I'm not interested in playing.
__________________
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
|
|||
|
|||
Thanks for your detailed reply.
As for the thumbs: It all works in the windows mini client, therefore I doubt, it's a ffmpeg problem. As for arm: Yes, I'm planing a blog, with detailed step by step information. I'm still in the process of choosing the appropriate hardware, before publishing the blog. Btw., hereby I kindly ask for permission to use the SageTV logo inside the blog. I'll specify some more information about the android devices, later. Ken |
#5
|
||||
|
||||
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 |
#6
|
||||
|
||||
If you mean SageTVClient.exe, then that actually generates the thumbnails locally...the server is not generating them in that case. If you mean the SageTVPlaceshifter, then that uses thumbnails generated by the server.
__________________
Jeffrey Kardatzke Founder of SageTV |
#7
|
|||
|
|||
These are my current server installations of SageTV9:
Testserver with Ubuntu 16.04 on Intel64. Java retrieved with "sudo apt-get install -y oracle-java8-installer", according to sage wiki. Build and installed according to sage wiki. ARMv7 server with Ubuntu 16.04 server for arm. Java jdk-8u111-linux-arm32-vfp-hflt.tar.gz downloaded from Oracle. Server build according to sage wiki with the following exceptions: - configured X.264 with --disable-asm - installed mplayer with apt-get instead of building (build failed). These are my clients: - Samsung Galaxy Nexus with Cyanogen Mod 11. Works fine. - Motorola Moto G2 with Android 4.4. Works fine. - Samsung Galaxy Tab 4 with Android 5. Works fine. - Huawei P8 Light with Android 6. No video playback. All android devices run mini clients installed from Google PlayStore. - Windows 10 with SageTV9 Client from bintray (9.0.11.483_R1.006.exe). Works fine. - Amazon fireTV Stick. Needles to say, that it does not work. The media files where the same on both servers. |
#8
|
||||
|
||||
FWIW, I posted a modded version of the Sean's miniclient this morning that works on FireTV:
https://forums.sagetv.com/forums/sho...5&postcount=26 That should clear up your playback issues for the most part across both server platforms.
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#9
|
||||
|
||||
Quote:
Quote:
Quote:
What is video file being tested... (what is the mediainfo).
__________________
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 |
#10
|
|||
|
|||
Quote:
|
#11
|
|||
|
|||
Quote:
Besides, I cannot use your .deb on arm - can I? Btw.: Is it still correct, that a GCC < 5.0 has to bee used? |
#12
|
||||
|
||||
Quote:
And for the FireTV... you'll want to sideload the apk @evilpenguin posted. If you want to compare... this is the script that I use for building sagetv (I use a docker container) https://github.com/stuckless/sagetv-...ild/Dockerfile So, when things need to be added, etc, I update it there. I am very interested though in getting the arm part working... Are you cross compiling... or are you compiling on the Arm device directly? (Ideally I'd love to get cross compiling to work and then build the tgz/.deb for arm and intel at the same time).
__________________
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 |
#13
|
||||
|
||||
Trimming out a lot of the native bits that may not be necessary (like capture and such) would not only simplify things, it would also potentially lead to a full client build for ARM/android, which could be a great improvement over the miniclient approach.
__________________
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 |
#14
|
||||
|
||||
I think getting a server running would be much easier. I think that the fact that Jeff never created a Full Client on linux... speaks volumes (to me) that getting a full client running on linux is a huge amount of effort. Jeff would have to weigh in on that one.
__________________
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 |
#15
|
||||
|
||||
The rendering/playback system appears to be modular, and as I recall from looking at it a long time ago, sage.jar handles if very similar to how miniclient.jar does, so what you've built in the miniclient may be a decent start.
Jeff has mentioned before that they did build a linux rendering system, but never really polished it. Keep in mind, that at the time most of that development was going on, linux was not anywhere near the mainstream, and it's video capabilities, especially in the realm of hardware accelerated playback, was extremely limited compared to what directshow had to offer. See here for the linux implementation of the MediaPlayer. See here for the OpenGL implementation of the SageRenderer.
__________________
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 |
#16
|
|||
|
|||
One more thing about the thumbnails on arm: When displaying the list of recordings, I see this entry in the sagetv_0.txt:
Error creating thumbnail from video file:MediaFile[id=262482 A[122405,122404, ...(removed some text here)...] res=/media/iomega/filesystem/opt/sagetv/server/ffmpeg: error while loading shared libraries: libfaad.so.2: cannot open shared object file: No such file or directory I tried digging into it, however, I couldn't find libfaad.so under /opt/sagetv/server, neither on intel, nor on arm, nor in server.deb. Since it works on intel, it must be somewhere. So, where is this libfaad.so supposed to be? |
#17
|
||||
|
||||
I think that is compiled into ffmpeg (sagetvtranscoder)
__________________
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 |
#18
|
||||
|
||||
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 |
#19
|
||||
|
||||
The FTV platform is pretty open these days and you seem pretty savy so I wouldn't even bother with any fancy tools. Just go into FireTV Settings->System->Developer Options and enable everything (ADB on, Debugging over USB, Allow Apps from unknown sources, etc.), install the Android Developer Kit to get adb working, connect to the FTV via wifi ('adb connect 192.168.1.1'), and then just do ('adb install sagetv_miniclient.apk') and it should just magically appear in your Apps section.
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#20
|
|||
|
|||
Great thanx!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
for sale 2 hd300, 1 hd100, 2 servers,3 clients, 4 placeshifters | impro | SageTV Marketplace | 16 | 07-01-2013 11:55 PM |
Psssible major rebuild of servers and clients | bbig119 | Hardware Support | 0 | 08-18-2010 09:46 AM |
Remote question for servers and clients | crarbo1 | Hardware Support | 10 | 08-24-2008 01:47 PM |
Two servers and multiple clients? | Athfar | SageTV Software | 1 | 12-07-2007 12:19 AM |
Do the clients and servers check their version numbers?! | jimbobuk | SageTV Beta Test Software | 0 | 05-31-2003 06:46 AM |