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 02-17-2016, 03:55 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Updated FFMPEG Posted to GitHub

I've now updated FFMPEG (and x264) on GitHub to be the same one we had in the final V7 release. My apologies for getting this wrong in the initial publishing of the open source code.

This will fix various issues people had with thumbnail generation and transcoding. The version posted now is newer than the other one; so it should have a wide range of benefits (like probably also fixing placeshifting of 1080i H264 content).

I also now have the FFMPEG code that I merged our SageTV patches into as well. (I think I may already have given that out; but if I didn't...let me know and I can post that too if somebody wants it)

I haven't looked into MPlayer yet; but I highly suspect that MPlayer had the same problem and that the proper version of it was not posted to GitHub either. I'm still trying to figure out a good way to determine which codebase it was built from (since their versioning is a little odd). If anybody knows how to get an mplayer binary to tell me what versions of libavformat/codec (any of those) are used in it let me know...that would make it easy to figure out then.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #2  
Old 02-20-2016, 09:56 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
I've now updated FFMPEG (and x264) on GitHub to be the same one we had in the final V7 release.
Thanks!

Quote:
Originally Posted by Narflex View Post
I also now have the FFMPEG code that I merged our SageTV patches into as well. (I think I may already have given that out; but if I didn't...let me know and I can post that too if somebody wants it)
This would be great. I think I found all the custom edits, but it wouldn't hurt to verify as I'm trying to forward port to the newest FFMPEG.

Quote:
Originally Posted by Narflex View Post
If anybody knows how to get an mplayer binary to tell me what versions of libavformat/codec (any of those) are used in it let me know...that would make it easy to figure out then.
I took a shot a dumping the strings out of the file, but it does not appear that they are in the version I have
Code:
"strings -- <filename> | grep "avform" | less"
I also found the following command line that should show the version of libavformat, but again, my version has not (but I'm playing with a bit of a frankenstein at the moment)

Code:
$ mplayer -vo null -ao null -identify -frames 0 input.mp4
I'll keep looking and post a follow up if I get it to talk. Is there a specific version of MPLAYER you're looking for the version out of? I was looking at the old OSX version and was about to grab the one out of the v9 .deb, but really I can pull out of anything that runs (official v7 for linux release?)

** UPDATED: it looks like newer versions of the code now print out the version information you are looking for. While that is not helpful in itself, depending on when they started outputting the version of libavformat, that may start getting you closer.

Last edited by SageWizdom; 02-20-2016 at 10:15 PM.
Reply With Quote
  #3  
Old 02-20-2016, 10:42 PM
SageWizdom SageWizdom is offline
Sage Advanced User
 
Join Date: Oct 2013
Location: https://github.com/SageWizdom/SageConnect
Posts: 216
From the FFMPEG binary in the v7.1.9 32bit linux client.

(I'm going to try and re-dump mplayer next)

Quote:
FFmpeg version SVN-r104, Copyright (c) 2000-2010 the FFmpeg developers
built on Jun 7 2011 15:13:09 with gcc 4.4.3
configuration: --disable-ffserver --disable-ffplay --enable-gpl --enable-pthreads --enable-nonfree --enable-libfaac --enable-libx264 --enable-libxvid --disable-devices --disable-bzlib --prefix=/sage/bin/mplayerhq-sage/libs/ --extra-cflags=-I/sage/bin/mplayerhq-sage/libs/include --extra-ldflags=-L/sage/bin/mplayerhq-sage/libs/lib --disable-demuxer=msnwc_tcp --enable-libfaad
libavutil 50.22. 0 / 50.22. 0
libavcodec 52.83. 0 / 52.83. 0
libavformat 52.73. 0 / 52.73. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.22. 0 / 1.22. 0
libswscale 0.11. 0 / 0.11. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

Last edited by SageWizdom; 02-20-2016 at 10:45 PM.
Reply With Quote
  #4  
Old 02-20-2016, 11:15 PM
SageWizdom SageWizdom is offline
Sage Advanced User
 
Join Date: Oct 2013
Location: https://github.com/SageWizdom/SageConnect
Posts: 216
From the 32bit mplayer client the following options spit out some additional info (also see file attached to next post)

-afm help
-vfm help
-ao help
-vo help
-vf help


Quote:
sagetv@sagetv-server:/opt/sagetv/v7.1.9-32bit-sageclient$ ./mplayer -afm help
MPlayer dev-SVN-rUNKNOWN-4.1.1 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz (Family: 6, Model: 30, Stepping: 5)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Available (compiled-in) audio codec families/drivers:
afm: info: (comment)
mp3lib MPEG layer-2, layer-3 (Optimized to MMX/SSE/3Dnow!)
liba52 AC3 decoding with liba52
hwac3 AC3/DTS pass-through S/PDIF
hwmpa MPEG audio pass-through (fake decoder) (For hardware decoders)
ffmpeg FFmpeg/libavcodec audio decoders
pcm Uncompressed PCM audio decoder
dvdpcm Uncompressed DVD/VOB LPCM audio decoder
alaw aLaw/uLaw audio decoder
imaadpcm IMA ADPCM audio decoder
msadpcm MS ADPCM audio decoder
dk3adpcm Duck Corp. DK3 ADPCM decoder
msgsm native GSM/MSGSM audio decoder
faad AAC (MPEG2/4 Advanced Audio Coding) (uses libfaad2)
tremor Ogg/Vorbis audio decoder
Quote:
sagetv@sagetv-server:/opt/sagetv/v7.1.9-32bit-sageclient$ ./mplayer -vfm help
MPlayer dev-SVN-rUNKNOWN-4.1.1 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz (Family: 6, Model: 30, Stepping: 5)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Available (compiled-in) video codec families/drivers:
vfm: info: (comment)
null Null video decoder (no decoding)
ffmpeg FFmpeg's libavcodec codec family (native codecs)
lzo LZO compressed Video (based on liblzo: http://www.oberhumer.com/opensource/lzo/)
raw RAW Uncompressed Video (uncompressed)
hmblck Hauppauge Macroblock/NV12/NV21 Decoder (uncompressed)
nuv NuppelVideo decoder (native codecs)
mtga TGA Images decoder (only 24bpp and 32bpp RGB targa files support so far)
sgi SGI Image decoder ()
mpegpes MPEG 1/2 Video passthrough (for hw decoders)
xvid XviD 1.0 decoder (No Comment)

Last edited by SageWizdom; 02-20-2016 at 11:29 PM.
Reply With Quote
  #5  
Old 02-20-2016, 11:27 PM
SageWizdom SageWizdom is offline
Sage Advanced User
 
Join Date: Oct 2013
Location: https://github.com/SageWizdom/SageConnect
Posts: 216
One last thing... I dumped all the strings and did a search on ffmpeg. This seems to list codecs
Attached Files
File Type: txt ffmpeg_codec_list.txt (4.4 KB, 304 views)
Reply With Quote
  #6  
Old 02-22-2016, 02:01 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Thanks for trying to find it. Unfortunately that's not including any of the FFMPEG version info, so it doesn't really help.

The upstream version of FFMPEG which I'm quite sure the one in GitHub is based on is available here now:

http://download.sagetv.com/ffmpeg-stv-base.tgz

There are a fair amount of files with diffs...but as you go through them you'll see there's a lot of little bug fixes here and there and then adds of whole files for certain features (and some of those files came from other ffmpeg upstream versions).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #7  
Old 02-23-2016, 09:32 PM
SageWizdom SageWizdom is offline
Sage Advanced User
 
Join Date: Oct 2013
Location: https://github.com/SageWizdom/SageConnect
Posts: 216
In my first walkthrough of the code, it looked like the FFMPEG version was somewhere between v.4.9 and v.5 right around when they changed from sourceforge to github. When I get a chance, I'll pull down the updated code and do another compare. The interesting thing I noted is that the whole directory structure appeared to have changed with files and features all moved into directories... oh well, its a good opportunity to polish up my c/c++ code skills.

Cheers!
Reply With Quote
  #8  
Old 02-24-2016, 09:06 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
It appears that FFMpeg 3.0 is released today I guess if we are going to move forward with a new ffmpeg, we should look at 3.0.

I looked at this briefly as well (first when the code was released). I wonder if some of the "bug fixes" shouldn't be pushed directly back to ffmpeg.

Somewhat related... but the newer mplayer actually pulls in ffmpeg as a separate git clone during the build process. I wonder if the changes we make here for the stand-alone ffmpeg could also be used as "ffmpeg" version that mplayer clones during it's build process.
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
Build SageTV (Linux Specific) + GitHub primer stuckless SageTV Github Development 81 09-04-2016 12:27 PM
V9 API docs posted Narflex SageTV Github Development 3 08-24-2015 12:36 PM
Mac Builds for V6.4.4 have been posted Narflex SageTV Beta Test Software 6 07-17-2008 08:25 PM
V6.3 Mac Beta has been posted Narflex SageTV Mac Edition 4 12-17-2007 11:48 AM
new pvr250 drivers posted davey_fl Hardware Support 0 01-23-2004 11:44 AM


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


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