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
  #21  
Old 03-29-2016, 05:35 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Sounds like it maintains video levels, which is correct for a TV, but often not desirable for a PC monitor.
Reply With Quote
  #22  
Old 03-29-2016, 07:27 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by stanger89 View Post
Sounds like it maintains video levels, which is correct for a TV, but often not desirable for a PC monitor.
AFAIK, computers only output full RGB. Not sure there's a way for a computer to output the restricted color gamuts of NTSC or ATSC.
__________________
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
  #23  
Old 03-29-2016, 07:58 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
There's no difference to the signal between limited and full, it's all about how it's used/interpreted. And we're not talking gamut here (RGB xy coordinates), we're talking levels (what black and white are).

Video defines black at 16 and white at 235, PCs (Windows desktop, etc) set black to 0 and white to 255. The difference is just in how you calibrate it. Most displays (non-computer) have a setting to pick RGB Limted (16-235) or RGB Full (0-255). If all you're doing is video, ideally you calibrate to RGB Limited as that is how video is produced.

If you're using a PC monitor it's probably better to go RGB Full and set the decoders/renderer to expand video to RGB Full (I know madVR has that option, I think LAV decoders do as well).

If you've got some mixed system, it's more complicated.
Reply With Quote
  #24  
Old 04-01-2016, 08:31 PM
SageWizdom SageWizdom is offline
Sage Advanced User
 
Join Date: Oct 2013
Location: https://github.com/SageWizdom/SageConnect
Posts: 216
Quote:
Originally Posted by Narflex View Post
Modifying the placeshifter client to also have the same full DirectShow playback capabilities as the full client (when you're not transcoding placeshifted video) isn't all that hard to do actually. The reason we never did it was because it didn't seem like that problem needed to be solved...if you're on your LAN and want good Windows playback; then use the full client. If you're remote; then you likely need stuff transcoded due to bandwidth limitations...so use the Placeshifter (and video quality is already compromised due to transcoding, so not much point in going all out with the media player).

But if people really have an interest in making the Windows Placeshifter playback video in high quality on a LAN like the full client does...then go for it...I can provide all the advice you need to do it. The main thing missing is that when you change the decoder settings and such in the UI; those are done in the properties on the server...which the placeshifter client has no access to...but it likely wouldn't be that hard to include a mechanism that solves that problem (where the placeshifter client can query the server for config settings).
Do you think this would also work on a Mac? I'm assuming that the Mac is not using DirectShow, but some similar capability. This might scratch some OSX itches. I could also see this on other embedded systems where it might be easier to port the mini-client.

As a side question:
Out of curiosity what prevents us from updating the HD300 firmware? I know we can not recompile certain sources, but could we update the Sage-CDC.jar with the newest code and have it use the existing compiled .so library binaries?
__________________
Server: Centos Server 14.04 LTS - 64Bit, VM in XenServer, 2 cores of a Intel i7, 2-4 GB Ram, 8 GB system Disk, 1.8 TB storage, SageTV V9.0.4.232, HDHR Prime x 1

Clients: PC Client x 1, HD-300 x 1, AppleTV x 2, WebClient (phone/tablet) x 3
Reply With Quote
  #25  
Old 04-04-2016, 11:09 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by SageWizdom View Post
Do you think this would also work on a Mac? I'm assuming that the Mac is not using DirectShow, but some similar capability. This might scratch some OSX itches. I could also see this on other embedded systems where it might be easier to port the mini-client.
On Mac, the media players we had were for Live mode (i.e. live pass through on some capture cards), DVD playback (Mac had support for that) and then MPlayer handled the rest. So you wouldn't be gaining much on Mac at all because MPlayer would still do basically all of your media playback.

Quote:
Originally Posted by SageWizdom View Post
As a side question:
Out of curiosity what prevents us from updating the HD300 firmware? I know we can not recompile certain sources, but could we update the Sage-CDC.jar with the newest code and have it use the existing compiled .so library binaries?
You are correct; there is nothing stopping someone from updating the firmware with a new Sage-CDC.jar. The main problem is that the current GitHub codebase is not compatible with that environment. We actually had a fork of the SageTV codebase that was compiled for it...which went through a few iterations. Initially it removed all 'float' operations because there was no FPU on the HD200...then we got rid of that problem on the HD300; but the CVM (embedded JVM we used) doesn't have AWT libs and is also only Java 1.4 compliant. Later I did figure out a way around the AWT problem (it doesn't need to actually use AWT for anything; but it does need to resolve the classes...so I ended up making a set of classes that satisfied all these dependencies later which I could release if needed). But there's now a fair amount of 1.5 constructs in the code...so I don't think it can be compiled for 1.4 anymore (there are 2 different javac params for source level and compiled level; but unless they changed something, they always needed to be the same value in the past so you couldn't compile 1.5 code for 1.4 targets, even if the only incompatibility was the simplified for loops and templates and you didn't even use any 1.5 library calls).

And to update the JAR file you don't even need a new firmware...there's way to do it without that through the 'startupmods' script that it supports on the HD300 (it allows execution of scripts at startup from flash, so you can just mount a new JAR file over the existing one that way).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #26  
Old 04-04-2016, 12:33 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Narflex View Post
On Mac, the media players we had were for Live mode (i.e. live pass through on some capture cards), DVD playback (Mac had support for that) and then MPlayer handled the rest. So you wouldn't be gaining much on Mac at all because MPlayer would still do basically all of your media playback.



You are correct; there is nothing stopping someone from updating the firmware with a new Sage-CDC.jar. The main problem is that the current GitHub codebase is not compatible with that environment. We actually had a fork of the SageTV codebase that was compiled for it...which went through a few iterations. Initially it removed all 'float' operations because there was no FPU on the HD200...then we got rid of that problem on the HD300; but the CVM (embedded JVM we used) doesn't have AWT libs and is also only Java 1.4 compliant. Later I did figure out a way around the AWT problem (it doesn't need to actually use AWT for anything; but it does need to resolve the classes...so I ended up making a set of classes that satisfied all these dependencies later which I could release if needed). But there's now a fair amount of 1.5 constructs in the code...so I don't think it can be compiled for 1.4 anymore (there are 2 different javac params for source level and compiled level; but unless they changed something, they always needed to be the same value in the past so you couldn't compile 1.5 code for 1.4 targets, even if the only incompatibility was the simplified for loops and templates and you didn't even use any 1.5 library calls).

And to update the JAR file you don't even need a new firmware...there's way to do it without that through the 'startupmods' script that it supports on the HD300 (it allows execution of scripts at startup from flash, so you can just mount a new JAR file over the existing one that way).
Is the HD300 ARM based? Oracle has Java 8 builds for ARM... do you think it would be possible to update the CVM to use standard Java 8 JVM, even on the HD300.

As we move forward in the code, I see no reason to keep the java version to 1.5. That would be incredibly limiting from a development point of view... Most developers are annoyed that Android only has limited support for Java 1.7 (that will change soon), so, I can't even imagine being forced to target 1.5 (I'm pretty sure Phoenix has 1.7 min requiremement). I wonder if tools like Retroweaver might be another way to go for this. (basically does bytecode manipulation to enable 1.5 compiled code to run on 1.4 jvm)

EDIT:
- Did the original source drop contain build files for rebuilding the Sage-CDC jar? I don't recall seeing that. Might be worth posting it, if not.
Reply With Quote
  #27  
Old 04-04-2016, 09:52 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
Is the HD300 ARM based? Oracle has Java 8 builds for ARM... do you think it would be possible to update the CVM to use standard Java 8 JVM, even on the HD300.

As we move forward in the code, I see no reason to keep the java version to 1.5. That would be incredibly limiting from a development point of view... Most developers are annoyed that Android only has limited support for Java 1.7 (that will change soon), so, I can't even imagine being forced to target 1.5 (I'm pretty sure Phoenix has 1.7 min requiremement). I wonder if tools like Retroweaver might be another way to go for this. (basically does bytecode manipulation to enable 1.5 compiled code to run on 1.4 jvm)

EDIT:
- Did the original source drop contain build files for rebuilding the Sage-CDC jar? I don't recall seeing that. Might be worth posting it, if not.
What are you actually wanting to change on the HD300 though? I think it already plays back all the formats that the hardware can support, and it renders the UI as good as it can. I see no reason we'd have to touch the HD300's code at all at this point (especially since it is not being manufactured).
__________________
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
  #28  
Old 04-05-2016, 05:06 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
What are you actually wanting to change on the HD300 though? I think it already plays back all the formats that the hardware can support, and it renders the UI as good as it can. I see no reason we'd have to touch the HD300's code at all at this point (especially since it is not being manufactured).
Personally, for me, nothing. But, that's not to say others won't want to upgrade the java layer, etc. For me, my efforts will be strictly Android... But I'd hate to see us stick with java 1.5 code requirement, just because of the HD300, which is why I asked about it's capabilities of running newer java versions.
Reply With Quote
  #29  
Old 04-05-2016, 10:12 AM
trk2 trk2 is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Maine
Posts: 499
Quote:
Originally Posted by Fuzzy View Post
What are you actually wanting to change on the HD300 though? I think it already plays back all the formats that the hardware can support, and it renders the UI as good as it can. I see no reason we'd have to touch the HD300's code at all at this point (especially since it is not being manufactured).
Forced subtitles on MKV files
Reply With Quote
  #30  
Old 04-05-2016, 12:24 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
The HD300 is a MIPS platform...that's problematic for finding another JVM.

And I did not release the code for rebuilding the JAR on the HD300 because it would have been a whole other codebase for me to go through and cleanup and check to make sure it was all OK for redistribution...and the SageTV codebase we did release already took me months of work to prepare...so I'm not inclined to do it again without a really good reason.

I really don't see that much reason to update the JAR on the HD300 because that would really only matter for standalone mode; and basically everyone uses it as an extender...and in that mode that Java code is doing nothing on the HD300.

As for forced subs in MKVs...that can be fixed entirely on the server side and requires no changes to the HD300 firmware (as I commented in the bug that was created for it in GitHub).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #31  
Old 04-05-2016, 05:31 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Jeff, is the hardware/firmware on the HD300 capable of h.265? I see one or two cable companies moving to h.264, which it handles fine, but I wonder about upgrades to h.265. Maybe that's years off yet.
Reply With Quote
  #32  
Old 04-05-2016, 05:52 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by KryptoNyte View Post
Jeff, is the hardware/firmware on the HD300 capable of h.265? I see one or two cable companies moving to h.264, which it handles fine, but I wonder about upgrades to h.265. Maybe that's years off yet.
The SOC that's in the HD300 was created way before H.265 ever existed. So no, it's not capable of H.265 decoding.
__________________
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
  #33  
Old 04-05-2016, 06:32 PM
SageWizdom SageWizdom is offline
Sage Advanced User
 
Join Date: Oct 2013
Location: https://github.com/SageWizdom/SageConnect
Posts: 216
Quote:
Originally Posted by Narflex View Post
And I did not release the code for rebuilding the JAR on the HD300 because it would have been a whole other codebase for me to go through and cleanup and check to make sure it was all OK for redistribution...and the SageTV codebase we did release already took me months of work to prepare...so I'm not inclined to do it again without a really good reason.
More just curiosity, I wasn't sure if it was any or partially the same build (or level of effort to take that build and put on another platform).

Quote:
Originally Posted by Narflex View Post
... basically everyone uses it as an extender...
Right. Good point.
__________________
Server: Centos Server 14.04 LTS - 64Bit, VM in XenServer, 2 cores of a Intel i7, 2-4 GB Ram, 8 GB system Disk, 1.8 TB storage, SageTV V9.0.4.232, HDHR Prime x 1

Clients: PC Client x 1, HD-300 x 1, AppleTV x 2, WebClient (phone/tablet) x 3
Reply With Quote
  #34  
Old 04-05-2016, 06:33 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I believe that SoC is a Sigma Designs SMP8654 which appears to have been released in 2008.
__________________
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
  #35  
Old 04-06-2016, 09:13 AM
Galaxysurfer Galaxysurfer is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: Calgary, AB CANADA
Posts: 396
umplayer

not sure of the differences in code but maybe umplayer can help the cause? http://www.umplayer.com/ might be worth a checkout.
Reply With Quote
  #36  
Old 04-06-2016, 12:02 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
The HD300 chipset does not support H.265 (and there's no hope of it ever since that chipset is outdated and Sigma would never update it to add that support).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #37  
Old 04-06-2016, 12:07 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Narflex View Post
The HD300 chipset does not support H.265 (and there's no hope of it ever since that chipset is outdated and Sigma would never update it to add that support).
Here's a loaded question for you... If you were pick a hardware platform, today, to replace the HD300, what you would choose? and why?
Reply With Quote
  #38  
Old 04-07-2016, 11:05 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by stuckless View Post
Here's a loaded question for you... If you were pick a hardware platform, today, to replace the HD300, what you would choose? and why?
I have no idea...I haven't looked into options in awhile (other people on Fiber handle chipset selection). The main drivers before (at SageTV) revolved around codec support and also finding an ODM who could provide us with a complete hardware product that had the capabilities we wanted regarding outputs and codec licensing. (and then also once we started using SigmaDesigns chipsets we wanted to keep using them)
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #39  
Old 04-08-2016, 01:47 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
Here's a loaded question for you... If you were pick a hardware platform, today, to replace the HD300, what you would choose? and why?
Some already consumer available product - like a FireTV.. ;-)
__________________
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
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
Suddenly getting frequent disconnections on client. Any ideas? silkshadow SageTV Software 8 10-29-2013 12:51 AM
Interesting potential client platform drewg General Discussion 3 09-06-2013 12:38 PM
Cross Link Metadata Issue cmaloney SageTV Beta Test Software 11 08-10-2010 08:46 PM
Comskip works on server, not on client. Ideas? EdwardN SageTV Customizations 21 05-07-2006 06:43 PM
Using Full SageTV as Client backsix SageTV Software 8 05-17-2005 10:32 AM


All times are GMT -6. The time now is 02:08 AM.


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