• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

The "Linux questions (and other stuff)" thread

I just rebooted my machine hmmmp
Oh well, post when it's been up a while.

Ok any audacity experts in here? I can't get it to install ffmpeg librarys
I didn't have Audacity installed, but I just installed it. If you can tell us what you're doing [or trying to do] I'll attempt to replicate it. How are you trying to install the ffmpeg libraries? And what happens?
 
OpenSuse 12.3

Installed FFMpeg

Installed audacity

goto edit Preferences and click on the locate button locate the so file but it wont recognize it. Just says that ffmpeg import is not installed but I can go to CLI and convert through ffmpeg So I cannot convert MP3 files into audacity but if I ffmpeg them and change them to wav files I can save as MP3
 
OpenSuse 12.3

Installed FFMpeg

Installed audacity

goto edit Preferences and click on the locate button locate the so file but it wont recognize it. Just says that ffmpeg import is not installed but I can go to CLI and convert through ffmpeg So I cannot convert MP3 files into audacity but if I ffmpeg them and change them to wav files I can save as MP3
Why not just use ffmpeg on CLI and convert them to MP3? What format are the files currently?
 
As it stands now I can only import uncompressed formats (Wav, Aiff) into audacity to work on the song for a ringtone. I can then save said file as (MP3) format from Audacity. (Lame works to save the files)

Joel I get no errors just no ffmpeg

I can convert the (MP3) file over to a WAV using the ffmpeg command at the CLI and then import the song into Audacity and do my magic for my ringtone an save results as Mp3.

With ffmpeg installed and working properly I can import the MP3 without the extra steps Just for what ever reason it will not recognize the ffmpeg library (/usr/share/lib64/libavformat.so.54) the dialog box see's it and lets me choose it but Audacity refuses to accept it. I've even ran Audacity as root and tried to point to the file but it still doesnt work. Guess I'll have to do the extra steps in order to make my ringtones
 
Yeah I have lame installed but it won't load an MP3 without ffmpeg.

I have installed and uninstalled both and it still won't recognize it.
 
Wow, I guess I never noticed it either and sorta feel like I'm part of the older crowd.

they noticed the sizes, and ages of the developers and noting that grey hair was common along with a tendency to scream at young people to get off their lawn.
It will be a good idea to recruit younger people from colleges/universities and hopefully there will be some who want to join.
 
I can convert the (MP3) file over to a WAV using the ffmpeg command at the CLI and then import the song into Audacity and do my magic for my ringtone an save results as Mp3.
I just loaded a few MP3 files without issue. There must be something missing in your Audacity/ffmpeg installation.

With ffmpeg installed and working properly I can import the MP3 without the extra steps Just for what ever reason it will not recognize the ffmpeg library (/usr/share/lib64/libavformat.so.54)
I have no such file--not even that directory. I do have ffmpeg installed, and the closest files I have named like yours are:

/.
/usr
/usr/lib
/usr/lib/i686
/usr/lib/i686/cmov
/usr/lib/i686/cmov/libavformat.so.52
/usr/lib/i686/cmov/libavformat.so.52.64.2
/usr/lib/libavformat.so.52
/usr/lib/libavformat.so.52.64.2
/usr/share
/usr/share/doc
/usr/share/doc/libavformat-extra-52
/usr/share/doc/libavformat-extra-52/CREDITS
/usr/share/doc/libavformat-extra-52/README.Debian.gz
/usr/share/doc/libavformat-extra-52/TODO
/usr/share/doc/libavformat-extra-52/changelog.Debian.gz
/usr/share/doc/libavformat-extra-52/changelog.gz
/usr/share/doc/libavformat-extra-52/copyright
/usr/share/doc/libavformat-extra-52/formats.txt.gz

and

/.
/usr
/usr/lib
/usr/lib/i686
/usr/lib/i686/cmov
/usr/lib/i686/cmov/libavformat.so.52
/usr/lib/i686/cmov/libavformat.so.52.64.2
/usr/lib/libavformat.so.52
/usr/lib/libavformat.so.52.64.2
/usr/share
/usr/share/doc
/usr/share/doc/libavformat-extra-52
/usr/share/doc/libavformat-extra-52/CREDITS
/usr/share/doc/libavformat-extra-52/README.Debian.gz
/usr/share/doc/libavformat-extra-52/TODO
/usr/share/doc/libavformat-extra-52/changelog.Debian.gz
/usr/share/doc/libavformat-extra-52/changelog.gz
/usr/share/doc/libavformat-extra-52/copyright
/usr/share/doc/libavformat-extra-52/formats.txt.gz

I'm wondering if a change of location is needed in your case, although we're using different distros, so perhaps not.

the dialog box see's it and lets me choose it but Audacity refuses to accept it.
What dialog box? :confused: Within Audacity, I use its File | Open choice and select the MP3 file, and that's that. It loads the file; I don't have to choose anything else. Again, I'm thinking there's something missing at your end.

I've even ran Audacity as root and tried to point to the file but it still doesnt work.
Are you running it at a prompt, or from its menu choice?
 
Go to edit in audacity choose preferences then choose library's it allows you to point to Lame and ffmpeg locations lame works fine just ffmpeg doesn't.

I ran root from command line.

Like I said I can manually do it just sorta a pita that's all. My last install worked flawlessly so not sure why with the fresh os install why it doesn't work. ( failing hard drive caused a new install on a new drive)
 
Go to edit in audacity choose preferences then choose library's
Nope, as I mentioned before, mine has no such choice for libraries; I've checked within each preference and it's not there:

tmp_AF_audacity_1.jpeg


Which version of Audacity are you using, argedion?

ETA: What does your log show? Here's mine (from Help | Show Log):

Code:
11:39:32 AM: Audacity 2.0.0
11:39:37 AM: Retrieving FFmpeg library version numbers:
11:39:37 AM:    AVCodec version 0x352300 - 53.35.0 (built against 0x352300 - 53.35.0)
11:39:37 AM:    AVFormat version 0x351501 - 53.21.1 (built against 0x351500 - 53.21.0)
11:39:37 AM:    AVUtil version 0x331601 - 51.22.1 (built against 0x331601 - 51.22.1)
 
Here is my log

[HIGH]04:14:23 PM: Audacity 2.0.2
04:14:26 PM: Trying to load FFmpeg libraries...
04:14:26 PM: mLibAVFormatPath ('/usr/lib64/libavformat.so.54.29.104') is not empty. Loading from it.
04:14:26 PM: Checking for monolithic avformat from '/usr/lib64/libavformat.so.54.29.104'.
04:14:26 PM: avformat not monolithic
04:14:26 PM: Loading avutil from '/usr/lib64/libavutil.so.50'.
04:14:26 PM: Error: /usr/lib64/libavutil.so.50: cannot open shared object file: No such file or directory
04:14:26 PM: Loading avcodec from '/usr/lib64/libavcodec.so.52'.
04:14:26 PM: Error: /usr/lib64/libavcodec.so.52: cannot open shared object file: No such file or directory
04:14:26 PM: Loading avformat from '/usr/lib64/libavformat.so.54.29.104'.
04:14:26 PM: Error: Unknown dynamic library error
04:14:26 PM: Actual avutil path
04:14:26 PM: Error: Unknown dynamic library error
04:14:26 PM: Actual avcodec path
04:14:26 PM: Actual avformat path /usr/lib64/libavformat.so.54.29.104
04:14:26 PM: Importing symbols...
04:14:26 PM: Error: Failed to load symbol av_write_header
04:14:26 PM: Trying to load FFmpeg libraries from system paths. File name is 'libavformat.so.52'.
04:14:26 PM: Checking for monolithic avformat from 'libavformat.so.52'.
04:14:26 PM: Error: libavformat.so.52: cannot open shared object file: No such file or directory
04:14:26 PM: Loading avutil from 'libavutil.so.50'.
04:14:26 PM: Error: libavutil.so.50: cannot open shared object file: No such file or directory
04:14:26 PM: Loading avcodec from 'libavcodec.so.52'.
04:14:26 PM: Error: libavcodec.so.52: cannot open shared object file: No such file or directory
04:14:26 PM: Loading avformat from 'libavformat.so.52'.
04:14:26 PM: Error: libavformat.so.52: cannot open shared object file: No such file or directory
04:14:26 PM: Error: Failed to load FFmpeg libraries.
04:14:26 PM: Error: Failed to find compatible FFmpeg libraries.[/HIGH]
 
From the RTFM, Audacity doesn't have prefs to locate those libraries in Ubuntu.

FAQ:Installation, Startup and Plug-ins - Audacity Manual

And it's particular about which ffmpeg revisions are supported.

Check your audacity.cfg, probably under an .audacity folder of some sort.

To start over if it's hosed, clean it out, install all libs and say -

NewPrefsInitialized=1

Looks like you're missing libavutil and libavcodec.
 
From the RTFM, Audacity doesn't have prefs to locate those libraries in Ubuntu.

FAQ:Installation, Startup and Plug-ins - Audacity Manual

And it's particular about which ffmpeg revisions are supported.

Check your audacity.cfg, probably under an .audacity folder of some sort.

To start over if it's hosed, clean it out, install all libs and say -

NewPrefsInitialized=1

Looks like you're missing libavutil and libavcodec.


They are in the /usr/lib64 folder I do notice the numbers are different I think I may have a newer version of ffmpeg than I had before. Apparently Audacity doesn't support it yet maybe :
[HIGH]ffmpeg version 1.0.1[/HIGH]
 
UPDATE

I got it fixed I went to the opensuse forums and they had a multimedia one click so I clicked it and got the appropriate ffmpeg for Audacity. I'm assuming now it has a lot to do with the repository I used to get ffmpeg to begin with it was the videolan repository. Looks like Packman is it for OpenSuse.

Thanks for all the effort and help you guys rock :D
 
Back
Top Bottom