SageTV Community  

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

Notices

SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-13-2018, 12:10 PM
bigbill's Avatar
bigbill bigbill is offline
Sage Expert
 
Join Date: Dec 2006
Location: San Diego, California
Posts: 510
HDx00 and HEVC video

I am putting this out there again... Has anyone figured out a way to playback the newest video format, HEVC h.265 on our existing HD200/300 boxes?

I have bought a Mibox and Shield and personally they are still not as good as the existing clients. Mainly its the substandard remotes that make the WAF a no go. Buying a $100 remote seems like a waste, but I may eventually have to break down. The HD200's just work...

-Bill
__________________
Home DVR: SageTV v9.2.6(64)
i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's
RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit
Reply With Quote
  #2  
Old 11-13-2018, 12:54 PM
phantomii phantomii is offline
Sage Advanced User
 
Join Date: Mar 2009
Location: North Carolina
Posts: 226
On the remote side of your comment, I use this remote with Several different boxes including the shield and it works pretty well. Just an fyi....

https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1
Reply With Quote
  #3  
Old 11-13-2018, 04:10 PM
bigbill's Avatar
bigbill bigbill is offline
Sage Expert
 
Join Date: Dec 2006
Location: San Diego, California
Posts: 510
Quote:
Originally Posted by phantomii View Post
On the remote side of your comment, I use this remote with Several different boxes including the shield and it works pretty well. Just an fyi....

https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1
I thought the Shield needed Bluetooth to work? I know IR doesn't work with it. That remote doesn't say it has bluetooth? I have a fairly new Dec 2017 shield. Is the description just missing that and it really has BT? -Bill
__________________
Home DVR: SageTV v9.2.6(64)
i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's
RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit
Reply With Quote
  #4  
Old 11-13-2018, 05:41 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by bigbill View Post
I thought the Shield needed Bluetooth to work? I know IR doesn't work with it. That remote doesn't say it has bluetooth? I have a fairly new Dec 2017 shield. Is the description just missing that and it really has BT? -Bill
That remote basically emulates a wifi keyboard (it has a usb dongle).
Reply With Quote
  #5  
Old 11-14-2018, 08:40 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by bigbill View Post
I am putting this out there again... Has anyone figured out a way to playback the newest video format, HEVC h.265 on our existing HD200/300 boxes?
This would be a pretty big code change.

Currently, I don't believe that SageTV transcodes anything for a LAN connected media extender. Also, SageTV doesn't currently even recognize HEVC encoded video. Finally ffmpeg would need to be updated to a version that supports decoding HEVC video.

When laid out like that it sounds simple but it would actually be a pretty big project.
__________________
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 11-14-2018, 01:23 PM
routerunner's Avatar
routerunner routerunner is offline
Sage Icon
 
Join Date: May 2008
Location: Wiltshire, UK
Posts: 1,384
Quote:
Originally Posted by bigbill View Post
I am putting this out there again... Has anyone figured out a way to playback the newest video format, HEVC h.265 on our existing HD200/300 boxes?
In short, it's not possible natively on the existing hardware.

In very simplistic terms, what could be done is find an evaluation board that uses the SMP8762 from Signa Designs which you can likely run Linux on it, then you need access to the miniclient source code (short way) and write a new HAL using the new sigma design software libraries (you need to sign a NDA for that) or because STV is open source re-implement the miniclient using the known protocol (very long way), alternatively get an existing set-top box capable of HEVC that runs Android and run the stuckless STV miniclient app (the current best possible option).

Cheers
Eddy
__________________

Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll


Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard
Reply With Quote
  #7  
Old 11-14-2018, 02:14 PM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Quote:
Originally Posted by routerunner View Post
In short, it's not possible natively on the existing hardware.

In very simplistic terms, what could be done is find an evaluation board that uses the SMP8762 from Signa Designs which you can likely run Linux on it, then you need access to the miniclient source code (short way) and write a new HAL using the new sigma design software libraries (you need to sign a NDA for that) or because STV is open source re-implement the miniclient using the known protocol (very long way), alternatively get an existing set-top box capable of HEVC that runs Android and run the stuckless STV miniclient app (the current best possible option).

Cheers
Eddy
Hi Eddy you do know that as of July 2018 Sigma Designs RIP it was liquidates after a failed merger.
Reply With Quote
  #8  
Old 11-14-2018, 02:24 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by Taddeusz View Post
This would be a pretty big code change.

Currently, I don't believe that SageTV transcodes anything for a LAN connected media extender. Also, SageTV doesn't currently even recognize HEVC encoded video. Finally ffmpeg would need to be updated to a version that supports decoding HEVC video.

When laid out like that it sounds simple but it would actually be a pretty big project.
I agree that it isn't possible on existing HDX00 miniclients, at least not without transcoding.

But you say that SageTV doesn't currently even recognize HEVC encoded video - I though that some folks have had HEVC (or at lest 4K) playback working on SageTV running on PCs.
__________________
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 11-14-2018, 02:30 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by wayner View Post
I agree that it isn't possible on existing HDX00 miniclients, at least not without transcoding.

But you say that SageTV doesn't currently even recognize HEVC encoded video - I though that some folks have had HEVC (or at lest 4K) playback working on SageTV running on PCs.
Yes, devices that have native HEVC support will play those files without issue. SageTV itself does not recognize the "h265" HEVC fourcc code and doesn't display the correct codec.
__________________
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
  #10  
Old 11-14-2018, 02:31 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
In other words with LAN connected miniclients like the HDx00's or an Android Miniclient SageTV just throws the file at the client and it will either play it or not.
__________________
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 11-14-2018, 02:40 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by Taddeusz View Post
Yes, devices that have native HEVC support will play those files without issue. SageTV itself does not recognize the "h265" HEVC fourcc code and doesn't display the correct codec.
Does that mean that the Shield and other ATV devices will play back these files? Or just PC based "full" clients?
__________________
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
  #12  
Old 11-14-2018, 02:44 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by wayner View Post
Does that mean that the Shield and other ATV devices will play back these files? Or just PC based "full" clients?
Either one. I've actually tried playback on a full client. As long as you have a compatible codec playback works.
__________________
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
  #13  
Old 11-14-2018, 03:15 PM
poto poto is offline
Sage User
 
Join Date: May 2013
Location: 29349
Posts: 46
Wink

Quote:
Originally Posted by bigbill View Post
I am putting this out there again... Has anyone figured out a way to playback the newest video format, HEVC h.265 on our existing HD200/300 boxes?

I have bought a Mibox and Shield and personally they are still not as good as the existing clients. Mainly its the substandard remotes that make the WAF a no go. Buying a $100 remote seems like a waste, but I may eventually have to break down. The HD200's just work...

-Bill
There have been a couple of previous discussions:

https://forums.sagetv.com/forums/showthread.php?t=65260
https://forums.sagetv.com/forums/showthread.php?t=64595

Reading between the lines, it sounds possible, but not a priority for the remaining developers.

The way forward seems to be mainly Unraid-hosted docker v9.xxx served to linux mini-client. As server-side transcoding seems to be a pretty big project, I can understand reluctance to invest effort that only benefits legacy clients (although I wonder if that would allow wider range of newer clients?).

Either way, I also would appreciate that ability!
Reply With Quote
  #14  
Old 11-14-2018, 03:28 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by poto View Post
There have been a couple of previous discussions:

https://forums.sagetv.com/forums/showthread.php?t=65260
https://forums.sagetv.com/forums/showthread.php?t=64595

Reading between the lines, it sounds possible, but not a priority for the remaining developers.

The way forward seems to be mainly Unraid-hosted docker v9.xxx served to linux mini-client. As server-side transcoding seems to be a pretty big project, I can understand reluctance to invest effort that only benefits legacy clients (although I wonder if that would allow wider range of newer clients?).

Either way, I also would appreciate that ability!
For SageTV to survive in any meaningful way it's going to have to eventually be modernized. To be blunt, otherwise it's going to be a dead end.
__________________
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
  #15  
Old 11-14-2018, 03:29 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
The other thing that we need is encoders that can encode 4K TV from cable/satellite boxes. This should be doable as there are 4K versions of the BM1000 type encoders that are available. There are types that do H.264 2160p and others that do H.265 2160p. But I don't think anyone has tried them yet.
__________________
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
  #16  
Old 11-14-2018, 03:37 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by Taddeusz View Post
For SageTV to survive in any meaningful way it's going to have to eventually be modernized. To be blunt, otherwise it's going to be a dead end.
What parts need to be modernized? Assuming that these clients can playback 4K/2160p/HEVC files then that part is done.

Do you mean the UI?
Ability to record 4K/2160p?
Ability to play streaming content like Netflix, Amazon, etc?
__________________
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
  #17  
Old 11-14-2018, 03:57 PM
routerunner's Avatar
routerunner routerunner is offline
Sage Icon
 
Join Date: May 2008
Location: Wiltshire, UK
Posts: 1,384
Quote:
Originally Posted by SHS View Post
Hi Eddy you do know that as of July 2018 Sigma Designs RIP it was liquidates after a failed merger.
Brilliant! They might throw away stuff for free . No, I didn't know about it.

Two years ago I was on a contract at Ericsson TV and I was developing software models for their new HEVC hardware encoder/decoder chip and after about 8 months a new CEO came on board and the first thing he did was to can the project, short story, all hardware engineers were made redundant as well as all software contractors including myself, he's main excuse was that nowadays everything can be done on software as computers are so powerful that dedicated hardware encoder/decoder are no longer required, such an a.....e

Cheers
Eddy
__________________

Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll


Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard
Reply With Quote
  #18  
Old 11-14-2018, 04:02 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by routerunner View Post
Two years ago I was on a contract at Ericsson TV and I was developing software models for their new HEVC hardware encoder/decoder chip and after about 8 months a new CEO came on board and the first thing he did was to can the project, short story, all hardware engineers were made redundant as well as all software contractors including myself, he's main excuse was that nowadays everything can be done on software as computers are so powerful that dedicated hardware encoder/decoder are no longer required, such an a.....e
That is pretty short-sighted. I have to think that every mobile phone on the market has specialized hardware for encoding/decoding, don't they?
__________________
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
  #19  
Old 11-14-2018, 04:08 PM
routerunner's Avatar
routerunner routerunner is offline
Sage Icon
 
Join Date: May 2008
Location: Wiltshire, UK
Posts: 1,384
Quote:
Originally Posted by wayner View Post
That is pretty short-sighted. I have to think that every mobile phone on the market has specialized hardware for encoding/decoding, don't they?
That's right for decoding, encoding is very CPU intensive, but you must bear in mind that the project I was working on was on the production side not on the consumer side. Basically on video broadcast grade machines able to encode real-time multiple AV streams and multiplex for distribution to home users, in very short terms.

Eddy
__________________

Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll


Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard

Last edited by routerunner; 11-14-2018 at 04:12 PM.
Reply With Quote
  #20  
Old 11-14-2018, 04:13 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by wayner View Post
What parts need to be modernized? Assuming that these clients can playback 4K/2160p/HEVC files then that part is done.

Do you mean the UI?
Ability to record 4K/2160p?
Ability to play streaming content like Netflix, Amazon, etc?
Relating to this thread the ability to recognize and transcode HEVC video to incompatible devices. Proabably also being able to recognize 2K or 4K resolutions.

Another primary goal should be to change Placeshifter transcoding from MPEG4 (Part 2) to H.264 (MPEG4 Part 10) video and support transcoding up to 1080p. At the time MPEG4 was chosen because CPU's weren't as powerful and was limited to SD or lower resolutions. None of that makes sense now, it needs modernization.

Aside from that, the in-memory database has served SageTV well so far. However, I could argue that because it is in-memory it can't scale well. You can throw as much memory at it as you can by moving to 64-bit but that will only get you so far. Another advancement since SageTV was originally conceived has been in databases. Database latency isn't nearly the problem it once was.
__________________
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
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
HEVC (H.265) playback possible? jughead SageTV Software 29 11-17-2019 10:18 PM
4K HEVC success belleaudb SageTV Software 17 04-01-2019 04:18 PM
ATSC 3.0 4K HEVC tuner (is there one?) Deacon Crusher Hardware Support 7 11-19-2017 06:36 PM
Video playback - H.265/HEVC mlcarson SageTV Software 8 11-06-2016 12:21 AM
HEVC video codec and keeping SageTV alive cat6man General Discussion 21 02-17-2016 11:04 AM


All times are GMT -6. The time now is 12:53 PM.


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