· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Docbook Sgml/MP3-CD-Burning

¸®´ª½º MP3 CD ±Á±â mini-HOWTO

¸®´ª½º MP3 CD ±Á±â mini-HOWTO

Wierzchowski Greg

ÀÓ ÀºÀç

2001-05-29

ÀÌ ¹®¼­´Â MP3 ÆÄÀÏÀ» °¡Áö°í ¿Àµð¿À CD¸¦ ¸¸µå´Â ¹æ¹ýÀ» ¼³¸íÇÑ´Ù.

고친 과정
고침 1.42001-11-20고친이 eunjea
¹ø¿ª
고침 1.42001-11-17고친이 GW
DAO(Disc-At-Once)·Î ±Á±â Ãß°¡
고침 1.32001-09-02고친이 GW
lame À» ÀÌ¿ëÇÑ mp3 µðÄÚµù Ãß°¡
고침 1.02001-06-29고친이 eunjea
¹ø¿ª
고침 1.02001-05-29고친이 GW
ù¹ø° ¹®¼­.

1. ¼Ò°³

ÀÌ ¹Ì´Ï ÇÏ¿ìÅõ´Â ³ªÀÇ ¿Àµð¿À CD ±Á±âÀÇ °æÇè°ú ÀÎÅͳݻóÀÇ ¿Àµð¿À ÆÄÀϵéÀÇ ¸íÈ®ÇÑ Ç¥ÁØÀÇ ºÎÁ· ¶§¹®¿¡ ¾º¿©Á³´Ù. ³ª´Â º¸Åë ´Ù¸¥ ¼Ò½º¿¡¼­ÀÇ ¿©·¯°¡Áö ³ë·¡µéÀ» ¼¯¾î¼­ CD·Î ¸¸µå´Âµ¥, ¸Å¿ì Å« Àå¾Ö´Â °¢ ¼Ò½ºµéÀÇ À½·®Â÷°¡ Å©´Ù´Â °ÍÀÌ´Ù. µÎ¹ø°·Î, ¸Å¿ì ¸¹Àº ÀÎÅͳݻóÀÇ ÆÄÀϵéÀÌ CD ȣȯ(16 bit, stereo, 44.1 kHz)ÀÌ ¾Æ´Ï¹Ç·Î º¯È¯°úÁ¤À» °ÅÃÄ¾ß ÇÑ´Ù. MP3 ÆÄÀϵé·Î ÀÏ¹Ý À½¾Ç CD¸¦ ¸¸µé¼ö ÀÖ´Â ¸Å¿ì ¸¹Àº ÇÁ·Î±×·¥µéÀÌ Á¸ÀçÇϸç, ´ëºÎºÐ ÆÄÀÏÀ» Åõ¸íÇÏ°Ô(±×´ë·Î) º¯È¯ÇÑ´Ù. ±×·¯³ª, ³ª´Â Áö±Ý±îÁö Çѹøµµ º¼·ýÀ» Á¶ÀýÇØÁÖ´Â ÅøÀ» º»ÀûÀÌ ¾ø¾ú´Ù. ±×·¡¼­ ³ª´Â ³ª¸¸ÀÇ CD ±Á±â ¹æ¹ýÀ» ã±â·Î Çß´Ù.

³ª´Â ´ç½ÅÀÌ ¸ð¾Æ³õÀº ´Ù¾çÇÑ ¼Ò½º·ÎºÎÅÍ CD¸¦ ¸¸µé°ÍÀ̸ç, ±× ¼Ò½ºµéÀÇ À½ÁúÀº °¡Áö°¢»öÀÏ °ÍÀ̶ó°í »ý°¢ÇÑ´Ù. ±×·¯³ª, ´ç½ÅÀº °¡´ÉÇÑ ÁÁÀº À½ÁúÀÇ CD¸¦ ¿øÇÒ°ÍÀÌ´Ù. ÀÌ ¹Ì´ÏÇÏ¿ìÅõ°¡ ±× ¹æ¹ýÀ» Á¦½ÃÇÒ °ÍÀÌ´Ù.


1.1. Copyright and License

This document is copyright 2001 by Greg Wierzchowski and is released under the terms of the GNU Free Documentation License, which is hereby incorporated by reference. Send feedback to greg.wierzchowski@usa.net.


2. Æ®·¢ Áغñ

ÁÖ: ¸ðµç ¸í·É¾î´Â bash ½©À» »ç¿ëÇÑ´Ù.

  1. ¸ðµç MP3 ÆÄÀÏÀ» ÇϳªÀÇ µð·ºÅ丮¿¡ ¸ðÀº´Ù.

  2. ¸¸¾à ÆÄÀÏÀ̸§¿¡ °ø¹éÀÌ ÀÖ´Ù¸é ¹ØÁÙ(_)·Î º¯È¯ÇÑ´Ù:

         for i in *.mp3; do mv "$i" `echo $i | tr ' ' '_'`; done 
  3. ÆÄÀϵéÀ» WAV Æ÷¸ËÀ¸·Î º¯È¯:

         for i in *.mp3; do mpg123 -w `basename $i .mp3`.wav $i; done 

    Mpg123 ´Â ´ëºÎºÐÀÇ ¹èÆ÷º»¿¡ Æ÷ÇԵǾî ÀÖÁö¸¸, ¾ø´Ù¸é ´ÙÀ½¿¡¼­ ±¸ÇÒ¼ö ÀÖ´Ù. http://www.mpg123.de/.

    ÁÖ: ¾î¶² MP3 ÆÄÀÏÀº mpg123·Î º¯È¯°úÁ¤¿¡¼­ À½ÁúÀÌ Âî±×·¯Áö´Â °æ¿ì°¡ Àִµ¥, ÀÌ°ÍÀ» ³ª´Â óÀ½¿¡ MP3 ÆÄÀÏ ÀÚüÀÇ °áÇÔÀ¸·Î »ý°¢ÇßÁö¸¸, ´Ù¸¥ ¿¬Áֱ⿡¼­ ÀÌ»óÀÌ ¾ø¾úÀ¸¹Ç·Î, WAV º¯È¯ ±â´ÉÀ» °¡Áö´Â ´Ù¸¥ MP3 ¿¬Áֱ⸦ ã¾Ò´Ù.: MAD mp3 decoder ´Â http://www.mars.org/home/rob/proj/mpeg/¿¡¼­ ¹ÞÀ»¼ö ÀÖ´Ù. madplayer¸¦ »ç¿ëÇØ ´ÙÀ½°ú °°ÀÌ º¯È¯ÇÒ¼ö ÀÖ´Ù.:

         for i in *.mp3; do madplay -o `basename $i .mp3`.wav $i; done 

    ¶Ç´Â lame À» ÀÌ¿ëÇÏ¿© µðÄÚµùÇÒ¼ö Àִµ¥ mpg123³ª madplayÀ¸·Î ¹®Á¦°¡ ÀÖÀ» °æ¿ì¿¡µµ »ç¿ëÇÒ¼ö ÀÖ´Ù. lameÀº http://www.mp3dev.org/mp3/ ¿¡¼­ ãÀ»¼ö ÀÖ´Ù.

         for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done

    ÁÖ: The `basename $i .mp3`.wav ¸í·ÉÀº MP3 È®ÀåÀÚ¸¦ WAV·Î ¹Ù²Û´Ù. ´Ù¸¥ 101°¡ÁöÀÇ ¹æ¹ýµéÀÌ ÀÖÁö¸¸ ´ÙÀ½ ¹æ¹ýÀ» »ç¿ëÇÒ¼öµµ ÀÖ´Ù.: `echo "$i" | sed 's/.mp3/.wav/g'`

  4. "file *.wav" ¸¦ ½ÇÇàÇÏ¿© 16 bit, stereo 44100 Hz Æ÷¸ËÀÌ ¾Æ´Ñ°ÍµéÀ» ã¾Æ³½´Ù.

  5. ¸¸¾à ´Ù¸¥ ¼º°ÝÀ» °¡Áö´Â ÆÄÀϵéÀÌ ÀÖ´Ù¸é, ´ÙÀ½ ¿¹¿Í °°ÀÌ º¯È¯ÇÑ´Ù. ¿¹¸¦ µé¾î, track01.wav ÆÄÀÏÀ» 44.1 kHz ·Î º¯È¯ ÇÏ·Á¸é:

         sox track01.wav -r 44100 track01-new.wav resample

    Sox ´Â °ÅÀÇ ¸ðµç ¹èÆ÷º»¿¡ Æ÷ÇԵǾî ÀÖÀ¸¸ç, ÀÌ°÷¿¡ ±¸ÇÒ¼öµµ ÀÖ´Ù. http://www.spies.com/Sox/. ¿É¼ÇÀº ³ª°°Àº ÀÏ¹Ý À¯Àú¿¡°Ô´Â Á» ±î´Ù·Î¿î ÆíÀÌ´Ù. ´ÙÀ½ url¿¡¼­ ÈùÆ®¸¦ ¾òÀ»¼ö ÀÖ´Ù. http://www.spies.com/Sox/sox.tips.html

  6. °¢±â ´Ù¸¥ À½·® (º¼·ý ·¹º§)À» °¡Áø WAV ÆÄÀϵéÀ» °íÄ¡±â À§ÇØ ³ª´Â Chris Vaill ()¿¡ ÀÇÇØ ¾º¿©Áø, normalize À» »ç¿ëÇß´Ù. ÀÌ°ÍÀº http://www.cs.columbia.edu/~cvaill/normalize/ ¿¡¼­ ±¸ÇÒ¼ö ÀÖ´Ù.

    ´ÙÀ½°ú °°ÀÌ »ç¿ëÇÑ´Ù. (-m Àº ¹Í½º ¸ðµå·Î ¸ðµç ÆÄÀÏÀÇ À½·®À» ÃÖ´ë·Î ÇØÁØ´Ù):

         normalize -m *.wav

3. CD ±Á±â

¸¹Àº ÇÁ·Î±×·¥Áß¿¡ ³ª´Â cdrecord ¿Í XCDROAST(cdrecordÀÇ X ÇÁ·ÐÆ®¿£µå) ÀÇ Á¶ÇÕÀ» »ç¿ëÇÑ´Ù. ´ç½ÅÀÇ CDRÀÌ ¾î¶² SCSI µð¹ÙÀ̽º¸¦ »ç¿ëÇÏ´ÂÁö ¾Ë¾Æ¾ß ÇÑ´Ù. ¸¸¾à ATAPI CDRÀ̶ó¸é, SCSI emulation (ide-scsi Ä¿³Î ¸ðµâ)À» »ç¿ëÇÑ´Ù. ATAPI CDR ÀÌ ¼¼ÄÁ´õ¸® ¸¶½ºÅÍ¿¡ ÀÖ´Ù°í ÇÑ´Ù¸é, µð¹ÙÀ̽º´Â /dev/hdc °¡ µÉ°ÍÀÌ´Ù. ÀÌ CDRÀÌ Á¦´ë·Î ÀνÄÇϵµ·Ï /etc/lilo.conf ¿¡ ´ÙÀ½À» ³Ö¾îÁØ´Ù:

     append=" hdc=ide-scsi"

¸¸¾à Ä¿³ÎÀÌ ide-scsi ¸ðµâÀ» ÀÚµ¿À¸·Î ·ÎµåÇÏÁö ¾Ê´Â´Ù¸é, "insmod ide-scsi" À» rc.local (¶Ç´Â »óÀÀÇÏ´Â) ÆÄÀÏ¿¡ ³Ö¾îÁØ´Ù. CDR ÀÌ Á¦´ë·Î ÀνĵǾú´Ù¸é, "cdrecord --scanbus" ¸¦ ½ÇÇà½ÃÄÑ º»´Ù. ³» ½Ã½ºÅÛ¿¡¼­´Â ´ÙÀ½°ú °°Àº °á°ú¸¦ º¸¿©ÁØ´Ù:

     scsibus1:
     1,0,0 100) 'IOMEGA ' 'ZIP 250 ' '51.G' Removable Disk
     1,1,0 101) 'HP ' 'CD-Writer+ 7100 ' '3.01' Removable CD-ROM

ÀÌ °á°ú´ë·Î cdrecord ½ÇÇà ¿É¼Ç¿¡ "dev=1,1,0" ¸¦ µð¹ÙÀ̽º·Î ÁöÁ¤ÇØÁØ´Ù. ´ÙÀ½Àº ³» ½Ã½ºÅÛ¿¡¼­ ¸í·ÉÀÌ´Ù:

     cdrecord dev=1,1,0 -eject speed=2 -pad -audio *.wav

ÁÖ: -pad ¿É¼ÇÀº ÇÊ¿äÇÑ ÀÌÀ¯´Â mp3 ÆÄÀϵé°ú´Â ´Þ¸® ÇÊ¿äÇÑ ¿Àµð¿À Æ®·¢À» Àû´çÇÑ Å©±â·Î ¸ÂÃß¾î ÁÖ±â À§Çؼ­ ÀÌ´Ù.


4. DAO CD ±Á±â

DAO (Disc-At-Once)´Â °¢ Æ®·¢»çÀÌ¿¡ 2ÃÊÀÇ °£°ÝÀÌ ¾øµµ·Ï ±¸¿ï¼ö ÀÖ´Â ¹æ¹ýÀÌ´Ù. ÀÌ°ÍÀº ³í½ºÅ¾ ÆÄƼ ¹Í½º°°Àº ¿Àµð¿À CD¸¦ ±¸¿ï¶§ À¯¿ëÇÏ´Ù. DAO ¸ðµå·Î CD¸¦ ±¸¿ï¼ö ÀÖ´Â Åø·Î´Â cdrdao°¡ ÀÖÀ¸¸ç, http://sourceforge.net/projects/cdrdao/¿¡¼­ ±¸ÇÒ¼ö ÀÖ´Ù.

cdrdao´Â TOC(Table Of Contents)¶ó´Â ¼³¸í ÆÄÀÏÀ» »ç¿ëÇÏ°Ô µÇ´Âµ¥ ÀÌ°ÍÀº ¼Ò½ºÀÇ contribµð·ºÅ丮¿¡ Æ÷ÇԵǾî ÀÖ´Â ½© ½ºÅ©¸³Æ®ÀÎ generate_toc.sh¸¦ ÀÌ¿ëÇÏ¿© »ý¼º(cd.toc¶ó´Â ÆÄÀÏÀÌ »ý±ä´Ù.)Çϰųª ÅؽºÆ® ¿¡µðÅÍ·Î ´ÙÀ½ ¿¹Á¦¿Í °°Àº ¹æ¹ýÀ¸·Î ¸¸µé¾î ÁÖ¸é µÈ´Ù.

CD_DA

TRACK AUDIO
AUDIOFILE "mix-01.wav" 0

TRACK AUDIO
AUDIOFILE "mix-02.wav" 0

TRACK AUDIO
AUDIOFILE "mix-03.wav" 0

TRACK AUDIO
AUDIOFILE "mix-04.wav" 0

TRACK AUDIO
AUDIOFILE "mix-05.wav" 0

wav ÆÄÀÏÀ̸§ µÚÀÇ 0´Â ÆÄÀÏÀÇ Ã³À½ºÎÅ͸¦ ÀǹÌÇϸç, ·¹ÄÚµù ½Ã°£À» ÀǹÌÇÏ´Â µÎ¹ø° ¼ýÀÚ¸¦ ¸í½ÃÇØÁÙ¼öµµ ÀÖ´Ù. xcdroast¸¦ »ç¿ëÇؼ­ ºñ½ÁÇÑ TOCÆÄÀÏÀ» ¸¸µé¾î ÁÙ¼ö ÀÖÀ¸¸ç, cdrdaoÀÇ ¼Ò½º testtocsµð·ºÅ丮¾È¿¡¼­ testtocs¶ó´Â ¿¹Á¦ÆÄÀÏÀ» Âü°íÇÒ¼ö ÀÖ´Ù.


5. Credits

¸®´ª½º Ä¿¹Â´ÏƼ¿¡ °øÇåÇÑ ºÐµé°ú ÀÌ ÇÏ¿ìÅõ°¡ ÀÖÀ»¼ö ÀÖ°Ô ÇØÁØ ¸ðµç ºÐµé²² °¨»çµå¸°´Ù.


5.1. ¹ø¿ª


5.2. Other Credits

  • Greg Ferguson - HTML ¿¡¼­ SGML·Î º¯È¯

  • Rob Russell - º¸±âÁß ÆÄÀÏÀ̸§À» ¼öÁ¤

  • Terry Davis - ³» ÇÏ¿ìÅõ¸¦ linuxdoc¿¡ º¸³»´Â°ÍÀ» Á¦¾È

  • Chris Vaill - normalizeÀÇ Á¦ÀÛÀÚ

  • Jamie Kellogg - µðÄÚµù¿¡ ¹®Á¦°¡ ÀÖ´Â ÆÄÀϵéÀ» À§ÇØ lame À» »ç¿ëÇÏ´Â ¹æ¹ýÀ» Á¦½Ã


ID
Password
Join
To laugh at men of sense is the privilege of fools.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2003-08-10 11:52:29
Processing time 0.0022 sec