LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-27-2016, 02:54 PM   #1
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Compiling FFmpeg 3.1


I saw that there was a new release of FFmpeg, and wondered if I could get it to compile. Well, with a couple of caveats, I was able to. All that's required is the newest version of v4l-utils (1.10.1) and x265 (1.9), and a couple of minor changes to the SlackBuild. For convenience's sake, I'll give the SlackBuild patch:

Code:
--- ffmpeg-old.SlackBuild	2016-06-27 14:37:15.946440988 -0500
+++ ffmpeg.SlackBuild	2016-06-27 14:14:54.298291016 -0500
@@ -167,7 +167,7 @@
 USE_PATENTS=$(echo $USE_PATENTS | tr 'a-z' 'A-Z')
 
 PRGNAM=ffmpeg
-VERSION=${VERSION:-2.8}
+VERSION=${VERSION:-3.1}
 BUILD=${BUILD:-1}
 NUMJOBS=${NUMJOBS:--j7}
 TAG=${TAG:-"alien"}
@@ -223,11 +223,11 @@
 RTMP=2.3
 SCHROEDINGER=1.0.11
 SPEEX=1.2rc2
-V4L=1.6.0
+V4L=1.10.1
 VDPAU=1.1.1
 VPX=1.4.0
 X264=20150923-2245
-X265=1.7
+X265=1.9
 
 # Where do we look for sources?
 SRCDIR=$(cd $(dirname $0); pwd)
@@ -1560,7 +1560,6 @@
 if [ "${USE_PATENTS}" == "YES" ]; then
   USE_NONFREE="--enable-libmp3lame \
                 --enable-libfaac \
-                --enable-libvo-aacenc \
                 --enable-libfdk-aac \
                 --enable-openssl \
                 --enable-nonfree"
NOTE: This is the diff I made from Alien BOB's ffmpeg.SlackBuild; the version of his ffmpeg is at 2.8

Happy Slacking!
 
Old 06-28-2016, 08:18 AM   #2
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Thanks!!
 
Old 06-29-2016, 05:16 AM   #3
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862

Original Poster
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by FTIO View Post
Thanks!!
You're welcome! Glad it could help someone.
 
1 members found this post helpful.
Old 06-29-2016, 10:47 PM   #4
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 338

Rep: Reputation: 156Reputation: 156
Thumbs up

Quote:
Originally Posted by FTIO View Post
Thanks!!
+1
Ditto
 
Old 06-30-2016, 08:05 AM   #5
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862

Original Poster
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by dr.s View Post
+1
Ditto
Not a problem
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Issues:Compiling FFMPEG souce code on Visual Studio 2010 JAYANTHI Linux - Newbie 1 11-07-2013 10:41 PM
Problem when compiling ffmpeg under Slackware Francexi Linux - Software 3 11-17-2012 01:20 PM
Compiling FFMPEG Manually mindrunner Linux - Software 2 06-08-2007 12:04 AM
Compiling ffmpeg Valavien SUSE / openSUSE 1 02-22-2007 08:47 PM
Problem with ffmpeg compiling vlc Gerard_2009 Linux - Software 3 12-11-2005 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration