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
  #1  
Old 08-11-2015, 08:31 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Explicit versions for ffmpeg and mplayer?

Hey Jeff, do you happen to know the explicit version for ffmpeg and mplayer? And/or, are there any modifications to these sources? ie, I'd like to compare the originals to the modified to see what was modified for SageTV (if any).

Also are there any instructions on how to upgrade ffmpeg/mplayer (or is that even possible).

I'm currently attempting to do a full rebuild under linux and I uncovered a a few things, mostly dev packages that need to be installed in addition to what you've listed. I've finally got it to build and create .deb packages, so that's a good sign I'll create a pull request for the README updates, or I can send you changes directly, whatever you want.
Reply With Quote
  #2  
Old 08-11-2015, 08:45 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
This might have some insight:

http://www.sagetv.com/pubcode/
__________________
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
  #3  
Old 08-11-2015, 08:51 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
This might have some insight:

http://www.sagetv.com/pubcode/
Still no explicit versions (for ffmpeg and mplayer) just versionless tars.

UNLESS these are versions that were used BEFORE modifications were made??

Last edited by stuckless; 08-11-2015 at 08:53 AM. Reason: Additional Thoughts
Reply With Quote
  #4  
Old 08-11-2015, 09:20 AM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Dose this help stuckless
FFMpeg version 0.5
MPlayer version 1.0 rc2
Reply With Quote
  #5  
Old 08-11-2015, 09:23 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by SHS View Post
Dose this help stuckless
FFMpeg version 0.5
MPlayer version 1.0 rc2
Thanks... That should be good.
Reply With Quote
  #6  
Old 08-11-2015, 09:25 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by SHS View Post
Dose this help stuckless
FFMpeg version 0.5
MPlayer version 1.0 rc2
except I don't think that's entirely correct. The CHANGELOG in the v7 ffmpeg source, for instance, shows the <next> version after 0.6, which make me think that it was based off of at least 0.6+ something.
__________________
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 08-11-2015, 09:28 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
running them each shows
MPlayer dev-SVN-rUNKNOWN-4.2.4
and
FFmpeg version SVN-r93
__________________
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
  #8  
Old 08-11-2015, 09:50 AM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Quote:
Originally Posted by Fuzzy View Post
running them each shows
MPlayer dev-SVN-rUNKNOWN-4.2.4
and
FFmpeg version SVN-r93
The third_party dir
MPlayer ChangeLog show 1.0 rc2
FFmpeg ChangeLog was miss version but it eazy to check by looking at ChangeLog
Reply With Quote
  #9  
Old 08-11-2015, 10:39 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by SHS View Post
The third_party dir
MPlayer ChangeLog show 1.0 rc2
FFmpeg ChangeLog was miss version but it eazy to check by looking at ChangeLog
Yeah, I first checked the ffmpeg Changelog but it just said Version <next>

Thanks again... this helps.

Sean.
Reply With Quote
  #10  
Old 08-11-2015, 12:26 PM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
Would love to see these updated, especially on the extenders.
Reply With Quote
  #11  
Old 08-11-2015, 02:12 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by stuckless View Post
I'm currently attempting to do a full rebuild under linux and I uncovered a a few things, mostly dev packages that need to be installed in addition to what you've listed. I've finally got it to build and create .deb packages, so that's a good sign I'll create a pull request for the README updates, or I can send you changes directly, whatever you want.
Can you post a list of the steps that need to be taken to do the linux build?
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #12  
Old 08-11-2015, 02:15 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
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).

I did have to update it awhile ago at Google for security reasons...and spent a bunch of time finding the original code it branched from (for ffmpeg). It was basically a binary search process until I found the one with the least diffs...I don't know the exact version; but it was a variant of ffmpeg 0.5 (and likely the release one).

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).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #13  
Old 08-11-2015, 03:30 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I'm wondering how many of the tweaks would not be needed in the newer ffmpeg builds due to bugfixes. Some architectural changes might work well to get rid of some of the mods as well. Placeshifter could go to a segmented approach similar (or exactly like) HTTP Live Streaming, for instance, so instead of ffmpeg changing it's bitrate on the fly, it simply encodes the next segments at the different bitrate. If we can get to a point where ffmpeg needs NO changes, and everything is worked around core ffmpeg features, we can have a much better time keeping tech up to date.
__________________
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
  #14  
Old 08-11-2015, 04:15 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by tmiranda View Post
Can you post a list of the steps that need to be taken to do the linux build?
Ubuntu 15.x

Code:
# export JDK_HOME=/usr/lib/jvm/java-8-oracle/
# sudo apt-get install libx11-dev libxt-dev libraw1394-dev libavc1394-dev libiec61883-dev libfreetype6-dev yasm autoconf libtool build-essential
You can use whatever java you want, java-8 was the version I had installed, so I used it.
Reply With Quote
  #15  
Old 08-11-2015, 05:09 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by stuckless View Post
Ubuntu 15.x

Code:
# export JDK_HOME=/usr/lib/jvm/java-8-oracle/
# sudo apt-get install libx11-dev libxt-dev libraw1394-dev libavc1394-dev libiec61883-dev libfreetype6-dev yasm autoconf libtool build-essential
You can use whatever java you want, java-8 was the version I had installed, so I used it.
Thanks. I could also use a GitHub primer. How do you get the code from GitHub to your local machine?
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #16  
Old 08-11-2015, 05:21 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
Download a git command line client or gui client and use it to clone from https://github.com/google/sagetv
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #17  
Old 08-11-2015, 05:37 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by tmiranda View Post
Thanks. I could also use a GitHub primer. How do you get the code from GitHub to your local machine?
Here.. I setup a simple primer here...
http://forums.sagetv.com/forums/show...066#post575066
Reply With Quote
  #18  
Old 08-12-2015, 06:54 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by stuckless View Post
Here.. I setup a simple primer here...
http://forums.sagetv.com/forums/show...066#post575066
Thank you. Just what I was looking for.

I think it's worth mentioning in the guide that you can build the Sage.jar file in Linux and then use it in a Windows install. I believe this will end up being a fairly common thing to do as a lot of the functionality is in Sage.jar and there is currently no way to build under Windows.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #19  
Old 08-12-2015, 11:53 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by tmiranda View Post
Thank you. Just what I was looking for.

I think it's worth mentioning in the guide that you can build the Sage.jar file in Linux and then use it in a Windows install. I believe this will end up being a fairly common thing to do as a lot of the functionality is in Sage.jar and there is currently no way to build under Windows.
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.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #20  
Old 08-12-2015, 12:31 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
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.
So if I just want to check out the features you posted in Windows here this is all I have to do?
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.