LinuxQuestions.org
Help answer threads with 0 replies.
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 05-28-2021, 04:57 PM   #1
deretsigernu
Member
 
Registered: May 2007
Distribution: Slackware 14.2/-current
Posts: 185

Rep: Reputation: 13
configure slackbuild of ffmep4


Using sbopkg to install ffmpeg4, the slackbuilds.org page includes this statement:
"By default it will not build the ffmpeg binaries or man-pages, in order
not to conflict with an ffmpeg 3.x package. You can change this by
using the following environment variable setting:

BINS=yes"

I don't have ffmpeg 3.x on the system, so I figured I would just let ffmpeg4 build the binaries.

I changed the slackbuild file through the "Custom" menu option in sbopkg. I changed the "no" to "yes" in the line
Code:
# set "enable_$VAR" variables
       # ENV VAR      DEFAULT    IF YES                  IF NO
enable "BINS"          "no"  ""                       "--disable-programs --disable-manpages"
I did not know what to write in the "IF YES" column, where it originally is just "". I just took the "IF NO" option and changed disable to enable. That returned an error message. I tried with just "--enable-programs" under the "IF YES" column. That also returned and error. I tried "--enable-binaries". Another error. Each error said:
Quote:
Unknown options "--enable-bins" (or "...-programs", depending on what I tried as an option)
See ./configure --help for available options
I don't know how to look up the "./configure --help" when the sbopkg/slackbuild scripts are running. I typed
Code:
./configure --help
outside of sbopkg and then I get an error "configure is an unknown command" or something similar.

I have two questions. What option should I use with "enable BINS "yes" "? And how do I look up configure options for a package/script?
 
Old 05-28-2021, 05:13 PM   #2
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
IF
what you are wanting/needing/looking for is a fully functional ffmpeg-
I would strongly recommend AlienBob's ready-to-go pre-tweaked ffmpeg package at
this location: http://slackware.uk/people/alien/res...pkg64/current/
It's what I use and it is superior to the run-of-the-mill options.
 
Old 05-28-2021, 06:38 PM   #3
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
To answer your question though, if you want the equivalent of "BINS=yes" then simply don't issue "--disable-programs --disable-man-pages". The variable is supposed to be "" (nothing) for BINS=yes

As for wanting to see ./configure --help, simply unpack the source tarball yourself and go into the directory and do that :-)

tar xf ffmpeg-whatever.tar.xz
cd ffmpeg-whatever
./configure --help
 
1 members found this post helpful.
Old 05-28-2021, 06:44 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Rather than edit the SlackBuild, you can simply pass the option BINS=yes to the sbopkg command.

Code:
BINS=yes sbopkg -i ffmpeg4
or as a command line option with sbopkg:

Code:
sbopkg -i ffmpeg4:BINS=yes
If you want to build multiple packages and need to pass variables for each, the sbopkg man page documents this:

Code:
sbopkg -i "prgm1:OPT1=yes" -i "ffmpeg4:BINS=yes:OPT2=no"
If you use a queue file for ffmpeg4, you can also pass options via that:

Code:
x265
x264
libwebp
libass
aom
ffmpeg4 | BINS=yes OPENSSL=no
 
6 members found this post helpful.
Old 05-29-2021, 07:36 AM   #5
deretsigernu
Member
 
Registered: May 2007
Distribution: Slackware 14.2/-current
Posts: 185

Original Poster
Rep: Reputation: 13
Thank you, TheRealGrogan and bassmadrigal. You answered my questions.

Now FFmpeg4 seems to be installed, yet I still get a message in Firefox that says if I want to watch a video I need to install the codecs. Video playback works with YouTube, but not Vimeo. I have "Play DRM" in Firefox enabled. In the about:config settings, I set to true all of the media options. My FFmpeg4 settings:

Code:
bash-4.3$ ffmpeg
ffmpeg version 4.3.2 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 5.5.0 (GCC)
  configuration: --prefix=/usr --libdir=/usr/lib64/ffmpeg4 --mandir=/usr/man --docdir=/usr/doc/ffmpeg4-4.3.2/html --incdir=/usr/include/ffmpeg4 --datadir=/usr/share/ffmpeg4 --enable-rpath --disable-podpages --disable-txtpages --arch=x86_64 --enable-gpl --enable-version3 --enable-shared --disable-static --disable-debug --enable-libass --enable-libaom --enable-libcaca --enable-libcdio --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libopenjpeg --enable-libpulse --enable-libsmbclient --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-opengl --enable-nonfree --enable-openssl
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
 
Old 05-30-2021, 03:48 AM   #6
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Quote:
Originally Posted by deretsigernu View Post
if I want to watch a video I need to install the codecs.
Quote:
Originally Posted by deretsigernu View Post
My FFmpeg4 settings:

Code:
--enable-rpath --disable-podpages --disable-txtpages --arch=x86_64 --enable-gpl --enable-version3 --enable-shared --disable-static --disable-debug --enable-libass --enable-libaom --enable-libcaca --enable-libcdio --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libopenjpeg --enable-libpulse --enable-libsmbclient --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-opengl --enable-nonfree --enable-openssl
I'd suggest to install and then --enable-libopenh264 I'm pretty sure that codec is now a requirement for a lot of online streams.
Read also this page and maybe a FAQ of the streaming service where it normally says which codec is required.
 
1 members found this post helpful.
Old 05-30-2021, 10:54 AM   #7
deretsigernu
Member
 
Registered: May 2007
Distribution: Slackware 14.2/-current
Posts: 185

Original Poster
Rep: Reputation: 13
Thank you, elcore. I searched a little bit on Vimeo's site for a codec requirement, but didn't find anything. I've seen the H264 protocol referenced multiple times, so my problem is likely related to that.
 
Old 05-30-2021, 10:52 PM   #8
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
Do you have a full version of -current installed and updated? Vimeo is working fine for me under -current. Also I had many problems with the standard versions of ffmpeg and am using the Bob-tweaked one...

Last edited by Regnad Kcin; 05-30-2021 at 10:57 PM.
 
Old 06-03-2021, 06:13 PM   #9
deretsigernu
Member
 
Registered: May 2007
Distribution: Slackware 14.2/-current
Posts: 185

Original Poster
Rep: Reputation: 13
@Regnad Kcin, I am using 14.2. It is up to date. I ended up removing the base version from sbopkg and installed Alien Bob's and it all seems to work now.
 
1 members found this post helpful.
  


Reply

Tags
configure, ffmpeg4, sbopkg, slackbuilds



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
[SOLVED] sbopkg installs "original" SlackBuild to /usr/doc/<pkg>/ instead of "local" SlackBuild drumz Slackware 29 01-20-2018 12:12 AM
[Patch and SlackBuild] Grub-2.02~beta2 SlackBuild and Patch. ReaperX7 Slackware 3 01-28-2015 09:30 AM
slackbuild vrs configure-make-make install garyg007 Slackware 12 12-21-2008 10:27 PM
SlackBuild Problem: "configure.in" gregkedro Linux - Software 11 05-26-2008 09:30 AM
SlackBuild / ./configure questions shilo Slackware 18 10-04-2005 02:29 AM

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

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