下载中心 | 网站地图 | 站内搜索 | 加入收藏

安恒公司 / 技术文章 / 安恒公司网管员手记 / linux下vcd刻录 --安恒网管员手记

2004-11-06 刘世伟  阅:    下页: xcdroast »
linux下vcd刻录 --安恒网管员手记

刻录vcd的命令行工具:制作vcd光盘影像:vcdtools,刻录影像到光盘:cdrdao
安装:debian下安装很简单:apt-get install vcdtools cdrdao
然后用命令mkvcdfs制作vcd文件:
mkvcdfs  1.mpg 2.mpg 3.mpg
Copying file vcd/20050208_1558_1.mpg
Done with vcd/20050208_1558_1.mpg, got 4536 sectors
Copying file vcd/20050208_1559_1.mpg
Done with vcd/20050208_1559_1.mpg, got 4530 sectors
运行结束后,在当前目录可以找到vcd.toc和vcd_image.bin
然后用cdrdao把bin写入光盘:
*要扫描光驱挂在哪个设备上面(命令:cdrdao scanbus):
# cdrdao scanbus
Cdrdao version 1.1.9 - (C) Andreas Mueller <andreas@daneb.de>
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty
Check
http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.Using libscg version 'schily-0.8'ATA:1,1,0            ATAPI   , CD-R/RW 6X4X32  , 6.HU

**行提示光驱在ATA:1,1,0
那么写入光盘(命令 cdrdao --device ATA:1,1,0 write vcd.toc)
# cdrdao write --device ATA:1,1,0  vcd.toc
Cdrdao version 1.1.9 - (C) Andreas Mueller <andreas@daneb.de>
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty
Check
http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
Using libscg version 'schily-0.8'
ATA:1,1,0:      Rev:
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)
Burning entire 79 mins disc.
Starting write at speed 6...
Pausing 10 seconds - hit CTRL-C to abort.
Process can be aborted with QUIT signal (usually CTRL-\).
Executing power calibration...
Power calibration successful.
Writing track 01 (mode MODE2_RAW/MODE2_RAW )...
Writing track 02 (mode MODE2_RAW/MODE2_RAW )...
Writing track 03 (mode MODE2_RAW/MODE2_RAW )...
Writing track 04 (mode MODE2_RAW/MODE2_RAW )...
Wrote 97 of 97 MB (Buffers 100%  99%).
Wrote 43608 blocks. Buffer fill min 84%/max 100%.
Flushing cache...
Writing finished successfully.

下页: xcdroast »   
Email给朋友 打印本文
版权所有·安恒公司 Copyright © 2004   b-342.anheng.com.cn   All Rights Reserved    
北京市海淀区*体南路9号 主语国际商务中心4号楼8层 (邮编100048) 电话:010-88018877