LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-01-2012, 08:09 AM   #1
ahzthecat
Member
 
Registered: May 2010
Location: Japan
Distribution: Slackware 13.37, Slackware 14, Wind0z8, Ubuntu 12.10
Posts: 156

Rep: Reputation: 8
problem installing ffmpeg from sbo -- libxvid not found


Hey gang, got a problem. I did a fresh install of Slackware 14 when it came out, and have been slowly reinstalling apps I had been using in 13.37

I have a video project to do, and just installed kdenlive to get it done. Upon running the setup wizard, I realized I'd forgotten to reinstall ffmpeg. No big deal, I wanted a do-over there anyway (when I installed it in 13.37 I failed to include several build options) so I fired up sbopkg, pulled up the ffmpeg package and added these options (all of which were kdenlive dependencies)
FAAC=yes
GSM=yes
LAME=yes
SCHROEDINGER=yes
X264=yes
XVID=yes

I then went to process the build, but it fails with the error:

ERROR: libxvid not found

When I look for libxvid in the sbo package list there is no such package. Has it been superceded by libxvidcore? Does the build script need to be edited? Or am I doing something wrong?

Any help would be much appreciated!
-
 
Old 12-01-2012, 08:16 AM   #2
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 609

Rep: Reputation: 180Reputation: 180
It's just the way ffmpeg names xvid in its configure file.
Install xvidcore and the configure script will find it
 
Old 12-01-2012, 08:25 AM   #3
ahzthecat
Member
 
Registered: May 2010
Location: Japan
Distribution: Slackware 13.37, Slackware 14, Wind0z8, Ubuntu 12.10
Posts: 156

Original Poster
Rep: Reputation: 8
Well, I thought I had installed xvidcore when I installed kdenlive (it is a dependancy after all) but for some reason the ffmpeg build script wasn't detecting the previous install. Adding xvidcore ahead of ffmpeg in the build cue seems to have done the trick tho.
Huh.

Anyway, its building now. Thanks 414N.

---update---

ffmpeg build and installed, but kdenlive doesn't recognize it. Remove and reinstall kdenlive...


...and kdenlive is still not happy. Looks like I have a kdenlive problem.

Last edited by ahzthecat; 12-01-2012 at 08:47 AM.
 
Old 12-01-2012, 09:16 AM   #4
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 768

Rep: Reputation: 92
Can you run it from a console and see what errors are produced. I seem to remember that all of the deps have to be built and installed in a particular order for it all to work, but it has been a while.
 
Old 12-01-2012, 10:48 AM   #5
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
For future reference AlienBob as an ffmpeg package in his restricted slackbuilds.
 
Old 12-01-2012, 03:25 PM   #6
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 609

Rep: Reputation: 180Reputation: 180
I just tried to build kdenlive from scratch using SBo SlackBuilds and I had not issue at all apart needing a more recent version of MLT (0.8.6) than the one used on SBo. On my system I have ffmpeg-1.0.
 
Old 12-01-2012, 06:33 PM   #7
ahzthecat
Member
 
Registered: May 2010
Location: Japan
Distribution: Slackware 13.37, Slackware 14, Wind0z8, Ubuntu 12.10
Posts: 156

Original Poster
Rep: Reputation: 8
When I run kdenlive from the terminal, I don't get errors per se. It starts and runs, but without support for the file formats and codecs that are a part of the xvidcore library. It will not import mp4 files, for example.

Apparently kdenlive is picky about where your libxvidcore is installed and if you have multiple copies it throws a fit. Consider this a fit thrown.
 
Old 12-01-2012, 07:18 PM   #8
ahzthecat
Member
 
Registered: May 2010
Location: Japan
Distribution: Slackware 13.37, Slackware 14, Wind0z8, Ubuntu 12.10
Posts: 156

Original Poster
Rep: Reputation: 8
Once again, doing things right has saved the day!

Reexamining the sbo docs for MLT, there were dependencies I didn't notice and therefore didn't install. REmove and reinstalled MLT (with all dependencies this time) xvidcore and kdenlive, and now it works. libquicktime and xvidcore need to be installed before MLT or else the whole thing is broken.

BTW, not a fan of how dependencies are specified in the Slack14 sbo. Now that I've figured it out tho, I guess it won't be a problem.

Anyway, yay Kdenlive! Mark this sucker solved!
 
  


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
Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer) kingbeowulf Slackware 8 08-31-2012 02:41 AM
Installing ffmpeg-php problem please help! rewards Linux - Software 8 10-08-2011 11:50 PM
ffmpeg.SlackBuild: line 194: cd: /tmp/SBo/package-ffmpeg/usr/man: No such file or dir darkstarbyte Linux - Software 7 12-29-2010 05:45 PM
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 12:14 PM


All times are GMT -5. The time now is 01:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration