LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-30-2013, 07:55 PM   #1
johnpuppa
Member
 
Registered: Jun 2013
Distribution: Slackware
Posts: 44

Rep: Reputation: Disabled
ffmpeg2theora: error while loading shared libraries


Hello everybody I have a dependency problem which I have no idea how to fix. Here is the error:
Quote:
ffmpeg2theora: error while loading shared libraries: libavcodec.so.52: cannot open shared object file: No such file or directory
Here is something interesting:
Quote:
find / -name libavutil*
/usr/man/man1/libavutil.3.gz
/usr/doc/ffmpeg-1.1.2/libavutil.html
/usr/include/libavutil
/usr/lib/libavutil.so.52.13.100
/usr/lib/libavutil.so
/usr/lib/libavutil.so.52
/usr/lib/pkgconfig/libavutil.pc
Version: ffmpeg2theora-0.29-i486-1sl
What would it be the solution? Try to upgrade ffmpeg to a higher version, hoping that nothing else will be affected? Any suggestion?
 
Old 07-30-2013, 08:09 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,664

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
did you upgrade ffmpeg in the past? If you do so, then try recompile the ffmpeg2theora and it will link to the correct lib
 
Old 07-30-2013, 08:13 PM   #3
johnpuppa
Member
 
Registered: Jun 2013
Distribution: Slackware
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
did you upgrade ffmpeg in the past? If you do so, then try recompile the ffmpeg2theora and it will link to the correct lib
My current version of ffmpeg is 1.1.2 I haven't found any newer precompiled version for slack at the moment. I'm trying to go through the tarball..
 
1 members found this post helpful.
Old 07-30-2013, 08:15 PM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Mind you it is more than possible to use standard FFmpeg with syntax something like the following:

Code:
ffmpeg -i input \
       -c:v libtheora -qscale 6 \
       -a:v libvorbis -aq 5 \
       output.ogv
Perhaps fiddle a little with the -qscale and -aq settings to get the best result for your own files...
 
Old 07-30-2013, 10:24 PM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,664

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Quote:
Originally Posted by johnpuppa View Post
My current version of ffmpeg is 1.1.2 I haven't found any newer precompiled version for slack at the moment. I'm trying to go through the tarball..
Actually AlienBOB already made package for ffmpeg 1.2
http://taper.alienbase.nl/mirrors/pe...mpeg/pkg/14.0/
 
Old 07-30-2013, 10:30 PM   #6
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by willysr View Post
Actually AlienBOB already made package for ffmpeg 1.2
Those who follow the release versions might have a look at 2.0 'Nameless'...
 
Old 07-30-2013, 11:31 PM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,104

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by johnpuppa View Post
Hello everybody I have a dependency problem which I have no idea how to fix. Here is the error:
...
Version: ffmpeg2theora-0.29-i486-1sl
What would it be the solution?
use a prebuilt ffmpeg package downloaded from the same repository you have used to download a prebuilt one for ffmpeg2theora (judging from the tag, I would say slacky.eu).

what happened to you is very common when:
- mixing packages fom different repositories (that can use different versions or can be built differently);
- updating yourself a package and not updating/rebuild the ones depending on it.

Last edited by ponce; 07-30-2013 at 11:56 PM.
 
Old 07-31-2013, 09:06 AM   #8
johnpuppa
Member
 
Registered: Jun 2013
Distribution: Slackware
Posts: 44

Original Poster
Rep: Reputation: Disabled
Wink

Quote:
Originally Posted by ponce View Post
use a prebuilt ffmpeg package downloaded from the same repository you have used to download a prebuilt one for ffmpeg2theora (judging from the tag, I would say slacky.eu).

what happened to you is very common when:
- mixing packages fom different repositories (that can use different versions or can be built differently);
- updating yourself a package and not updating/rebuild the ones depending on it.
You are right! it was Slacky.eu
Well the versions on the website are actually ffmpeg - 1.1.2 and ffmpeg2theora - 0.29, which have caused me the problem. Maybe its a slacky.eu problem then.. Anyway now I'm trying to install another version and we will see what happens.
Thank you all for the answers and help!
 
Old 07-31-2013, 09:44 AM   #9
johnpuppa
Member
 
Registered: Jun 2013
Distribution: Slackware
Posts: 44

Original Poster
Rep: Reputation: Disabled
No luck at all..
 
Old 07-31-2013, 09:53 AM   #10
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,104

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
report the problem to slacky.eu people: package probably must be rebuilt over the new ffmpeg

http://www.slacky.eu/asche/pkgreport...pkg=515&ver=16
 
Old 07-31-2013, 10:22 AM   #11
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
I would be interested in the output of this:

Code:
ls /var/log/packages | grep -i ffmpeg
just to see if there were multiple ffmpeg packages loaded and hosing you.
 
Old 07-31-2013, 10:22 AM   #12
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
removed

Last edited by WhiteWolf1776; 07-31-2013 at 10:23 AM. Reason: double post...
 
Old 07-31-2013, 11:51 AM   #13
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Rep: Reputation: 155Reputation: 155
Quote:
Originally Posted by johnpuppa View Post
My current version of ffmpeg is 1.1.2 I haven't found any newer precompiled version for slack at the moment. I'm trying to go through the tarball..
I have been playing around with this for the last couple of days and will share what I can recall (though I don't have a ready solution). I am not an expert on this stuff so I will apologize in advance should I be wrong about any of this.

Firstly, I felt compelled to upgrade FFMPEG because the version called out by slackbuilds.org (0.11.1) contains a bug which results in improper timecodes being produced in the output file. I believe this bug was fixed in version 1.2 (released March 2013) but the fix may have already appeared in version 1.1 (released January 2013). Nonetheless, I chose to upgrade to FFMPEG version 2.0 after failing to build ffmpeg2theora against any of the newer versions of FFMPEG. There have been a couple of changes to the FFMPEG API and ffmpeg2theora has not yet been updated to address them.

I have tried to patch the ffmpeg2theora source to address this but while the changes are fairly trivial, I am not familiar enough with the code base to achieve success (I will try some more this weekend).

At this point, I think you basically have two options: either use ffmpeg2theora with version 0.11.1 of FFMPEG and suffer the timecode problems, or use a newer version of FFMPEG and forget about ffmpeg2theora for the present.

As others have stated, you can now use FFMPEG to produce valid OGV files with the following syntax:

Code:
ffmpeg -i somefile.avi -f ogg -c:a libvorbis -q:a 1 -c:v libtheora -q:v 6 output.ogv
You won't have access to some of the more advanced encoding options offered by ffmpeg2theora, but the resulting file will fully compliant and have no timecode anomalies.
 
Old 07-31-2013, 06:12 PM   #14
johnpuppa
Member
 
Registered: Jun 2013
Distribution: Slackware
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by WhiteWolf1776 View Post
I would be interested in the output of this:

Code:
ls /var/log/packages | grep -i ffmpeg
just to see if there were multiple ffmpeg packages loaded and hosing you.
bash-4.2# ls /var/log/packages | grep -i ffmpeg
ffmpeg-1.1.2-i686-1sl
ffmpeg2theora-0.29-i486-1sl

I tried the slackbuild options as well as the official tarball one... No luck...
Of course to this point, the conversion is not a problem anymore, nevertheless, I thank you for the option without ffmpeg2theora which I didn't know.
Of course it would be interesting to know the solution to solve the problem..
I tried to send a message to slacky.eu too, hoping in some good news.. Thanks to everyone
 
  


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
./testSo: error while loading shared libraries: libsy.so: cannot open shared object rohaanembedded Programming 5 06-03-2013 07:23 AM
honeyd: error while loading shared libraries: libdnet.1: cannot open shared object fi secbuddy Linux - Software 2 12-24-2011 02:01 PM
error while loading shared libraries: libtermcap.so.2: cannot open shared object file astroboy2000ir Linux - Software 3 12-07-2010 11:16 PM
error while loading shared libraries: libgvc.so.3: cannot open shared object file coolrock Slackware 6 01-17-2007 05:10 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM

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

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