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 - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2014, 07:00 AM   #1
newbie202
LQ Newbie
 
Registered: Apr 2014
Posts: 11

Rep: Reputation: Disabled
Audacity 1.3.12 beta and FFmpeg


Hello,

How to install ffmpeg to audacity or maybe link them up.

I have a static ffmpeg from http://johnvansickle.com/ffmpeg/

Access the audacity Preferences tab and went to Libraries where it shows the MP3 Library but the FFmpeg Import/Export Library shows FFmpeg Library Version: FFmpeg support not compiled in

I got my audacity from - http://pkgs.org/centos-6/epel-x86_64...86_64.rpm.html

I am new to the Command Line(still learning) and I use GNOME to install audacity.

My system is CentOS 6.5.
 
Old 04-30-2014, 10:15 AM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
I know that this likely isn't a complete answer to your problem here, but it might help. If you have a good RPM package manager, it would go a long way towards be able to see just what you are getting for each RPM that you install. I have found the smart package manager with its GUI interface (http://labix.org) to be very useful. Your problem might be as simple as you didn't get a proper ffmpeg library from http://johnvansickle.com/ffmpeg/
 
Old 04-30-2014, 10:28 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
- why do you need this particular version of ffmpeg? shouldn't you just install the ffmpeg version that centos offers you?
i know it's a bit tricky to get multimedia repos in centos.

- have you activated the epel repos (or whatever they're called) or did you install this by hand?
how exactly did you install audacity?

- "FFmpeg support not compiled in" - i'm sorry, but with the installed version of audacity you won't get ffmpeg support.

may i ask what you are trying to achieve? maybe there's a different way.
 
Old 04-30-2014, 10:54 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Also, why are you running such an old beta version of audacity? The current version (not beta) is. 2.0.5 and this version was released in October 2013.
jdk
 
Old 05-01-2014, 07:30 AM   #5
newbie202
LQ Newbie
 
Registered: Apr 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
HellO,

Xode - Thank you for the tip and you are right. I have no idea what I am getting with a particular RPM and what you suggest wlii help. Which package should I get - smart-1.3.1-66.el6.x86_64.rpm - Next generation package handling tool OR smart-gui-1.3.1-66.el6.x86_64.rpm - Graphical user interface for the smart package manager OR both?

Ondoho - I have trying to play m4a files on audacity. Recordings that I have made with my handpone. Currently audacity won't accept the filer without the ffmpeg package.

jdkaye - I did a Google search for audacity and all I get was as what I posted. Just went to http://audacity.sourceforge.net/ and downloaded the audacity-2.0.5-2.fc20.x86_64.rpm, (I wonder why I never Google audacity - slap forehead) and thank you for the tip :-)

Did a yum search audacity and got this - audacity.x86_64 : Multitrack audio editor. Not sure what version or anything.

I think I will install the rpm package I downloaded from audacity.sourceforge. Will post later about the ffmpeg.

Thank you all.
 
Old 05-01-2014, 08:47 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by newbie202 View Post
I think I will install the rpm package I downloaded from audacity.sourceforge. Will post later about the ffmpeg.
no, you should try the yum package first.

you are going about this the windows way: search for software, download, install - which is the wrong way.
on linux you do: search your packet manager, install package.
if your packet manager does not have the appropriate version you try to remedy that through the packet management which usually means adding repositories.

centos is not perfect for multimedia stuff, but it should be possible.

Last edited by ondoho; 05-01-2014 at 10:03 AM.
 
Old 05-01-2014, 09:38 AM   #7
newbie202
LQ Newbie
 
Registered: Apr 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
The installation for audacity-2.0.5-2.fc20.x86_64.rpm (rpm -i <audacity....> was not successful:-

error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libm.so.6(GLIBC_2.15)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libportaudio.so.2()(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libsoxr.so.0()(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
portaudio(x86-64) >= 19-16 is needed by audacity-2.0.5-2.fc20.x86_64

Download audacity-minsrc-2.0.5.tar.xz from http://audacity.sourceforge.net/download/source.
This version requires 1) wxWidgets 2) cmake which I installed using sudo yum install <program> successfully.

untared audacity-minsrc-2.0.5.tar.xz. However when I ./configure && make in the Audacity source directory:-

[lawg@centOS6 audacity-src-2.0.5]$ ./configure && make
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for C compiler vendor... gnu
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... yes
checking for a sed that does not truncate output... /bin/sed
checking whether the linker accepts the -rdynamic flag... yes
checking for an ANSI C-conforming const... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for alloca.h... yes
checking CFLAGS for strict prototypes... -Wstrict-prototypes
checking wall_flags for maximum warnings... -Wall
checking whether the C++ compiler accepts the -Wall flag... yes
checking whether the C++ preprocessor accepts the -Wall flag... yes
checking for simple visibility declarations... yes
checking for wx-config... no
configure: error: "Could not find wx-config: is wxWidgets installed? is wx-config in your path?"


Question: 1)How do I find the wx-config 2)How do I change/configure the path 3)Do I also need to include the path for cmake
 
Old 05-01-2014, 10:01 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ondoho View Post
no, you should try the yum package first.
what i meant: you should install audacity with
Code:
sudo yum audacity
(or whatever the appropriate command is in centos).
did you read my last post at all?
 
Old 05-01-2014, 12:56 PM   #9
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
Quote:
Originally Posted by newbie202 View Post
HellO,

Xode - Thank you for the tip and you are right. I have no idea what I am getting with a particular RPM and what you suggest wlii help. Which package should I get - smart-1.3.1-66.el6.x86_64.rpm - Next generation package handling tool OR smart-gui-1.3.1-66.el6.x86_64.rpm - Graphical user interface for the smart package manager OR both?

...

Thank you all.
You want to download both smart-1.3.1-66.el6.x86_64.rpm and smart-gui-1.3.1-66.el6.x86_64.rpm. smart-1.3.1-66.el6.x86_64.rpm provides only a command line interface. smart-gui-1.3.1-66.el6.x86_64.rpm provides the GUI extension to smart-1.3.1-66.el6.x86_64.rpm's command line interface.

However, at a command line terminal and after having downloaded smart-1.3.1-66.el6.x86_64.rpm, and while running as a regular user (i.e. NOT root), you want to run "rpm -i --test smart-1.3.1-66.el6.x86_64.rpm" (without the quotes) in order to see if there are things like failed dependencies and/or conflicts with what you have already installed. You are likely to find many failed dependencies (but no conflicts), all of which should be packages that you can download and install, ideally from the centos repository. You will then need to do "rpm -i --test ..." on each of those packages and get whatever packages they depend on, if any, until you have all of the packages needed such that "rpm -i --test ..." done on every package, including smart-1.3.1-66.el6.x86_64.rpm returns no errors. You will likely need to download at least 5 additional packages beyond smart-1.3.1-66.el6.x86_64.rpm. Once, all of this is done, you are ready to install smart-1.3.1-66.el6.x86_64.rpm. To do so, you will need to become root and run "rpm -i <package-name>" for every package, starting with the packages that could have already been installed without problem and working your way up to smart-1.3.1-66.el6.x86_64.rpm. Then, once smart-1.3.1-66.el6.x86_64.rpm has been installed, you can then install smart-gui-1.3.1-66.el6.x86_64.rpm, whose only dependency should be smart-1.3.1-66.el6.x86_64.rpm.

Once you have the smart package manager installed, you will be able to specify linux directories as channels to smart, which smart will then use as repositories for the RPMs it manages.

Warning: do not add or remove any RPM files from any linux directories that you have set up as channels in smart, without first turning off the channel(s) in smart beforehand, and then, after having made your changes to the linux directories, turn on the channel and have smart refresh the channel(s). Otherwise, smart will likely give you a python error and will not start.

Quote:
The installation for audacity-2.0.5-2.fc20.x86_64.rpm (rpm -i <audacity....> was not successful:-

error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libm.so.6(GLIBC_2.15)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libportaudio.so.2()(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libsoxr.so.0()(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
portaudio(x86-64) >= 19-16 is needed by audacity-2.0.5-2.fc20.x86_64
Your system is literally crying out for smart. Also, it is much safer to do "rpm -i --test ..." as a non root user rather than "rpm -i ..." as root, until you are absolutely sure that the install will incur no problems. Once you have smart installed, you will be able to do this effortlessly through its GUI interface. Regarding failed dependencies, what happens with audacity-2.0.5-2.fc20.i586.rpm?
 
Old 05-01-2014, 05:02 PM   #10
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
a better way is to convert m4a (or any other) files to wav and then open them in audacity"
Code:
ffmpeg -i infile.m4a outfile.wav
 
Old 05-02-2014, 01:25 AM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
dear newbie202,

i think what others posted here is valid, but first you should try to solve your problems with what centos has to offer.

do you know what package management is?
you should.
do you know that centos is a free version of RHEL and so most things that apply to redhat apply to centos too?

i just searched "centos 6.5 multimedia repositories" and came up with this:
http://wiki.centos.org/AdditionalResources/Repositories
 
Old 05-02-2014, 04:10 AM   #12
bat999
LQ Newbie
 
Registered: Sep 2013
Location: UK
Distribution: Linux Mint 18 "Sarah" - Xfce (64-bit)
Posts: 29

Rep: Reputation: Disabled
Quote:
Originally Posted by newbie202 View Post
... went to Libraries where it shows the MP3 Library but the FFmpeg Import/Export Library shows FFmpeg Library Version: FFmpeg support not compiled in ...
Hi
This is also the case with Audacity in Ubuntu-14.04 repository.
Audacity-2.0.5 isn't compatible with newer FFmpeg libraries, so it's been compiled by Ubuntu/Canonical without FFmpeg support.

Maybe eventually Audacity will be updated...

In the meantime, with Ubuntu, a solution is to compile Audacity from tar.xz or svn linked to local shared (older) FFmpeg libraries.
FFmpeg-0.10.12 libraries are suitable.

Some information at the Audacity forum here ---> http://forum.audacityteam.org/viewto...p?f=48&t=78491
Attached Thumbnails
Click image for larger version

Name:	audacity.png
Views:	10
Size:	146.2 KB
ID:	15397  
 
Old 05-02-2014, 06:31 AM   #13
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Wait as it is well known audacity had no choice. ffmpeg has changed and split. but that doesn't mean audacity is unable to do what you want.
ffmpeg is a standalone program that handles codecs etc etc and many things. if you need support for all the you need. You just need to read up on
what you want to do. And Audacity will handle a lot of stuff.
If you build in all the none free stuff you can do a bunch.
Quote:
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libm.so.6(GLIBC_2.15)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libportaudio.so.2()(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libsoxr.so.0()(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by audacity-2.0.5-2.fc20.x86_64
portaudio(x86-64) >= 19-16 is needed by audacity-2.0.5-2.fc20.x86_64
that just means your running a none compatible glic a different version most likely your is old and is using 2.13 GLIBC.
hang in there rpm dependencies can be a tough thing to deal with.
 
Old 05-02-2014, 07:48 AM   #14
newbie202
LQ Newbie
 
Registered: Apr 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hello,

xode - Thank you for the information. I have cut and paste it out to a file to refer it need. Run the rpm -i --test:-

[lawg@centOS6 Downloads]$ rpm -i --test smart-1.3.1-66.el6.x86_64.rpm
warning: smart-1.3.1-66.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 66534c2b: NOKEY
error: Failed dependencies:
smart-config is needed by smart-1.3.1-66.el6.x86_64

I have no idea why it failed. Perhaps can start another thread on this. Something more for me to learn about Linux.

As for audacity-2.0.5-2.fc20.i586.rpm, I am unable to locate it:-
http://rpmfind.net/linux/rpm2html/se...query=audacity
http://koji.fedoraproject.org/koji/p...packageID=1352

What does the i586 means? My system is an AMD A10-5800K APU with Radeon(tm) HD Graphics

DJ Shaji - Thank you for that. It is indeed an alternative solution for audacity. Does that mean that I must have the ffmpeg folder and that the convertion can only be done in that particular folder.

ondoho - Yes I have indeed tried the sudo yum install audacity:-

[lawg@centOS6 ~]$ sudo yum install audacity
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 4.5 kB 00:00
* base: mirror.upsi.edu.my
* epel: mirrors.123host.vn
* extras: mirror.upsi.edu.my
* rpmforge: mirror.smartmedia.net.id
* updates: mirror.dionipe.net
base | 3.7 kB 00:00
epel | 4.4 kB 00:00
epel/primary_db | 6.1 MB 00:21
extras | 3.4 kB 00:00
linuxtech-release | 2.6 kB 00:00
rpmforge | 1.9 kB 00:00
testing-1.1-devtools-6 | 951 B 00:00
updates | 3.4 kB 00:00
virtualbox | 951 B 00:00
1888 packages excluded due to repository priority protections
Setting up Install Process

Resolving Dependencies
--> Running transaction check
---> Package audacity.x86_64 0:1.3.12-0.6.beta.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
audacity x86_64 1.3.12-0.6.beta.el6 epel 3.4 M

Transaction Summary
================================================================================
Install 1 Package(s)

Total download size: 3.4 M
Installed size: 13 M
Is this ok [y/N]: n

As you can see it's gives me the old version.

For package management, note the 1888 packages excluded due to repository priority protections
Setting up Install Process
and also as stated in the warning note of Third Party Repositories - unintended 'updates' from these side archives from over-writing some core part of CentOS - I feel that I should err on the side of caution as my understanding of package management is...leave a lot to be desired, thus I put that on hold as I know not what I am doing.

As your understanding of package management is more then what I understand, perhaps helping me with the audacity installation will increase my knowledge of Linux, the how and why of it, as I believe I learn better by doing....

bat999 - Thank you for the lead. Got to go and locate the correct version of ffmpeg for Audacity 2.0.5 :-)

Drakeo - Thank you for the support. Hanging in there and hoping to learn more :-) with all you advise and help.
 
Old 05-02-2014, 09:50 AM   #15
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
Quote:
Originally Posted by newbie202 View Post
Hello,

xode - Thank you for the information. I have cut and paste it out to a file to refer it need. Run the rpm -i --test:-

[lawg@centOS6 Downloads]$ rpm -i --test smart-1.3.1-66.el6.x86_64.rpm
warning: smart-1.3.1-66.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 66534c2b: NOKEY
error: Failed dependencies:
smart-config is needed by smart-1.3.1-66.el6.x86_64

I have no idea why it failed. Perhaps can start another thread on this. Something more for me to learn about Linux.
This just means that smart-1.3.1-66.el6.x86_64.rpm requires smart-config-1.3.1-66.el6.x86_64.rpm and rpm didn't find smart-config-1.3.1-66.el6.x86_64.rpm installed on your system. That, in turn, means that you need to find, download smart-config-1.3.1-66.el6.x86_64.rpm and check it for dependencies just like you did smart-1.3.1-66.el6.x86_64.rpm, e.g.
Code:
[lawg@centOS6 Downloads]$ rpm -i --test smart-config-1.3.1-66.el6.x86_64.rpm
Then, you need to keep doing the above checks for all of the RPMs required until you are certain that you have all RPMs required by either smart-1.3.1-66.el6.x86_64.rpm or any RPM it requires, either directly or indirectly. As for finding those RPMs, I have found that http://rpm.pbone.net to be a good place to go to.

Quote:
As for audacity-2.0.5-2.fc20.i586.rpm, I am unable to locate it:-
http://rpmfind.net/linux/rpm2html/se...query=audacity
http://koji.fedoraproject.org/koji/p...packageID=1352

What does the i586 means? My system is an AMD A10-5800K APU with Radeon(tm) HD Graphics
If * means any package name, version, intended linux distribution, etc., as for example, audacity-2.0.5-2.fc20 or ProgramLibraryX-11.0.34-7.0.9.mdk12, then:

*.i586.rpm is the 32 bit version of the program and runs on 32 bit CPUs.

*.x86_64.rpm is the 64 bit version of the program and runs on 64 bit CPUs.

What does rpm.pbone.net say about audacity-2.0.5-2.fc20.i586.rpm?
 
  


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
[SOLVED] audacity "1.3.12-beta" recording issues gustav521 Linux - Software 4 05-15-2011 11:57 AM
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 12:14 PM
problem trying to build audacity-1.3.4-beta dissociative Slackware 4 12-07-2007 03:41 PM
Editing Hassles - Audacity 1.3.2 beta, SuSE 10.0 J.W. Linux - Software 2 11-26-2006 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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