MP3 Export Anomaly - Developer Comments?
Posted: Mon Mar 07, 2011 1:45 am
When exporting WAV files to MP3 files, I have gotten two different output file sizes when exporting the same file and using all the same parameters.
When the "Export File > Options" dialog box opens, you can make choices for Bit Rate, Quality, Speed, and Mode.
If you select "Preset" for Bit Rate, the Mode block is grayed-out and cannot be selected. BUT whatever value it was set to previously effects the size, and quality(?), of the output file for this iteration.
Using the same WAV file as input:
With MP3 Export Options set to: Bit Rate = Preset; Quality = Standard; Speed = Fast; and Mode = Joint Stereo from the last iteration, an output file of size N bytes is created.
With MP3 Export Options set to: Bit Rate = Preset; Quality = Standard; Speed = Fast; and Mode = Stereo (Discrete stereo as opposed to Joint stereo) from the last iteration, an output file of size N+12288 bytes is created.
That's 3 extra 4K blocks on disk from a function that, in theory, cannot be selected. Spacewise, three extra 4K blocks is no big deal, but why does the Mode parameter, which cannot be selected when using the Preset Bit Rate, cause a difference in output file size if it is theoretically not used? Is this a bug?
What Mode is actually employed by Audacity behind the scenes when using the Preset Bit Rate? Just curious.
JP
When the "Export File > Options" dialog box opens, you can make choices for Bit Rate, Quality, Speed, and Mode.
If you select "Preset" for Bit Rate, the Mode block is grayed-out and cannot be selected. BUT whatever value it was set to previously effects the size, and quality(?), of the output file for this iteration.
Using the same WAV file as input:
With MP3 Export Options set to: Bit Rate = Preset; Quality = Standard; Speed = Fast; and Mode = Joint Stereo from the last iteration, an output file of size N bytes is created.
With MP3 Export Options set to: Bit Rate = Preset; Quality = Standard; Speed = Fast; and Mode = Stereo (Discrete stereo as opposed to Joint stereo) from the last iteration, an output file of size N+12288 bytes is created.
That's 3 extra 4K blocks on disk from a function that, in theory, cannot be selected. Spacewise, three extra 4K blocks is no big deal, but why does the Mode parameter, which cannot be selected when using the Preset Bit Rate, cause a difference in output file size if it is theoretically not used? Is this a bug?
What Mode is actually employed by Audacity behind the scenes when using the Preset Bit Rate? Just curious.
JP