CD file size doesn't match program time [SOLVED]

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help 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.
racerjim
Posts: 10
Joined: Fri Jan 23, 2015 4:22 am
Operating System: Please select

CD file size doesn't match program time [SOLVED]

Post by racerjim » Fri Jan 23, 2015 4:39 am

Hi:

I'm preparing an audio-CD. When I use Audacity to prepare the tracks, the time at the end of the final track is 76min38s. I assume this should fit onto an 80min/700MB CD-R. When I export the files for CD burning, the run time of the tracks adds up to that same amount of time. However, the size of the files adds up to 792MB, and I can't record it onto a CD, it's too big. I thought that when you export in the correct format for CD-Audio (44100 HZ, 16 bit PCM), that 76min of music would come in under the 800MB limit. Further, I use IMGBURN to burn the CD, and it gives me the same file size as I get from adding up the individual files, but tells me there is 88min of music. I know there is only 76 min in the program, i timed it. Any idea what is going on, and how i can get the file size down so I can record this program on an Audio-CD?

Thanks,

Jim
Audacity 2.0.6; exe

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

Re: CD file size doesn't match program time

Post by kozikowski » Fri Jan 23, 2015 5:55 am

Music on an Audio CD is not in standard file format. It's basically a tight stream of gap-free music and an index area. If you try to burn a million audio files (99 max) the index file goes nuts trying to keep up. It's never a good idea to bump up against the limit on Audio CDs. You get many surprises.

And that's a standard Red-Book CD. If you insisted on putting song titles and other stuff on there with the odd Text option, it gets worse.
how i can get the file size down so I can record this program on an Audio-CD
Leave something out. There is no Red Book Audio CD compression. You have to sheer off minutes (or numbers of files). I don't remember this exactly, but I think if you put one single music file on there, the size numbers get really close to the numbers printed on the disk wrapper.

If you know your audience can play it, you can totally make a Data CD with MP3 files on it. You can probably get three weeks of music on there, but it won't play in your mum's Buick.

Koz

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

Re: CD file size doesn't match program time

Post by kozikowski » Fri Jan 23, 2015 5:58 am

I know this seems odd, but when it was designed, they had to find a tight data system that made no decisions. So the sound is always perfect 44100, it always has 16 bit depth, it never has titles, etc.

Koz

racerjim
Posts: 10
Joined: Fri Jan 23, 2015 4:22 am
Operating System: Please select

Re: CD file size doesn't match program time

Post by racerjim » Fri Jan 23, 2015 4:31 pm

kozikowski wrote:I know this seems odd, but when it was designed, they had to find a tight data system that made no decisions. So the sound is always perfect 44100, it always has 16 bit depth, it never has titles, etc.

Koz
Thanks for the response. Cutting it down is Plan B, and I already have an ISO for that eventuality. But the question still exists; if the sound is 44100 hz and 16 bit depth, isn't there a direct correlation between the recording time and the size of the data file? Just trying to understand, I've recorded a number of Audio-CDs with the process I'm using (Audacity ==> ImgBurn), always managed via recording time and never ran into this issue.
Thanks,

Jim

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

Re: CD file size doesn't match program time

Post by Gale Andrews » Fri Jan 23, 2015 6:20 pm

racerjim wrote:I'm preparing an audio-CD. When I use Audacity to prepare the tracks, the time at the end of the final track is 76min38s. I assume this should fit onto an 80min/700MB CD-R. When I export the files for CD burning, the run time of the tracks adds up to that same amount of time. However, the size of the files adds up to 792MB, and I can't record it onto a CD, it's too big. I thought that when you export in the correct format for CD-Audio (44100 HZ, 16 bit PCM), that 76min of music would come in under the 800MB limit. Further, I use IMGBURN to burn the CD, and it gives me the same file size as I get from adding up the individual files, but tells me there is 88min of music.
I don't know anything about IMGBURN, but 1 minute of 44100 Hz 16-bit PCM stereo audio is 10.094 MB (to three decimal places) and so 76 mins 38 seconds of such audio is 773.536 MB (to three decimal places), in one file or many.

Where do you read 792 MB? Are you using Export Multiple and including unintended audio before the first label?


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

DVDdoug
Forum Crew
Posts: 9426
Joined: Fri Sep 10, 2010 11:30 pm
Operating System: Windows 10

Re: CD file size doesn't match program time

Post by DVDdoug » Fri Jan 23, 2015 7:47 pm

This get's confusing, but are you sure you have "80 minute" CDs? Maybe try a different brand... Or, maybe it's your CD burner?

If I have some time this weekend, I'll try making an exact 80-minute file to see if I can burn it... Or, maybe I'll try 79:59 to maker sure I'm not over by one byte or something...

I thought an original 74 minute CD could really hold 74 minutes and I thought an "80 minute" CD could really hold 80 minutes...

I also thought WAV files take-up more space than the same files in audio-CD format. (Due to "file overhead" or "formatting overhead", or maybe it's just the file header which adds around 40 bytes per file.)

There's also confusion about how big a megabyte is!!! We think of it as 1 million bytes, but according to Wikipedia, it's either 1,048,576 bytes or 1,024,000 bytes. Blank DVDs are usually sold as 4.7GB, then you find out they only hold 4.38GB (according to the way Windows counts GB).

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

Re: CD file size doesn't match program time

Post by steve » Fri Jan 23, 2015 7:54 pm

In addition to comments from DVDdoug, there is a difference between "data capacity" (number of bytes of data that can be stored) and "audio capacity" (number of minutes+seconds of audio that can be stored), due to audio CDs using some of the available space for the table of contents and other format data.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

racerjim
Posts: 10
Joined: Fri Jan 23, 2015 4:22 am
Operating System: Please select

Re: CD file size doesn't match program time

Post by racerjim » Fri Jan 23, 2015 11:26 pm

DVDdoug wrote:This get's confusing, but are you sure you have "80 minute" CDs? Maybe try a different brand... Or, maybe it's your CD burner?
Definitely 80 minute/700MB CDs. If I knock the file size down to 690MB by dropping a track, I can burn it, but the total music time is on the order of 62 minutes, way below 80!

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

Re: CD file size doesn't match program time

Post by Gale Andrews » Sat Jan 24, 2015 12:10 am

steve wrote:In addition to comments from DVDdoug, there is a difference between "data capacity" (number of bytes of data that can be stored) and "audio capacity" (number of minutes+seconds of audio that can be stored), due to audio CDs using some of the available space for the table of contents and other format data.
There is a reasonably understandable explanation here: http://forum.videohelp.com/threads/3325 ... ost2062193.

The least confusing way I can think of explaining it is that:
  • CD's can store more audio burnt as an audio CD than they can when burnt as a data CD, because in audio CD mode they store more user data per sector rather than using some space for purposes like error correction
  • CD size capacity is quoted for burning as data CD, but playing time is quoted for burning as audio CD.
I "think" this is why around 800 MB of WAV data can be burnt as audio CD on a "80 minute 700 MB" CD-R and not because the overhead of WAV files is removed from the PCM stream which could not account for that difference.

Or, I and others are still confused...


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: CD file size doesn't match program time

Post by Gale Andrews » Sat Jan 24, 2015 12:17 am

Gale Andrews wrote:
racerjim wrote:I'm preparing an audio-CD. When I use Audacity to prepare the tracks, the time at the end of the final track is 76min38s. I assume this should fit onto an 80min/700MB CD-R. When I export the files for CD burning, the run time of the tracks adds up to that same amount of time. However, the size of the files adds up to 792MB, and I can't record it onto a CD, it's too big. I thought that when you export in the correct format for CD-Audio (44100 HZ, 16 bit PCM), that 76min of music would come in under the 800MB limit. Further, I use IMGBURN to burn the CD, and it gives me the same file size as I get from adding up the individual files, but tells me there is 88min of music.
I don't know anything about IMGBURN, but 1 minute of 44100 Hz 16-bit PCM stereo audio is 10.094 MB (to three decimal places) and so 76 mins 38 seconds of such audio is 773.536 MB (to three decimal places), in one file or many.

Where do you read 792 MB? Are you using Export Multiple and including unintended audio before the first label?
Apart from why you have a greater WAV file size than you should have, are you sure you are not setting IMGBURN to burn a data CD?

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

Locked