SageTV Community  

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

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-09-2015, 02:07 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
AppleTV 4

I watched the Apple announcements today. The new AppleTV will support apps. Maybe someone, even myself, can get an AppleTV app for SageTV going?
__________________
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
Reply With Quote
  #2  
Old 09-09-2015, 05:13 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by Taddeusz View Post
I watched the Apple announcements today. The new AppleTV will support apps. Maybe someone, even myself, can get an AppleTV app for SageTV going?
if YouTube doesn't find its way onto AppleTV somehow, it's game over, isn't it?
__________________
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
  #3  
Old 09-09-2015, 05:54 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by tvmaster2 View Post
if YouTube doesn't find its way onto AppleTV somehow, it's game over, isn't it?
Huh? YouTube has been on Apple TV for quite some time. It's the older models that have had it stop working because of older API deprecation.
__________________
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
Reply With Quote
  #4  
Old 09-09-2015, 09:55 PM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
Well, in all fairness I'm more of an Android guy, but the AppleTV doesn't look that compelling compared to a ShieldTV.

The remote looks terrible, and there doesn't appear to be an IR receiver for third-party remotes (e.g., Harmony remotes). I wouldn't expect hardware mpeg2 acceleration or deinterlacing, and I doubt software decoding would go much better than it did on the Shield.
Reply With Quote
  #5  
Old 09-10-2015, 07:19 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by reggie14 View Post
Well, in all fairness I'm more of an Android guy, but the AppleTV doesn't look that compelling compared to a ShieldTV.

The remote looks terrible, and there doesn't appear to be an IR receiver for third-party remotes (e.g., Harmony remotes). I wouldn't expect hardware mpeg2 acceleration or deinterlacing, and I doubt software decoding would go much better than it did on the Shield.
The reports I've read say the touch pad feature on the remote works pretty well. The remote is Bluetooth connected so it won't be able to be controlled by third party remotes. It does have the capability of controlling the volume of a TV or receiver.

Not sure about de-interlacing but I wouldn't expect MPEG2 acceleration. Even though it's still used for broadcast television it is largely an irrelevant technology. The same could be said of ATSC. Especially at the time of the digital switch it was a technologically inferior standard. Now that MPEG2 is so ingrained in broadcast standards its going to take as much to replace it with something better. H.264 is already part of the newer ATSC standard but I doubt there's a TV that can decode it. It's going to have to be another painful mandate to upgrade TV to a more modern CODEC.

That being said, modern processors are perfectly capable of real-time conversion of MPEG2 to H.264 as well as doing the same for interlaced H.264. Plex does a perfect job of it on my C2Q 8400. It shouldn't be too difficult to do conversion for those cases.
__________________
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
Reply With Quote
  #6  
Old 09-10-2015, 10:33 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by Taddeusz View Post
The reports I've read say the touch pad feature on the remote works pretty well. The remote is Bluetooth connected so it won't be able to be controlled by third party remotes. It does have the capability of controlling the volume of a TV or receiver.

Not sure about de-interlacing but I wouldn't expect MPEG2 acceleration. Even though it's still used for broadcast television it is largely an irrelevant technology. The same could be said of ATSC. Especially at the time of the digital switch it was a technologically inferior standard. Now that MPEG2 is so ingrained in broadcast standards its going to take as much to replace it with something better. H.264 is already part of the newer ATSC standard but I doubt there's a TV that can decode it. It's going to have to be another painful mandate to upgrade TV to a more modern CODEC.

That being said, modern processors are perfectly capable of real-time conversion of MPEG2 to H.264 as well as doing the same for interlaced H.264. Plex does a perfect job of it on my C2Q 8400. It shouldn't be too difficult to do conversion for those cases.
MOST tv's sold today likely have the silicon to playback h.264 content - many have the capability via thumbdrive, smart tv apps, etc. That's not saying they support h.264 from the tuner, but that wouldn't be a huge leap. Of course this won't help people with older sets, but going forward, I'm guessing many tv's will support the newer ATSC standard completely.
__________________
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 09-10-2015, 11:22 AM
Carlton Bale Carlton Bale is offline
Sage Advanced User
 
Join Date: Sep 2010
Location: Indianapolis, Indiana, USA
Posts: 120
Quote:
Originally Posted by Taddeusz View Post
The reports I've read say the touch pad feature on the remote works pretty well. The remote is Bluetooth connected so it won't be able to be controlled by third party remotes. It does have the capability of controlling the volume of a TV or receiver.
The Apple TV 4 does support third-party Bluetooth devices (gamepads and remotes.) So Harmony or other remotes could theoretically suport it. Similar to Playstation.
Reply With Quote
  #8  
Old 09-10-2015, 04:49 PM
alwzn4vr alwzn4vr is offline
Sage User
 
Join Date: Dec 2009
Location: mississauga
Posts: 19
Apple TV supports HTTP Live Streaming which sounds very similar to the way placeshifter works. From the release notes it appears that tvOS is basically iOS 9 with a bunch of API's removed.
Attached Files
File Type: pdf StreamingMediaGuide.pdf (392.1 KB, 292 views)
Reply With Quote
  #9  
Old 09-10-2015, 08:17 PM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
Quote:
Originally Posted by Taddeusz View Post
That being said, modern processors are perfectly capable of real-time conversion of MPEG2 to H.264 as well as doing the same for interlaced H.264. Plex does a perfect job of it on my C2Q 8400. It shouldn't be too difficult to do conversion for those cases.
The Plex team has spent a lot of time on their transcoder. I kind of doubt we'd realistically get something that good in Sage.

Also, real-time transcoding is less annoying in something in Plex, where most of the content is commercial-free. In Sage its desirable to have faster skipping, since you're going through commercials. It certainly helps to let Plex transcode ahead a few minutes, but skipping is still seems less responsive.

But yes, computers are fast enough to handle real-time transcoding, and the latency when skipping is merely annoying, not terrible. I recently upgraded my Sage/Plex server to a Core i7 4790k with the assumption we'd be doing more transcoding. We'll certainly need it for mobile devices and placeshifting. It's just something that I think would be better to avoid when possible.
Reply With Quote
  #10  
Old 09-10-2015, 08:38 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by reggie14 View Post
The Plex team has spent a lot of time on their transcoder. I kind of doubt we'd realistically get something that good in Sage.
I don't doubt that. Just as with SageTV they use ffmpeg, albeit a modified version.
__________________
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
Reply With Quote
  #11  
Old 09-10-2015, 08:55 PM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
The problem isn't transcoding speed- presumably if we ran x264 with the same parameters it would run at the same speed- the problem is latency. The new(ish) Plex transcoder and experimental player seemed to dramatically reduce latency. At least, it did for me on Android.
Reply With Quote
  #12  
Old 09-15-2015, 10:22 AM
fidget's Avatar
fidget fidget is offline
Sage Icon
 
Join Date: Jun 2003
Location: Cedar Rapids, Iowa, USA
Posts: 1,186
From reading this article, the basic SageTV UI may not be too difficult. I would like to know what the AppleTV can decode in hardware, though.
__________________
Server: i5-2405S (4 core @ 2.5 GHz), 8GB RAM, NORCO RPC-4220 4U case
Tuners: 2 SiliconDust HDHomeRun , 2 Hauppauge HD-PVR Connected to 1 Pace700X and 1 TiVo Series 4
DVD Storage: 24 TB
TV Storage: 11 TB (4x1.5TB for recording, 5TB for archive)
Clients: 3
SageTV Extenders:5
Reply With Quote
  #13  
Old 09-15-2015, 10:42 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by fidget View Post
From reading this article, the basic SageTV UI may not be too difficult. I would like to know what the AppleTV can decode in hardware, though.
Related to the article... i think NOT allowing any form of local storage, even for caching, is a mistake. Forcing you to use icloud for any type of data peristence, means your device always requires an internet connection, so forget about packing it up and bringing it somewhere remote.

Other than that, the TVML looks interesting... I posted a thread many years ago on this forum about why not just use HTML+CSS for a media center UI... At that time, it was almost impossible given the architecture of the time... but today, using xml+javascript is possible, and not a bad idea to quickly and an easily get simpler apps off the ground.
Reply With Quote
  #14  
Old 09-21-2015, 09:38 AM
Vaskill Vaskill is offline
Sage User
 
Join Date: Feb 2007
Location: Ottawa, ON
Posts: 70
Quote:
Originally Posted by stuckless View Post
Related to the article... i think NOT allowing any form of local storage, even for caching, is a mistake. Forcing you to use icloud for any type of data peristence, means your device always requires an internet connection, so forget about packing it up and bringing it somewhere remote.

Other than that, the TVML looks interesting... I posted a thread many years ago on this forum about why not just use HTML+CSS for a media center UI... At that time, it was almost impossible given the architecture of the time... but today, using xml+javascript is possible, and not a bad idea to quickly and an easily get simpler apps off the ground.
Just so we are clear, based on my research to date (some may be hazy):
AppleTV will:
1) allow the use of local keystore
2) allow the use of up to 1MB in local storage
3) allow the use of up to 200MB in app container (of course includes binaries)
4) has same old stream caching (it would never work without this IMHO)
5) allows local temporary storage in the form of cache, etc. that may not be lost until the system needs the space or is rebooted
6) can use third party and older Mac/AppleTV IR remotes for basic functions (basic = no siri; no gesture or motion)

I have started to storyboard an AppleTV prototype that would support the basic functions of Guide, Recordings, Search.

I will likely will be using the same API/WebServices that the Sage Web interface uses to get basic streaming and control.

It has be over a decade since I have done any hands on programming so this might take a bit.
Reply With Quote
  #15  
Old 09-21-2015, 09:45 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
I'm planning on working to get the MiniClient ported to iOS
__________________
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
Reply With Quote
  #16  
Old 09-21-2015, 10:56 AM
Vaskill Vaskill is offline
Sage User
 
Join Date: Feb 2007
Location: Ottawa, ON
Posts: 70
Quote:
Originally Posted by Taddeusz View Post
I'm planning on working to get the MiniClient ported to iOS
I would be very interested in that approach too, but am worried a straight port and interface shift might be awkward (also beyond my old programming skills :roll eyes. I think there is room for both approaches and hope we can collaborate
Reply With Quote
  #17  
Old 09-21-2015, 12:48 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
I was hoping to be completely Swift but Google wrote j2objc. Going to try and convert MiniClient with it.
__________________
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
Reply With Quote
  #18  
Old 09-21-2015, 12:53 PM
Vaskill Vaskill is offline
Sage User
 
Join Date: Feb 2007
Location: Ottawa, ON
Posts: 70
j2objc sounds like an interesting approach... certainly willing to help test as well.
Reply With Quote
  #19  
Old 09-21-2015, 05:38 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
The other option, while maybe painful from the start, might be to use the miniclient.jar as inspiration, but write the apple version from scratch. the actual placeshifter protocol is not incredibly complicated, and writing native for iOS may end up with a much better result in the end.
__________________
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
  #20  
Old 09-22-2015, 07:10 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Vaskill View Post
j2objc sounds like an interesting approach... certainly willing to help test as well.
Quote:
Originally Posted by Fuzzy View Post
The other option, while maybe painful from the start, might be to use the miniclient.jar as inspiration, but write the apple version from scratch. the actual placeshifter protocol is not incredibly complicated, and writing native for iOS may end up with a much better result in the end.
While the placeshifter protocol is not overly complicated, it's by no means trivial. And certainly, the rendering part is very complicated, especially if you don't know OpenGL (which I don't -- very well)

Depending on how you feel about writing in Java... you can leverage the existing Java code. RoboVM will take java byte code and transpile it into native iOS instruction code.

In the project that I'm using.. There is a "core" project that contains all the vanilla sagetv io and processing, and there is an "android" project. The Android project is quite small, since it only has to create a server selector, and then a Rendering view to render the client. All the "real" work happens in the Core, and it delegates the rendering to the hardware specific Renderer. I was using this setup to do most of my testing on a PC before moving on to an Android specific implementation.

It is possible to create an "ios" project with the specific implementation for IOS and leverage all the shared code, from the "core". The RoboVM bindings have all the NS widget bindings so you can create a native UI from Java code. What you would need to do natively, is build a Server Selector view, and then a GL Rendering view that implements in the Rendering interface (and obviously pull it together by setting up and tearing down the views, etc). (Still not trivial, but you are shielded from all the sagetv communication code, etc)

In this scenario... this is not Java running on a VM running on iOS... this is native arm code running on iOS, directly on the CPU, no VM at all.

If you don't know Java but you do know Obj-C... then maybe j2objc would be a better choice.
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
PlaceShifter on AppleTV? ptaylor SageTV Placeshifter 21 04-09-2011 07:03 PM
AppleTV Plucky's Take PLUCKYHD General Discussion 14 12-05-2010 12:25 PM
No MP4/AppleTV Converting? sandor SageTV Beta Test Software 2 12-24-2008 11:15 AM
Has AppleTV conversion on 6.4.8 changed? Gabriel SageTV Software 9 10-13-2008 10:36 AM
New Appletv Compression Profile fyodor SageTV Beta Test Software 0 08-09-2007 09:09 AM


All times are GMT -6. The time now is 02:33 PM.


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