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 08-12-2015, 12:43 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by Narflex View Post
Yes! Great point. You can easily upgrade from SageTV 7 to the open source version by doing just 2 things.

1. Replace the Sage.jar with the one built from the OS code
2. Put the lucene-core-3.6.0.jar file in your JARs folder

You can download the lucene file from here:

https://github.com/google/sagetv/blo...core-3.6.0.jar

And then click on the RAW button to get it to actually download the file for you.
But is there a new STV file that makes use of any of the new stuff?
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #22  
Old 08-12-2015, 03:08 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by Tiki View Post
But is there a new STV file that makes use of any of the new stuff?
Most of the stuff in there which would relate to the UI (more imagery, actor details, etc.) is stuff that was on the Google Fiber EPG server...and is not on the SageTV EPG Server..so you won't be able to make much use of it unless someone can create another EPG plugin that can get that kind of data (I'm not sure exactly how, but I figured I'd leave it in there just in case). So there's no newer STV since there wasn't really much other functionality to expose.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #23  
Old 08-12-2015, 03:37 PM
Stu Gare Stu Gare is offline
Sage User
 
Join Date: May 2008
Location: Cambridge UK
Posts: 49
Did I read somewhere that v8 ran each extender in its own jvm? I recall something mentioned but I could easily have misunderstood. If they do run in their own jvm is this available in v9 ? Would address a lot of contiguous mem problems when running multiple HD300s concurrently.
__________________
1 SageTV Server (v9) ,
3 HD300,
2HD200,
HD-HOMERUN CONNECT(2xDVB-T2)x2,
1 HD-PVR2 (Gaming Edition)/SKY HD,
QNAP NAS
Reply With Quote
  #24  
Old 08-12-2015, 08:25 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by Narflex View Post
Most of the stuff in there which would relate to the UI (more imagery, actor details, etc.) is stuff that was on the Google Fiber EPG server...and is not on the SageTV EPG Server..so you won't be able to make much use of it unless someone can create another EPG plugin that can get that kind of data (I'm not sure exactly how, but I figured I'd leave it in there just in case). So there's no newer STV since there wasn't really much other functionality to expose.
That's too bad. I think a lot of people were hoping for something new (I know a few people have posted screen shots of the Google Fiber TV ("Sage 8") with new guide layout, new color scheme, etc.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #25  
Old 08-12-2015, 09:37 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by Stu Gare View Post
Did I read somewhere that v8 ran each extender in its own jvm? I recall something mentioned but I could easily have misunderstood. If they do run in their own jvm is this available in v9 ? Would address a lot of contiguous mem problems when running multiple HD300s concurrently.
See Jeff's response here: http://forums.sagetv.com/forums/showthread.php?t=62321
__________________
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
  #26  
Old 08-13-2015, 05:01 AM
scoful's Avatar
scoful scoful is offline
Sage Aficionado
 
Join Date: Jun 2006
Location: Lawrence, Kansas
Posts: 373
I know this is a very hackish suggestion, but...

Quote:
Originally Posted by Narflex View Post
The ffmpeg/mplayer versions in SageTV have a fair amount of modifications done to them. It's not really a trivial task to upgrade them...some of the changes were bug fixes, some feature adds for metadata output or placeshifting rate control, and some of other various features (like optimizing thumbnail selection).

It would be great to get it back up to speed with the current versions of each...but that is going to be a lot of work for someone with lots of potential for breakage relating to SageTV (it does expect specific formatting of data when using ffmpeg to parse non-mpeg media files or extract their metadata).
As a workaround would it be possible to use both versions - the original variant for placeshifting/metadata scraping and the new version for playback?
__________________
SageTV 9 / 3 SageTV Clients / Ceton InfiniTV 6 / ComSkip
Reply With Quote
  #27  
Old 08-13-2015, 06:49 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
You know, looking through the changelog and comparing it to the ffmpeg git, it appears the current sagetv branch of ffmpeg was forked off after the Jan 21, 2008 commit. Should provide a good basis for diff'ing out the changes that were made. It appears that the most major changes were to accept commands via stdin to change the bitrate during the encoding (used for placeshifter's dynamic rate control) and to dump metadata to stderr.
__________________
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 08-13-2015, 06:57 AM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
Quote:
Originally Posted by Narflex View Post
Yes! Great point. You can easily upgrade from SageTV 7 to the open source version by doing just 2 things.

1. Replace the Sage.jar with the one built from the OS code
2. Put the lucene-core-3.6.0.jar file in your JARs folder
After replacing these two files, will Sage still be able to pull data from the epg server? I have a V7 licensed installation.
Reply With Quote
  #29  
Old 08-13-2015, 07:04 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
You know, looking through the changelog and comparing it to the ffmpeg git, it appears the current sagetv branch of ffmpeg was forked off after the Jan 21, 2008 commit. Should provide a good basis for diff'ing out the changes that were made. It appears that the most major changes were to accept commands via stdin to change the bitrate during the encoding (used for placeshifter's dynamic rate control) and to dump metadata to stderr.
Where I was going with this... when I started the discussion was really to see if we couldn't create a .patch of the differences and then store the patch file. Then we could try upgrading to a new ffmpeg and apply the patch during the build process so that we are always using a vanilla ffmpeg stream, that we patch. The problem of course, is without knowing the very specific build that was used for sagetv, then creating that initial patch will be hard
Reply With Quote
  #30  
Old 08-13-2015, 07:11 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
You should be able to git that date in ffmpeg source, copy over the sage modified source, and it should detect the changes sage made, correct?
__________________
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
  #31  
Old 08-13-2015, 07:11 AM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by gdippel View Post
After replacing these two files, will Sage still be able to pull data from the epg server? I have a V7 licensed installation.
Think jm9843 summarized what is needed here from several different posts that Narflex made: http://forums.sagetv.com/forums/show...&postcount=177
__________________
"Keep your goals away from the trolls"
Reply With Quote
  #32  
Old 08-13-2015, 07:25 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
You should be able to git that date in ffmpeg source, copy over the sage modified source, and it should detect the changes sage made, correct?
Ideally, yeah. After doing that, you can then run

git status

and see what is modified/added as a result, and then build a patch (requires more steps for that).

But once you have the patch, then you can use git to apply the patch to new version and see what happens
Reply With Quote
  #33  
Old 08-13-2015, 08:59 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
There have been a LOT of changes since 2008...
__________________
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
  #34  
Old 08-13-2015, 09:03 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
There have been a LOT of changes since 2008...
Yeah, but initially we are only concerned about the diff/patch from 2008 and that state of the files in SageTV... i would think that would be a much smaller diff.
Reply With Quote
  #35  
Old 08-13-2015, 09:24 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
Yeah, but initially we are only concerned about the diff/patch from 2008 and that state of the files in SageTV... i would think that would be a much smaller diff.
Oh of course, it's not very big at all. I was more stating that the likely hood of said patch working on a current build is probably pretty slim.
__________________
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
  #36  
Old 08-13-2015, 09:59 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
Oh of course, it's not very big at all. I was more stating that the likely hood of said patch working on a current build is probably pretty slim.
I agree. It would get nice if it did just work, and git is exceptionally good at patching.

But if it doesn't then I'd to find a release where the patch is valid (or requires minimal effort) and then create a new patch from that release and try to move it forward. This is all very tedious work

Once it is fully patched from the HEAD, I think keeping ffmpeg in sync should be fairly easily...just keep taking recent ffmpeg release, and and patch it (creating a new patch if necessary).
Reply With Quote
  #37  
Old 08-13-2015, 11:34 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
i did find an account online recently of someone adding on on-the-fly bitrate changes to ffmpeg for x264 - said it was only a few lines of code (he's listening to a UDP port to get the changes, while sage writes the changes to stdin) - so at least that part shouldn't be that difficult.

http://stackoverflow.com/questions/2...g-on-bandwidth
__________________
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
  #38  
Old 08-13-2015, 01:06 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
If someone does the whole ffmpeg update...it's probably a good idea to go to the multithreaded version as well (I max out a core on my server at home if I try to placeshifter HDPVR content )
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
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
SageDTC 2.7.0.2 with ffmpeg mtenboer Hardware Support 1 11-13-2013 02:47 PM
Mencoder instead of FFmpeg TechBill SageTV Beta Test Software 1 02-10-2008 11:23 PM
ffmpeg help ChePazzo SageTV Linux 4 12-04-2006 09:52 AM
ffmpeg v0.4.9 pre for Windows? jsturtevant SageTV Customizations 14 06-06-2006 05:24 PM
Feature Request: Explicit recording of Favorites should use Favorite settings tbpub2 SageTV Beta Test Software 14 04-20-2004 11:10 AM


All times are GMT -6. The time now is 05:49 PM.


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