ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÔÚLinuxÖÐÖÆ×÷VCD

·¢²¼Ê±¼ä:2006-03-25 01:04:08À´Ô´:ºìÁª×÷Õß:zz123
---- Ò²ÐíÄú»¹ÔÚʹÓÃWindowsµÄÔ­ÒòÖ®Ò»ÊÇWindowsÇ¿´óµÄ¶àýÌåÖ§³ÖÄÜÁ¦£¬ÀýÈçÖÆ×÷¸öÐÔÊ®×ãµÄVCD¹âÅÌ¡£µÄÈ·Èç´Ë£¬
Windows²Ù×÷ϵͳµ½Ä¿Ç°ÎªÖ¹ÈÔȻӵÓвÙ×÷ϵͳÖÐ×îÇ¿´óµÄ¶àýÌåÄÜÁ¦£¬ÒòΪÓÐÈç´ËÖ®¶àµÄÈí¼þ¿ÉÒÔÈÎÄúÑ¡Ôñ£¬
ÀýÈçWinOnCD¡¢SONY CD Maker¡¢DirectCD¡¢Ahead Nero¡¢Easy CD Creator¡­¡­Ò»´ó´®¶úå¦Ä¿È¾µÄÈí¼þÃû×Ö£¬µ«ÊÇǧÍò
±ð˵Linux¾Í²»ÄÜÖÆ×÷VCD£¬ÆäʵÕâÒ»²Ù×÷Ò²ºÜ¼òµ¥£¬ÏÂÃ潫ÏòÄúÏêϸ½éÉÜ¡£

---- Äú²»±Ø¹ºÂòÄÇЩ°º¹óµÄÈí¼þ£¬Ö»ÒªÓÐÒ»¶ÎMPEGƬ¶Ï£¨¿ÉÒÔÖ±½ÓÕÒһЩVCDÅÌ£¬°ÑÆäÖеÄMPEGƬ¶Ï¿½±´ÏÂÀ´£©¡¢
LinuxÒÔ¼°CD-RW¼´¿É¡£

---- 1£®ÐèÒªÓÐÖ§³ÖSCSIºÍ"generic"SCSIµÄLinuxºËÐÄ£¬²»Óõ£ÐÄÄúµÄCD-R»òCD-RWÊÇATAPI/IDE½Ó¿Ú£¬Ö»Òª°Ñ
SCSI emulation(SCSI·ÂÕæ)±àÒë½øÄúµÄLinux¼´¿É¡£Èç¹ûÄúÊÖÖеÄLinuxÊÇÒ»¸öÕýʽ·¢ÐеÄDistributed°æ±¾£¬Èç
À¶µã(BluePoint)¡¢ºìÆì(Red-Flag)µÈ£¬ÄÇôÄú¾Í¿ÉÒÔÌø¹ý±àÒëºËÐÄÕâÒ»²½¡£ÔÚLILOÆô¶¯Ê±£¬¼ÓÈë²ÎÊý"/dev/node=ide-scsi"
£¨¼ÙÉèATAPI/IDE½Ó¿ÚµÄCD-R»òÕßCD-RWÊÇÒÔ´ÓÅÌ(Slave Drive)¹Ò½ÓÔÚµÚ¶þ¸öIDEͨµÀÉÏ£©¡£Èç¹ûϵͳÔÚÕÒµ½ÄúµÄCD-R»òCD-RW
ʱ»¨·ÑÁË´óÁ¿µÄʱ¼ä£¨½øÐÐSCSI·ÂÕ棩£¬ÄÇô¿ÉÒÔÖ±½Ó½øÈëµÚ2²½¡£Èç¹û²»ÊÇ£¬¾ÍÖØбàÒëÄúµÄºËÐÄÒÔÖ§³ÖSCSI·ÂÕæ¡£

---- ÖØÐÂÆô¶¯Linux£¬Æô¶¯Ê±ÈÔÈ»ÐèÒª¼ÓÈë"/dev/node=ide-scsi"²ÎÊý£¬ÕâÊÇATAPI/IDE½Ó¿ÚµÄCD-R»òCD-RW´ò¿ªSCSI·ÂÕæÄ£
ʽËù±ØÐëµÄ¡£

---- 2£®Ó²¼þ¾ÍÐ÷ºó£¬ÏÂÔØÒ»¸öVCD ToolsµÄ´ò°üÎļþ: vcdtools-0.4.tar.gz£¨2000Äê9ÔÂ15ÈÕ×îа汾0.4£©»òÕ߸üºÃµÄmplex¡£

---- £¨1£©Ê¹ÓÃgunzipºÍuntar½âѹËõ: tar zxvf vcdtools-0.4.tar.gz¡£

---- £¨2£©½øÈëĿ¼vcdtools-0.4£¬ÊäÈë"make"¡£

---- ±àÒëÍêÒԺ󣬾ͿÉÒÔÔÚVCD ToolsÖÐʹÓÃÃüÁî"mkvcdfs"¡£Ê¹Ó÷½·¨ÈçÏÂÀýËùʾ:

---- mkvcdfs video1.mpg video2.mpg video3.mpg video4.mpg

---- ÕâÒ»ÃüÁ°ÑMPEGÎļþ£¨video1.mpg¡«video4.mpgµÈ4¸öÎļþ£©ºÏ²¢³É2¸öÎļþ: vcd.tocºÍvcd_image.bin£¬Ä¬Èϱ£´æÔÚµ±
ǰĿ¼(Îļþ¼Ð)ÖУ¬vcd.toc˵Ã÷VCDÄÚÈݵĽṹ£¬¶øvcd_image.binÊÇÓÃÀ´ÉÕÖÆVCD×÷Æ·µÄÓ³ÏñÎļþ¡£

---- Èç¹ûÄúÏëÒªÖÆ×÷SVCD¸ñʽµÄVCD£¨×¨ÒµµÄ±íʾÊÇ: ͼÏñ´óСΪ480¡Á480/576, 2500MB/sµÄMPEG-2£©£¬ÄÇô¾ÍÐèÒªmpeg2enc
£¨°üº¬ÔÚlavtoolsÄÚ£©À´±àÂëÄúµÄMPEGÎļþ£¬Í¬Ñù¿ÉÒÔʹÓÃvcdmplex£¨ÒѾ­°üº¬ÔÚVCD ToolsÄÚ£©£¬Ê¹ÓÃÃüÁî¸ñʽΪ:

---- vcdmplex MPEG_video_stream MPEG_audio_stream MPEG_system_stream

---- ÕâÒ»ÃüÁ°ÑVideoÊÓƵÎļþ£¨MPEG_video_stream£©ºÍAudioÒôƵÎļþ£¨MPEG_audio_stream£©ºÏ³ÉÒ»¸ö±ê×¼µÄMPEGÎļþ
£¨MPEG_system_stream£©£¬ÏêϸµÄ˵Ã÷Çë²Î¼û¸ÃÈí¼þµÄ°ïÖúÎĵµ¡£

---- 3£®µÇ¼µ½http://www.ping.de/sites/daneb/cdrdao.htmlÏÂÔØÒ»¸öÃûΪCDRDAO(for Disk-At-Once) µÄ³ÌÐò£¬ÓÃÀ´ÏòÄúµÄ
CD-R»òCD-RWдÊý¾Ý¡£2000Äê8ÔÂ27ÈÕ·¢²¼µÄXcdrdao-1.1.4ÉõÖÁ¿ÉÒÔÔÚGNOME»·¾³ÖÐʹÓᣱàÒëºó£¬°²×°£¬È»ºóÊäÈë
"ln -s /dev/sg0 /dev/cdrecorder"£¬ÒÔ±£Ö¤dev/cdrecorderÉ豸ָÏòCD-R»òCD-RW£¬·ÀÖ¹Ëü³ö´í¡£×¢Ò⣬ÕâÀï¼Ù¶¨ÄúÖ»ÓÐÒ»¸ö
ATAPI/IDE½Ó¿ÚµÄCD-R»òCD-RW£¬Ã»ÓÐÆäËûµÄSCSIÉ豸£¬¶øÇÒʹÓÃÁËSCSI·ÂÕæ¡£Èç¹ûÄú»¹ÓÐÆäËûµÄSCSIÉ豸£¬ÄÇô¾ÍÐèÒª°Ñsg0¸Ä
³Ésg£¿(£¿´ú±í¾ßÌåSCSIÉ豸µÄºÅÂë)¡£

---- ×îºó£¬ÕÒµ½¸Õ²ÅÖÆ×÷ºÃµÄvcd.tocÎļþ£¬¼üÈëÃüÁî"cdrdao vcd.toc"£¬Ò»¶Îʱ¼äºó£¨ÊÓCD-R»òCD-RWµÄËٶȶø¶¨£¬cdrdao»á
×Ô¶¯Ê¹Óÿ̼É豸µÄ×î¸ßËÙÀ´Íê³É¿Ì¼¹¤×÷£©£¬ÀûÓÃLinuxÖÆ×÷µÄVCD×÷Æ·¾ÍÍê³ÉÁË¡£Äú¿ÉÒÔÀûÓÃÈκÎһ̨¿ÉÒÔ¶ÁÈ¡CD-RÅÌƬµÄ
µçÄÔ»òÓ°µú»úÐÀÉÍÄúµÄ×÷Æ·¡£ÁíÍâÐèÒªÌرð×¢ÒâµÄÊÇ£¬ÉÕÖÆVCD֮ǰ±ðÍüÁËʹÓÃRootÕ˺ŻòÕßÆäËûÓÐȨÔÚÄúµÄ»úÆ÷ÉÏʹÓÃCD-R»ò
CD-RWµÄÕ˺ŵǼ£¬ÒÔÃâLinuxϵͳ¾Ü¾ø¡£

---- (×÷ÕßµØÖ·: ÖØÇìÊоÅÁúÆÂÇøÓñÇåË»ªÑÒдå90¶°6ºÅ£¬400052; E-mail: iamganlu@21cn.com)
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 1 ÌõÆÀÂÛ

  1. Subbo ÓÚ 2006-03-28 19:45:07·¢±í:

    ÓÃK3bÖÆ×÷DVDÊÓƵ¹âÅ̺ÍVCDÊÓƵ¹âÅ̺ܷ½±ã¡£