LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-10-2017, 05:59 PM   #1
USUARIONUEVO
Member
 
Registered: Apr 2015
Posts: 646

Rep: Reputation: 194Reputation: 194
very excited with new updates 10 february ffmpeg-3 Added :=)


Hi , sorry for this thread , but im ver very happy , i see ffmpeg added to stock slackware.


Code:
l/ffmpeg-3.2.3-x86_64-1.txz:  Added.
changelog of 10 february (current)

ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt



Ooops ! nice !!! mesa build with opencl support

Quote:
--enable-opencl \
--enable-opencl-icd \

Last edited by USUARIONUEVO; 02-10-2017 at 06:17 PM.
 
Old 02-10-2017, 07:49 PM   #2
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,300

Rep: Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274
The ffmpeg included will likely be quite limited to the ones you'd build separately due to patent issues. There won't be support for the following without recompiling:

lame, x264, celt, dc1394, frei0r, gsm, rtmp, schroedinger, speex, xvid, bluray, ass, openal, iec61883, ilbc, modplug, opus, twolame, ladspa, flite, quvi, vid.stab, x265, zvbi, opencv, gme, snappy, webp, opencore_amr, faac, fdk, ssl, decklink, libzmq (zeromq), or aac.

I know I use a lot of those optional dependencies in my builds of ffmpeg, so I really hope that SBo makes an exception for ffmpeg to stay on there after the next version of Slackware is released. It is much easier to manage it through the various SBo building software rather than doing it manually after grabbing the source from your favorite Slackware mirror.

But, one nice thing is ffmpeg is built automatically with opencl support as well
 
5 members found this post helpful.
Old 02-10-2017, 10:03 PM   #3
ngc891
Member
 
Registered: Jan 2012
Location: South Korea
Distribution: Slackware64 OpenBSD
Posts: 53

Rep: Reputation: Disabled
Because of the patents and the big amount of optional dependencies, the ffmpeg package will surely see a lot of rebuild by the users.

That's why I'd like to suggest a patch to help people rebuilding the package. The stock ffmpeg configure file is quite brain dead and it can't find dependencies by itself so we have a long list of manual switches in the slackbuild.

My patch add some automation using the pkg-config "--exists" option. That's actually a very easy to use and portable way of detection. Not all dependencies can be detected by pkg-config, but I tested successfully on 19 libs (more than half of the current list).
I added a single FEATURE switch around the 19 autodetected libs if people don't want the optional deps. The other libs still need an env variable.
It's possible that more libs can be added in the pkg-config autodetected tests but I couldn't test them because I don't use them.

So you can maybe contribute by testing the other libs and improving the patch. Thanks!
Attached Files
File Type: txt patch-ffmpeg-slackbuild.txt (5.3 KB, 58 views)
 
3 members found this post helpful.
Old 02-11-2017, 04:31 AM   #4
GazL
Senior Member
 
Registered: May 2008
Posts: 4,431
Blog Entries: 7

Rep: Reputation: 1888Reputation: 1888Reputation: 1888Reputation: 1888Reputation: 1888Reputation: 1888Reputation: 1888Reputation: 1888Reputation: 1888Reputation: 1888Reputation: 1888
I'll be continuing to build ffmpeg locally, too. But I don't use the slackbuilds.org slackbuild. I build from git using my own script. I can't see them keeping it now there's an official build script.

On a different note: the new mesa version has fixed an opengl video tearing problem I was having(*), so I'm a happy camper. Thanks Pat!


P.S. I had to rebuild some of my locally built stuff because of the libevent bump, so people might want to watch out for that one!

(*) forget I said that.... It's back!

Last edited by GazL; 02-14-2017 at 10:29 AM.
 
Old 02-11-2017, 07:24 AM   #5
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,300

Rep: Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274Reputation: 2274
Quote:
Originally Posted by GazL View Post
I can't see them keeping it now there's an official build script.
Per the SBo submission guidelines page, it is still possible for them to have ffmpeg on there... so I'm hopeful this will work as an exception.

Quote:
As a general rule, we do not accept SlackBuild scripts of software that is included as part of Slackware; however, exceptions may be made by the admin staff on a case-by-case basis.
 
1 members found this post helpful.
Old 02-11-2017, 08:19 AM   #6
elcore
Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 368

Rep: Reputation: Disabled
Package libvpx-1.6.0 may need --enable-vp9 for vp9 codec from google, I have recompiled it.
Built ffmpeg-3.2.3 with --enable-libvpx to support this codec, works fine on 14.2

There's also this --enable-libopenh264 flag for ffmpeg to support cisco openh264 but I haven't built that yet.
 
Old 02-11-2017, 10:59 AM   #7
hitest
LQ Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, Debian, OpenBSD
Posts: 5,192

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
Thumbs up

Quote:
Originally Posted by USUARIONUEVO View Post
Hi , sorry for this thread , but im ver very happy , i see ffmpeg added to stock slackware.

changelog of 10 february (current)

ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt
Thanks for the heads-up.
 
Old 02-11-2017, 11:54 AM   #8
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 282

Rep: Reputation: 75
AlienBob did a great job with ffmpeg in his restricted slackbuilds folder. Looking at his source (quite complex) I think I shall wait until he updates it.
 
5 members found this post helpful.
Old 02-11-2017, 01:24 PM   #9
USUARIONUEVO
Member
 
Registered: Apr 2015
Posts: 646

Original Poster
Rep: Reputation: 194Reputation: 194
For my side i "request!" if is possible add SDL2 , (autodetected if installed) to get ffplay executable , some video editors need that executable to previews.

I hope arrives.


One more time , thanks Pat and company for this batch of packages.
 
1 members found this post helpful.
Old 02-11-2017, 01:27 PM   #10
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 487

Rep: Reputation: 267Reputation: 267Reputation: 267
Quote:
Originally Posted by elcore View Post
Package libvpx-1.6.0 may need --enable-vp9 for vp9 codec from google
The slackware package is compiled with --enable-vp9
 
Old 02-11-2017, 01:34 PM   #11
elcore
Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 368

Rep: Reputation: Disabled
Quote:
Originally Posted by ppr:kut View Post
The slackware package is compiled with --enable-vp9
The -current package has vp9, but I'm compiling it on 14.2. Thanks.
 
Old 02-12-2017, 08:28 AM   #12
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware64-14.2
Posts: 224

Rep: Reputation: 64
I'm not sure how to feel about this. I imagine, however, its good thing, as long as AlienBob and SBo keep working on ffmpeg SlackBuilds; and I imagine they will.
 
Old 02-12-2017, 08:57 AM   #13
Panther_
LQ Newbie
 
Registered: Jan 2012
Location: Podlasie [Pl]
Distribution: Slackware-current
Posts: 5

Rep: Reputation: Disabled
mplayer not work

After the last update to current (Fri Feb 10 21:07:35 UTC 2017).
It does not work for me mplayer. I get the message:

Code:
mplayer: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory

MPlayer version: 1.3_20170208-i586-1


Which package contains a library libOpenCL?
 
Old 02-12-2017, 09:05 AM   #14
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,832

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
hi Panther_,

it seems you are missing the added packages in the current tree: the one with libOpenCL.so.1.0.0 is ocl-icd.

(BTW, also the nvidia binary driver installs a libOpenCL.so.1.0.0 that overwrites the above)

Last edited by ponce; 02-12-2017 at 09:06 AM.
 
1 members found this post helpful.
Old 02-12-2017, 09:41 AM   #15
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 487

Rep: Reputation: 267Reputation: 267Reputation: 267
Quote:
Originally Posted by ponce View Post
BTW, also the nvidia binary driver installs a libOpenCL.so.1.0.0 that overwrites the above
Hmm, it shouldn't. The whole point of ocl-icd is for its libOpenCL.so to *not* get overwritten. Instead, it should put an icd file in /etc/OpenCL/vendors/ so ocl-icd knows how to load nvidia's driver.

They respect that with libglvnd, and I suspect also with vulkan. Would be weird if they didn't do the same with OpenCL.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
chromium-codecs-ffmpeg-extra updates jross Linux - Newbie 1 03-10-2015 12:37 PM
LXer: KDE Ships February Updates to Applications and Platform LXer Syndicated Linux News 0 02-05-2014 02:21 PM
ffmpeg must love to surprise end users with its updates HyperX Linux - Software 5 01-14-2014 03:33 AM
LXer: Joomla 2.5.5 security updates arrives with added features LXer Syndicated Linux News 0 06-20-2012 03:50 PM
LXer: Commercial apps added to Ubuntu updates LXer Syndicated Linux News 0 08-16-2006 03:33 PM

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

All times are GMT -5. The time now is 01:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration