LinuxQuestions.org
Review your favorite Linux distribution.
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 08-10-2018, 06:34 PM   #1
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,205

Rep: Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781
-current, ffmpeg and restricted multimedia libraries


I'm about to install -current again.

How do users handle ffmpeg, now that it is included by default? Eric's ffmpeg (and VLC, I believe) is unencumbered by patent constraints, and includes codecs available at SlackBuilds. Do users who are allowed to do so install Eric's build, after removing the stock ffmpeg? If so, are the codecs included in Eric's ffmpeg available system-wide? Do users need to re-build stock packages (Mplayer, perhaps) to take advantage of the expanded set?
 
Old 08-10-2018, 07:25 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,268

Rep: Reputation: 5340Reputation: 5340Reputation: 5340Reputation: 5340Reputation: 5340Reputation: 5340Reputation: 5340Reputation: 5340Reputation: 5340Reputation: 5340Reputation: 5340
I actually just dealt with this recently.

Use the -current SlackBuild. Keep the source and version. But change the BUILD as needed, and set any needed feature overrides in the environment. For example:

Code:
X264=yes BUILD=1dc ./ffmpeg.SlackBuild
That will build FFMPEG with more encoders while still remaining safely ABI-compatible with your installed software.

Last edited by dugan; 08-10-2018 at 07:32 PM.
 
3 members found this post helpful.
Old 08-11-2018, 03:31 AM   #3
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,823

Rep: Reputation: 988Reputation: 988Reputation: 988Reputation: 988Reputation: 988Reputation: 988Reputation: 988Reputation: 988
I use the Official FFMPEG Slackware build on one computer and the other I build my own based on my edited Official FFMPEG Slackbuild and the source code. I build QMPlay2 from source for its CUDA goodness and its my main video player. I also build vlc from source. Xine, mplayer I use the official builds. I usually use those to watch something real quick. I think you can get away with just using the official FFMPEG Slackware build just fine.
 
Old 08-11-2018, 03:38 AM   #4
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,205

Original Poster
Rep: Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781
Quote:
Originally Posted by dugan View Post
I actually just dealt with this recently.

Use the -current SlackBuild. Keep the source and version. But change the BUILD as needed, and set any needed feature overrides in the environment. For example:

Code:
X264=yes BUILD=1dc ./ffmpeg.SlackBuild
That will build FFMPEG with more encoders while still remaining safely ABI-compatible with your installed software.
That sounds straightforward. I'll go with that. Thank you.
 
Old 08-11-2018, 03:48 AM   #5
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,995

Rep: Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565Reputation: 1565
I use the slackpkg+ add-on to manage these things.

I normally use Alien Bob's SlackBuild script for ffmpeg. If that happens to fail and I can't finger it out or don't want to mess with trying; I just download the non-restricted package. Either way, the packages are added to my personal repository and then installed using slackpkg.

I do this with Slackware packages I have recompiled too. Example; this machine uses a compiled version (using a modified stock Slackware cups.SlackBuild) of cups that supports avahi. That over rides the cups that comes with Slackware as that package is placed in my personal repository. The add-on slackpkg+ make this possible. My other machines do not use this modified package so it does require an entry in blacklist to exclude that package so the cups that comes with Slackware will be installed.

Slackpkg+ is an awesome tool! So is slackpkg!

Last edited by chrisretusn; 08-11-2018 at 03:51 AM. Reason: English is my first language....
 
  


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
Can find be restricted to the current directory techie_san778 Linux - Software 17 06-21-2016 11:41 AM
Multimedia and Restricted Format Installation Guide GeminiVI Red Hat 2 07-10-2015 12:17 AM
FFmpeg/Multimedia in Slackware sahko Slackware 14 01-06-2013 01:40 PM
ffmpeg shared libraries dbc001 Slackware 4 09-02-2006 03:24 PM
How to instal the ffmpeg libraries jayhel Linux - Software 4 09-11-2005 11:54 PM

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

All times are GMT -5. The time now is 02:41 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