How to convert common audio formats under Linux

Source: Internet
Author: User

Conversion method "Turn" between common audio formats under Linux

The following is a brief introduction to the conversion method between common audio formats for Linux environments:

MP3 Related tools: lame
OGG Related tools: Vorbis-tools
APE Related tools: Mac
FLAC related tools: FLAC
WAV Related tools: Shntool
Bin/cue Image segmentation: Bchunk

1.mp3 and WAV convert each other
MP3-wav
Lame--decode < input _mp3 file > < output _wav file >
WAV-MP3
Lame-b < bit rate > < input _wav file > < output _ogg file >
Shntool conv-o "Cust Ext=mp3 lame-b < bit rate >-%f" < input _wav file >

2.OGG and WAV convert each other
WAV, OGG
Oggdec < output _ogg file >-o < enter _wav file >
OGG, WAV
Oggenc-b < bit rate > < input _wav file >-o < output _ogg file >

3.APE and WAV convert each other
Ape-and WAV
Mac < input _ape file > < output _wav file >-D
Ape, WAV
Mac < input _wav file > < output _ape file >-c < compression ratio, default = 2000>

4.FLAC and WAV convert each other
FLAC-wav
flac-d < input _flac file >-o < output _wav file >
WAV-FLAC
FLAC < input _wav file > < output _flac file >-< compression ratio 1-8, default is 5>

5. Split Ape/cue image
i) decode into WAV format first
Mac Cdimage.ape cdimage.wav-d
To cut again.
Bchunk-w cdimage.wav cdimage.cue Output
Or
Shnsplit-f Cdimage.cue Cdimage.wav
II) can also be directly cut
Shnsplit-f Cdimage.cue-i Ape
III) cutting and converting to other formats (Flac/mp3)
Shnsplit-f cdimage.cue-i ape-o FLAC cdimage.ape
Shnsplit-f Cdimage.cue-i ape \
-O "Cust Ext=mp3 lame-b-%f" Cdimage.ape

6.APE <-> FLAC Convert to each other
Shnconv-i Ape-o FLAC Cdimage.ape
Shnconv-i Flac-o Ape Cdimage.flac

How to convert common audio formats under Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.