audacity can recognize ffmpeg libs,but still can not import ape files. ffplay ,ffmpeg ,mplayer works on my pc.


I have no idea what to do, anyone help?


thanks for your reply. I tried convert ape to wav by ffmpeg,it works ,and audacity can import wav file.Gale Andrews wrote:Please note that Audacity doesn't officially support latest svn FFmpeg, only 0.5.x.
I only have one .APE File to hand but it imports fine using FFmpeg 0.5.x on Windows 7 and Ubuntu 10.04.
I suggest you convert the .APE at the command line in svn FFmpeg and see if there is a problem there:
$ FFmpeg -i song.ape song.wav
If FFmpeg refuses it at the command line, check the validity of the file and if it seems correct, report it to FFmpeg.
If the file converts to .WAV, you can then import it into Audacity. In that case please upload the .APE file to a free file transfer service such as:
http://www.yousendit.com
http://www.megaupload.com
http://www.sendspace.com
and give us the web address where we can download it. Also show us the contents of Help > Show Log - FFmpeg errors are stored there.
Gale
Code: Select all
07:22:51 PM: Trying to load FFmpeg libraries
07:22:51 PM: mLibAVFormatPath is not empty, = /usr/lib/libavformat.so.52.78.3. Loading from it.
07:22:51 PM: Loading avformat from /usr/lib/libavformat.so.52.78.3
07:22:51 PM: Importing symbols...
07:22:51 PM: All symbols loaded successfully. Initializing the library.
07:22:51 PM: Retrieving library version.
07:22:51 PM: AVCodec version 0x345700 - 52.87.0 (built against 0x342000 - 52.32.0)
07:22:51 PM: AVFormat version 0x344e03 - 52.78.3 (built against 0x342400 - 52.36.0)
07:22:51 PM: AVUtil version 0x321800 - 50.24.0 (built against 0x320300 - 50.3.0)
07:22:51 PM: AVCodec version mismatch is 0
07:22:51 PM: AVFormat version mismatch is 0
07:22:51 PM: AVUtil version mismatch is 0
07:22:51 PM: Libraries loaded successfully!
07:22:57 PM: FFmpeg : av_open_input_file() failed for file /home/delectate/music/lossless/Background Music/Francois Feldman - Magic' boul'vard.ape1.3.12 does not support FFmpeg > 0.5 without hackage. Does "Soft installed from updated portage tree" mean you got the Audacity e-build from http://gentoo-portage.com/media-sound/audacity, in other words using the gentoo FFmpeg patch listed in the e-build? If so, have you reported the issue to Gentoo ?avruser wrote:Same problem in Gentoo GNU/Linux.
audacity-1.3.12
ffmpeg-0.6_p25423
Soft installed from updated portage tree (2010-11-10).
12:56:16 AM: AVCodec version 0x345c00 - 52.92.0 (built against 0x345c00 - 52.92.0)
12:56:16 AM: AVFormat version 0x345000 - 52.80.0 (built against 0x345000 - 52.80.0)
12:56:16 AM: AVUtil version 0x322003 - 50.32.3 (built against 0x322003 - 50.32.3)
12:56:16 AM: AVCodec version mismatch is 0
12:56:16 AM: AVFormat version mismatch is 0
12:56:16 AM: AVUtil version mismatch is 0
12:56:16 AM: Libraries loaded successfully!
12:56:32 AM: FFmpeg : av_open_input_file() failed for file /mnt/ntfs/Documents and Settings/All Users/Documents/My Music/Sample Music/New Stories (Highway Blues).wma
12:57:18 AM: FFmpeg : av_open_input_file() failed for file /mnt/ntfs/temp/mp3/Soundtracks/Silent Hill 2 - Original Soundtrack [EAC-MPC]/08 - Null Moon.mpc
---------------------------------------------------------
Converting files with ffmpeg in command line gives successful result.
So far I've only used FFmpeg with Audacity 1.3.12 (both from the Ubuntu 10.10 repository).Gale Andrews wrote:Steve if you are reading, do you use latest git FFmpeg with SVN HEAD on Ubuntu 10.10?
I know that 1.3.13 alpha works with the 10.10 repository build of FFmpeg OK, when compiled with the patch noted above in post 6.steve wrote:So far I've only used FFmpeg with Audacity 1.3.12 (both from the Ubuntu 10.10 repository).Gale Andrews wrote:Steve if you are reading, do you use latest git FFmpeg with SVN HEAD on Ubuntu 10.10?
I've not investigated Audacity 1.3.13 with FFmpeg. Would you like me to?
I did not use the AAC workaround as --disable-encoder=aac does not appear to be a valid option....
Workaround: change src/FFmpeg.cpp line 207 from "static int ufile_write(URLContext *h, unsigned char *buf, int size)" to "static int ufile_write(URLContext *h, const unsigned char *buf, int size)"
...
Workaround: Re-compile Audacity and change all instances of "match_ext" in ../src/FFmpeg.h and ../src/FFmpeg.cpp to "av_match_ext".
The current nightly version of FFmpeg has been recognised and other than AAC (which does not appear to work correctly) all seems well.AAC exports will be incorrect unless you disable the built-in AAC encoder (--disable-encoder=aac).