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) MontyCheck #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 #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.linuxidc.com" target="_blank">

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/c36a15e3465d43d60b4709da8611fe46.html