Problem opening large .wma in Audacity v 2.1

Help for Audacity on macOS.
Forum rules
ImageThis forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
sergeima
Posts: 42
Joined: Tue Apr 14, 2015 11:25 pm
Operating System: Please select

Problem opening large .wma in Audacity v 2.1

Post by sergeima » Fri May 01, 2015 8:46 pm

Hi All!

I installed the newest A. v 2.1 to the system Applications, made sure I have FFmpeg 2.2.2 installed (and known to A. - I checked Preferences/Library, clicked on Locate under FFmpeg-tab and saw Success! message), and tried to open large 400MB .wma file. The code was thinking for 1+ minute showing "opening" window and counting time. Then that window disappeared but nothing happens, the file was not loaded. I repeated it several times, even restarted my Mac (Power Book, OSX 10.9.2) and tried again without success.

I have another instance of Audacity 2.0.5 installed in different location on the same Mac. It opens this file all right most of the time - sometimes it mixes it with some message about FFmpeg, but not always. So, I am concluding the file is OK. What I do wrong and what I should do to load this file to the new Audacity? Thank you for all opinions.

Sergei

P.S. I am under deadline and I am a great deal hesitant to remove my working A. v.2.0.5 from the system.

sergeima
Posts: 42
Joined: Tue Apr 14, 2015 11:25 pm
Operating System: Please select

Re: Problem opening large .wma in Audacity v 2.1

Post by sergeima » Fri May 01, 2015 11:27 pm

I saw now ongoing discussion of the related problem several posts below. I must add that I use 2.1.0 downloaded from official Audacity site, so please disregard any prior mentioning of 2.1.

I can give developers cloud-reference to my .wma file if someone is interested. However, I can load it with 2.0.5 all right, so I do not see much sense in that. I am willing to collaborate in pinpointing the problem, just give me directions what to do. (And yes, I am trying opening/importing it from the local HD, not from network)

Also, I can open in 2.1.0 my project based on this problem file, which was created with 2.0.5. 2.1.0 sees that waveform all right, although slightly modified (mono instead of original false stereo, some cuts, deamplifications). Confused.

In 2.1.0 I tried both Open and Import to load that .wma

Thank you,
Sergei

sergeima
Posts: 42
Joined: Tue Apr 14, 2015 11:25 pm
Operating System: Please select

Re: Problem opening large .wma in Audacity v 2.1

Post by sergeima » Fri May 01, 2015 11:39 pm

Here is log of my 2.1.0 session today. At 15:31:13 my file opening operation succeeded, according to the log. The problem is, I do not see its waveform in the window. I even tried to resize the window


13:30:30: Audacity 2.1.0
13:30:30: Trying to load FFmpeg libraries...
13:30:30: mLibAVFormatPath ('/Users/maurits/Downloads/ffmpeg-mac-2/libavformat.55.dylib') is not empty. Loading from it.
13:30:30: Checking for monolithic avformat from '/Users/maurits/Downloads/ffmpeg-mac-2/libavformat.55.dylib'.
13:30:30: avformat not monolithic
13:30:30: Loading avutil from '/Users/maurits/Downloads/ffmpeg-mac-2/./libavutil.52.dylib'.
13:30:30: Loading avcodec from '/Users/maurits/Downloads/ffmpeg-mac-2/./libavcodec.55.dylib'.
13:30:30: Loading avformat from '/Users/maurits/Downloads/ffmpeg-mac-2/libavformat.55.dylib'.
13:30:30: Actual avutil path /Users/maurits/Downloads/ffmpeg-mac-2/./libavutil.52.dylib
13:30:30: Actual avcodec path /Users/maurits/Downloads/ffmpeg-mac-2/./libavcodec.55.dylib
13:30:30: Actual avformat path /Users/maurits/Downloads/ffmpeg-mac-2/libavformat.55.dylib
13:30:30: Importing symbols...
13:30:30: All symbols loaded successfully. Initializing the library.
13:30:30: Retrieving FFmpeg library version numbers:
13:30:30: AVCodec version 0x373466 - 55.52.102 (built against 0x373466 - 55.52.102)
13:30:30: AVFormat version 0x372164 - 55.33.100 (built against 0x372164 - 55.33.100)
13:30:30: AVUtil version 0x344264 - 52.66.100 (built against 0x344264 - 52.66.100)
13:30:30: FFmpeg libraries loaded successfully.
15:00:43: Attempting to load LAME from previously defined path
15:00:43: Loading LAME from /Library/Application Support/audacity/libs/libmp3lame.dylib
15:00:43: Error: dlopen(/Library/Application Support/audacity/libs/libmp3lame.dylib, 1): no suitable image found. Did find:
/Library/Application Support/audacity/libs/libmp3lame.dylib: open() failed with errno=13
15:00:43: load failed
15:00:43: Attempting to load LAME from system search paths
15:00:43: Loading LAME from libmp3lame.dylib
15:00:43: Error: dlopen(libmp3lame.dylib, 1): image not found
15:00:43: load failed
15:00:43: Attempting to load LAME from builtin path
15:00:43: Loading LAME from /usr/local/lib/audacity/libmp3lame.dylib
15:00:43: Actual LAME path /usr/local/lib/audacity/libmp3lame.dylib
15:00:43: LAME library successfully loaded
15:31:07: File name is /Users/maurits/Music/Лекции_Лурье/Лекция_2/лекция_2_0т_бароко_до_классицизма.wma
15:31:07: Mime type is *
15:31:07: Opening with libav
15:31:07: Error: FFmpeg : avcodec_open() failed. Index[00], Codec[15027 - ]
15:31:07: Opening with libsndfile
15:31:07: Opening with liboggvorbis
15:31:07: Opening with libflac
15:31:07: Opening with lof
15:31:07: Opening with quicktime
15:31:13: Open(/Users/maurits/Music/Лекции_Лурье/Лекция_2/лекция_2_0т_бароко_до_классицизма.wma) succeeded

cyrano
Posts: 2629
Joined: Fri Apr 17, 2015 11:54 pm
Operating System: macOS 10.13 High Sierra

Re: Problem opening large .wma in Audacity v 2.1

Post by cyrano » Sat May 02, 2015 12:26 am

I think that you FFmpeg install went wrong, or you found some bug.

Code: Select all

15:00:43: Error: dlopen(/Library/Application Support/audacity/libs/libmp3lame.dylib, 1): no suitable image found. Did find:
/Library/Application Support/audacity/libs/libmp3lame.dylib: open() failed with errno=13
15:00:43: load failed

And I'm wondering, why in WMA?

sergeima
Posts: 42
Joined: Tue Apr 14, 2015 11:25 pm
Operating System: Please select

Re: Problem opening large .wma in Audacity v 2.1

Post by sergeima » Sat May 02, 2015 12:55 am

cyrano wrote:I think that you FFmpeg install went wrong, or you found some bug.

Code: Select all

15:00:43: Error: dlopen(/Library/Application Support/audacity/libs/libmp3lame.dylib, 1): no suitable image found. Did find:
/Library/Application Support/audacity/libs/libmp3lame.dylib: open() failed with errno=13
15:00:43: load failed
This is about LAME lib. It was happily found a second later
cyrano wrote: And I'm wondering, why in WMA?
I was given this file as a 1.5 hours lecture recording through the room audio system for editing and MP3 conversion. Not the best choice in my view, but I have no idea what was on the list

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Problem opening large .wma in Audacity v 2.1

Post by Gale Andrews » Sat May 02, 2015 1:01 am

When you say you have a "PowerBook", is that actually an Intel machine?

The problem we have in 2.1.0 where files don't import relates to the QuickTime importer, which imports MPEG-4 audio, not WMA. See Audacity 2.1.0: FFmpeg required for MP4/M4A/MOV/ALAC import.

FFmpeg should automatically take WMA files but as you can see from the log, there is a codec error 15027, so QuickTime then tries to take the file, but fails because it is not intended to take WMA files. Even if it was a WMA file inside an MP4 container, I doubt QuickTime would import it.

Did you obtain FFmpeg from http://manual.audacityteam.org/o/man/fa ... html#macff?

Codec 15027 suggests that the file is WMA lossless according to this reference. According to the FFmpeg documentation ( http://ffmpeg.org/general.html#Audio-Codecs) WMA lossless decoding is supported by FFmpeg 2.2.2, but I think that support may only be for 16-bit files, not 24-bit WMA lossless.

Are you saying Audacity 2.0.5 can import that WMA file? That would surprise me because 2.0.5 will not accept FFmpeg 2.2.2. It will expect FFmpeg 0.6.2 and I don't recall that FFmpeg 0.6.2 would decode WMA lossless.

Have you examined the file in MediaInfo? That may give you more information about the file.

Yes please post a link to the file and I will have a look at it, but it could be a problem with FFmpeg 2.2.2 and not Audacity.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Problem opening large .wma in Audacity v 2.1

Post by Gale Andrews » Sat May 02, 2015 1:16 am

sergeima wrote:I can open in 2.1.0 my project based on this problem file, which was created with 2.0.5. 2.1.0 sees that waveform all right, although slightly modified (mono instead of original false stereo, some cuts, deamplifications).
If 2.0.5 imported the file sufficiently to give a corrupted waveform, then that audio data is stored by Audacity as lossless PCM, and so 2.1.0 will display the audio as 2.0.5 sees it.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

sergeima
Posts: 42
Joined: Tue Apr 14, 2015 11:25 pm
Operating System: Please select

Re: Problem opening large .wma in Audacity v 2.1

Post by sergeima » Sat May 02, 2015 1:39 am

Gale Andrews wrote:When you say you have a "PowerBook", is that actually an Intel machine?
Yes, mid 2010 , Intel Core i7, 17"
Gale Andrews wrote: The problem we have in 2.1.0 where files don't import relates to the QuickTime importer, which imports MPEG-4 audio, not WMA. See Audacity 2.1.0: FFmpeg required for MP4/M4A/MOV/ALAC import.

FFmpeg should automatically take WMA files but as you can see from the log, there is a codec error 15027, so QuickTime then tries to take the file, but fails because it is not intended to take WMA files. Even if it was a WMA file inside an MP4 container, I doubt QuickTime would import it.

Did you obtain FFmpeg from http://manual.audacityteam.org/o/man/fa ... html#macff?
I went through A. 2.1.0 Preferences/Library/FFmpeg/Download. If it leads to that destination you mentioned above, the answer is yes
Gale Andrews wrote: Codec 15027 suggests that the file is WMA lossless according to this reference. According to the FFmpeg documentation ( http://ffmpeg.org/general.html#Audio-Codecs) WMA lossless decoding is supported by FFmpeg 2.2.2, but I think that support may only be for 16-bit files, not 24-bit WMA lossless.
Yes, it is 24-bit WMA lossless.

General
Complete name : /Users/maurits/Music/Лекции_Лурье/Лекция_2/лекция_2_0т_бароко_до_классицизма.wma
Format : Windows Media
File size : 376 MiB
Duration : 1h 32mn
Overall bit rate mode : Variable
Overall bit rate : 569 Kbps
Maximum Overall bit rate : 586 Kbps
Encoded date : UTC 2015-04-08 18:11:01.870
Writing application : Adobe Audition 1.5.4124.1

Audio
ID : 1
Format : WMA
Format profile : Lossless
Codec ID : 163
Codec ID/Info : Windows Media Audio
Description of the codec : Windows Media Audio 9.2 Lossless - VBR Quality 100, 44 kHz, 2 channel 24 bit 1-pass VBR
Duration : 1h 32mn
Bit rate mode : Variable
Bit rate : 570 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 24 bits
Stream size : 377 MiB
Language : Russian
Gale Andrews wrote: Are you saying 2.0.5 can import that WMA file? That would surprise me because 2.0.5 will not accept FFmpeg 2.2.2. It will expect FFmpeg 0.6.2 and I don't recall that FFmpeg 0.6.2 would decode WMA lossless.
It is possible. First A. 2.0.5 asks for FFmpeg, but then agrees to load it it anyway (QTime?). Sometimes result is mixed with repeated message about FFmpeg, sometimes not. I use these unmixed tracks.
Gale Andrews wrote: Have you examined the file in MediaInfo? That may give you more information about the file.
Yes, see above
Gale Andrews wrote: Yes please post a link to the file and I will have a look at it, but it could be a problem with FFmpeg 2.2.2 and not Audacity.

Gale
A. 2.1.0 cannot open a whole bunch of formats into a waveform, as it follows from recent discussions on this forum. It could be a problem with Audacity and not FFmpeg 2.2.2.

I would prefer to e-mail the link to the file in private e-mail. Is it possible?

Thank you for fast reply,
Sergei

sergeima
Posts: 42
Joined: Tue Apr 14, 2015 11:25 pm
Operating System: Please select

Re: Problem opening large .wma in Audacity v 2.1

Post by sergeima » Sat May 02, 2015 1:46 am

Gale Andrews wrote:
sergeima wrote:I can open in 2.1.0 my project based on this problem file, which was created with 2.0.5. 2.1.0 sees that waveform all right, although slightly modified (mono instead of original false stereo, some cuts, deamplifications).
If 2.0.5 imported the file sufficiently to give a corrupted waveform, then that audio data is stored by Audacity as lossless PCM, and so 2.1.0 will display the audio as 2.0.5 sees it.


Gale
Sorry, I realized I was not clear. I import .wma into A. 2.0.5, and I see it as a stereo waveform, as it is after recording. I transfer it to mono, remove some clipping, pauses, etc. and save it to A. project. Then I can open this project with A. 2.1.0 all right.

sergeima
Posts: 42
Joined: Tue Apr 14, 2015 11:25 pm
Operating System: Please select

Re: Problem opening large .wma in Audacity v 2.1

Post by sergeima » Sat May 02, 2015 2:08 am

sergeima wrote: I would prefer to e-mail the link to the file in private e-mail. Is it possible?

PM with the file location was sent.

Thank you,
Sergei

Post Reply