Difference between revisions of "MP3optimized"

From TMB Wiki
Jump to: navigation, search
m
('''Using MP3packer & MP3SX to upgrade MP3 to MP3 Surround''')
Line 39: Line 39:
  
 
For the 5.1 content of the upgraded MP3-files you will need additional players. Check the [[MP3Surround]] page for links.
 
For the 5.1 content of the upgraded MP3-files you will need additional players. Check the [[MP3Surround]] page for links.
 +
 +
===Normal file operations===
  
 
'''Upgrade cbr 192kbps stereo MP3 (without MP3 errors)'''
 
'''Upgrade cbr 192kbps stereo MP3 (without MP3 errors)'''
Line 52: Line 54:
 
Simply like that. The resulting file contains only 15kbps surround info, is by 6% larger and reports itself as ''vbr 248kbps stereo MP3''.
 
Simply like that. The resulting file contains only 15kbps surround info, is by 6% larger and reports itself as ''vbr 248kbps stereo MP3''.
  
'''Upgrade cbr 256kbps stereo MP3 (with or without MP3 errors)'''
 
 
  1. mp3packer <input>.mp3
 
  2. mp3SX -if <input>-vbr.mp3 -of <output>.mp3
 
 
The mp3packer pass removes all MP3 errors and converts the frame structure from cbr to vbr frames. That is necesary as the mp3SX encoder does not allow cbr 256kbps stereo files but accepts vbr 256kbps files without problems. The resulting file contains 15kbps surround info and is by 6% larger than the original stereo file. It reports itself as ''vbr 256kbps stereo MP3''.
 
  
 
'''Upgrade cbr 192kbps stereo MP3 (with MP3 errors)'''
 
'''Upgrade cbr 192kbps stereo MP3 (with MP3 errors)'''
Line 68: Line 64:
  
 
Not everyone wants ''vbr'' files. Therefore, the cbr structure is kept with the ''-b 192'' switch. Then mp3packer removes all MP3 errors but keeps it as a 192kbps cbr file. The finally resulting file after the mp3SX pass contains 32kbps surround info, is by 17% larger and reports itself as ''cbr 224kbps stereo MP3''.  
 
Not everyone wants ''vbr'' files. Therefore, the cbr structure is kept with the ''-b 192'' switch. Then mp3packer removes all MP3 errors but keeps it as a 192kbps cbr file. The finally resulting file after the mp3SX pass contains 32kbps surround info, is by 17% larger and reports itself as ''cbr 224kbps stereo MP3''.  
The alternative approach converts the file to vbr files with 15kbps surround info and an MP3 Surround file that is by 8% larger than the original stereo file. It reports itself as ''vbr 192kbps stereo MP3''.
+
The alternative approach converts cbr to vbr files with 15kbps surround info and an MP3 Surround file that is by 8% larger than the original stereo file. It reports itself as ''vbr 192kbps stereo MP3''.
 +
 
 +
===Special file operations===
 +
 
 +
'''Upgrade cbr 256kbps stereo MP3 (with or without MP3 errors)'''
 +
 
 +
  1. mp3packer <input>.mp3
 +
  2. mp3SX -if <input>-vbr.mp3 -of <output>.mp3
 +
 
 +
The mp3packer pass removes all MP3 errors and converts the frame structure from cbr to vbr frames. That is necesary as the mp3SX encoder does not allow cbr 256kbps stereo files but accepts vbr 256kbps files without problems. The resulting file contains 15kbps surround info and is by 6% larger than the original stereo file. It reports itself as ''vbr 256kbps stereo MP3''.
 +
 
  
 
'''Upgrade cbr 96kbps stereo MP3 (with or without MP3 errors)'''
 
'''Upgrade cbr 96kbps stereo MP3 (with or without MP3 errors)'''

Revision as of 10:02, 29 September 2006

The following are some interesting but also special examples for MP3 optimization solutions. They are all working with a DOS window or the command line interpreter of WinXP.

Using MP3Packer to modify the behavior of MP3 files

Large MP3 files, such as DJ mix sets obtained over the internet via P2P or by internet streaming are usually not error-free: they often have incomplete frames, sync errors, or come as vbr-encoded files while the cue-sheet creation or the CD burning program requires cbr-encoded MP3 files. The solution to all this is MP3packer. It always corrects all MP3 errors it can find. But it can much more:

Convert vbr files to cbr files

Very few hardware MP3 players do not accept vbr MP3 and require cbr encoded files. It is also of advantage for some CD burning solutions to have cbr MP3 files available. And finally - some people are trying to prepare cue-sheets for DJ mixes / sets and they typically find cbr files easier to handle. They all can use mp3packer for this.

  1. mp3packer -i <input>.mp3
  2. mp3packer -b <bitrate> <input>.mp3

The first mp3packer pass prints some info about the vbr MP3 file to the screen. Of particular interest is the last line. It states: "Smallest bitrate for CBR is <bitrate>". The so-found value can be used for the 2nd mp3packer pass. The final result is a cbr encoded MP3 file with the lowest possible cbr bitrate.

Convert cbr files to vbr files

  1. mp3packer <input>.mp3

This can significantly reduce the file size of high bitrate MP3 files losslessly (by up to 10% for cbr 320kbps stereo MP3).

Strip off any unwanted non-stereo info from MP3-files

Meant here is everything that is not pure stereo music, for example id3 or ape tags, non-stereo content such as surround sound overhead etc. It helps to restore the original stereo file without any hassles, errors, etc.

  1. mp3packer -i <input>.mp3
  2. mp3packer -t -s <input>.mp3

OR

  1. mp3packer -i <input>.mp3
  2. mp3packer -b <bitrate> -t -s <input>.mp3

The choice of the above options depends on the value for "Smallest bitrate for CBR is <bitrate>" from the 1st pass of mp3packer. If it is one of 128, 160, 192, 224, or 256, then the second option is probably the right one for the 2nd pass.

Using MP3packer & MP3SX to upgrade MP3 to MP3 Surround

Apart from MP3packer as a program to repair and to modifiy the structure of MP3-files, at least another tool exists that modifies MP3 files (without decoding) to provide some "added value". The tool in question is MP3SX, a tool that extracts the ambience from already existing stereo MP3-files and dispatches the full stereo content to 5.1 speakers.

Both tools together allow extensive manipulation of stereo MP3 files (without decoding them)to optimize and to upgrade existing stereo MP3-files to MP3Surround files that can be played by any software and hardware player. Check the individual pages of the two tools for more details.

For the 5.1 content of the upgraded MP3-files you will need additional players. Check the MP3Surround page for links.

Normal file operations

Upgrade cbr 192kbps stereo MP3 (without MP3 errors)

  1. mp3SX -if <input>.mp3 -of <output>.mp3

The most simple conversion to MP3 Surround. The resulting file contains 32kbps surround info, is by 17% larger and reports itself as cbr 224kbps stereo MP3.

Upgrade vbr 248kbps stereo MP3 (without MP3 errors)

  1. mp3SX -if <input>.mp3 -of <output>.mp3

Simply like that. The resulting file contains only 15kbps surround info, is by 6% larger and reports itself as vbr 248kbps stereo MP3.


Upgrade cbr 192kbps stereo MP3 (with MP3 errors)

  1. mp3packer -b 192 <input>.mp3
  2. mp3SX -if <input>-vbr.mp3 -of <output>.mp3

OR

  1. mp3packer <input>.mp3
  2. mp3SX -if <input>-vbr.mp3 -of <output>.mp3

Not everyone wants vbr files. Therefore, the cbr structure is kept with the -b 192 switch. Then mp3packer removes all MP3 errors but keeps it as a 192kbps cbr file. The finally resulting file after the mp3SX pass contains 32kbps surround info, is by 17% larger and reports itself as cbr 224kbps stereo MP3. The alternative approach converts cbr to vbr files with 15kbps surround info and an MP3 Surround file that is by 8% larger than the original stereo file. It reports itself as vbr 192kbps stereo MP3.

Special file operations

Upgrade cbr 256kbps stereo MP3 (with or without MP3 errors)

  1. mp3packer <input>.mp3 
  2. mp3SX -if <input>-vbr.mp3 -of <output>.mp3

The mp3packer pass removes all MP3 errors and converts the frame structure from cbr to vbr frames. That is necesary as the mp3SX encoder does not allow cbr 256kbps stereo files but accepts vbr 256kbps files without problems. The resulting file contains 15kbps surround info and is by 6% larger than the original stereo file. It reports itself as vbr 256kbps stereo MP3.


Upgrade cbr 96kbps stereo MP3 (with or without MP3 errors)

  1. mp3packer -b 128 <input>.mp3
  2. mp3SX -if <input>-vbr.mp3 -of <output>.mp3

Tricky. MP3Packer converts the 96kbps file losslessly to a cbr 128kbps file. This file is then accepted by mp3SX. The finally resulting MP3 Surround file reports itself as cbr 160kbps stereo MP3.

Links