Skip to content

Added support for more mp3 files.

masato-hi requested to merge masato-hi/shared-mime-info:support-many-mp3 into master

References

http://www.mp3-tech.org/programmer/frame_header.html

0xFFFA = MPEG-1 Audio Layer-3 CRC Protected
0xFFFB = MPEG-1 Audio Layer-3 Not protected
0xFFF3 = MPEG-2 Audio Layer-3 CRC Protected
0xFFF2 = MPEG-2 Audio Layer-3 Not protected
0xFFE3 = MPEG-2.5 Audio Layer-3 CRC Protected
0xFFE2 = MPEG-2.5 Audio Layer-3 Not protected

Difference

MPEG-1 Audio Layer-3

Sample rate support

  • 32kHz
  • 44.1kHz
  • 48kHz

How to make

ffmpeg -i <input> -c:a mp3 -ar 44100 -id3v2_version 0 -f mp3 <output>


MPEG-2 Audio Layer-3

Sample rate support

  • 16kHz
  • 22.5kHz
  • 24kHz

How to make

ffmpeg -i <input> -c:a mp3 -ar 24000 -id3v2_version 0 -f mp3 <output>


MPEG-2.5 Audio Layer-3

Sample rate support

  • 8kHz
  • 11.025kHz
  • 12kHz

How to make

ffmpeg -i <input> -c:a mp3 -ar 8000 -id3v2_version 0 -f mp3 <output>

Releted issues

#46 (closed)

Edited by masato-hi

Merge request reports

Loading