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. |
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/
|
- 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. |
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 |
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. |
Quote:
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. |
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 |
Quote:
Code:
sudo yum audacity did you read my last post at all? |
Quote:
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:
|
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 |
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 |
1 Attachment(s)
Quote:
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. :mad: 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. :cool: Some information at the Audacity forum here ---> http://forum.audacityteam.org/viewto...p?f=48&t=78491 |
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:
hang in there rpm dependencies can be a tough thing to deal with. |
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. |
Quote:
Code:
[lawg@centOS6 Downloads]$ rpm -i --test smart-config-1.3.1-66.el6.x86_64.rpm Quote:
*.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? |
All times are GMT -5. The time now is 02:30 AM. |