Importing a large audio MP3 file

Effects, Recipes, Interfacing with other software, etc.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
mookien
Posts: 1
Joined: Wed Apr 09, 2008 2:16 pm
Operating System: Please select

Importing a large audio MP3 file

Post by mookien » Wed Apr 09, 2008 2:29 pm

I'm trying to import a rather large MP3 file (> 230 MBs - a four-hour radio program that I recorded from my PC) and Audacity seems to get hung-up and won't process/import the file. I'd like to edit this file - removing certain segments. I'm using the stable version. Is there a limit to file size? Should I convert my file to another format or a lesser quality MP3? Any good programs that do this? Thanks!

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Importing a large audio MP3 file

Post by steve » Wed Apr 09, 2008 5:36 pm

The max file size is about 2GB uncompressed. (This is not a bug, it is a limitation due to 32 bit addressing, and equally applies to the max size of a WAV file).

Use an mp3 splitter to make smaller mp3's so that when uncompressed it is less that 2 GB.

Also make sure that you have LOTS of free disk space - I'd recommend a minimum of 10% of the total disk space + 10x the uncompressed file size (for a 200GB drive and a 1 GB file, that would be a minimum of 20 + 10 = 30GB free space minimum).

Also remember that it will take Audacity some time to import very large files as it has to uncompress them and calculate the wave display before it can proceed.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

alatham
Posts: 1591
Joined: Tue Jul 31, 2007 2:27 pm
Operating System: Windows 10

Re: Importing a large audio MP3 file

Post by alatham » Fri Apr 25, 2008 2:40 pm

I have a quick correction.

Steve said:
The max file size is about 2GB uncompressed. (This is not a bug, it is a limitation due to 32 bit addressing, and equally applies to the max size of a WAV file).
This is only true of exported wav files. Audacity can import larger files and export them to a format other than wav. You simply can't export wav files larger than 2GB.

I agree with everything else. Either mookien either doesn't have the available drive space, is working from a network drive, has a corrupt mp3 file, or is simply not waiting long enough. Audacity's "progress bar" when running certain processes doesn't seem to be perfectly accurate so if it stops, walk away for 10 minutes and make a cup of tea, it might still finish.

The tea is important, but others might disagree.

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Importing a large audio MP3 file

Post by steve » Fri Apr 25, 2008 5:11 pm

alatham wrote:This is only true of exported wav files. Audacity can import larger files and export them to a format other than wav. You simply can't export wav files larger than 2GB.
Are you sure about that? I mean, have you tested it?
The reason that I ask is that I remember someone having problems with a project that contained very long tracks and the project crashed as soon as the uncompressed file size got to the 2 GB mark, but only on a 32 bit machine - On 64 bit hardware and OS they did not have the problem (and they had plenty of free disk space on both machines).

(I can't test it myself - not enough free disk space)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Importing a large audio MP3 file

Post by kozikowski » Sat Apr 26, 2008 6:54 am

A 230MB MP3 file at 10:1 compression will expand itself to 2.3GB when it is imported and edited. The import process alone may take enough time for you to go down to the 7-Eleven for a Big Gulp. From that point on, Audacity will have to manage the whole file and two or three UNDO levels, so the whole project can't take any more than about 10GB or so. Invoking the 10% free disk space rule.....you get the idea? This is much too large project for any but the most extreme professional computer.

So yes, you need to break it up into manageable chunks before you do any processing.

As you process, you need to remember what you did so you can apply the same processing to each chunk. Legal Pads and nice Pentel Pens, I think, because not all of the tools will let you save the settings and preferences.

Somebody is forcing you to do this project, right? You didn't volunteer, did you?

Koz

Post Reply