|
最新版をインストール
DownLoad
ftp://ftp.berlios.de/pub/cdrecord/alpha/よりcdrecord-beta.tar.gzをDownLoad
$ tar xfvz cdrecord-beta.tar.gz
$ cd cdrtools-2.01.01
$ make
$ cd cdrecord/OBJ/i686-linux-cc
# su
# ./cdrecord -scanbus <--./を忘れてました(08/03/19)
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (i686-pc-linux-gnu) Copyright (C)
1995-2008 J%G�%@rg Schilling
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
scsibus0:
0,0,0 0) 'ATA ' 'ST3808110AS ' '3.AD' Disk
0,1,0 1) 'ATA ' 'ST3160023AS ' '8.12' Disk
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1000:
1000,0,0 100000) 'PIONEER ' 'DVD-RW DVR-112 ' '1.21' Removable CD-ROM
1000,1,0 100001) *
1000,2,0 100002) *
1000,3,0 100003) *
1000,4,0 100004) *
1000,5,0 100005) *
1000,6,0 100006) *
1000,7,0 100007) *
#
|
dev=1000,0,0に設定し、dataファイルの製作
dev=?????の部分は適宜書き換え!また、isoの製作は下記参照
# ./cdrecord -v -eject -dao driveropts=burnfree dev=1000,0,0 speed=40 ./cdimage.iso
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (i686-pc-linux-gnu) Copyright (C)
1995-2008 J%G�%@rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '1000,0,0'
scsibus: 1000 target: 0 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-112 '
Revision : '1.21'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-RAM
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-R/DL layer jump recording
Profile: DVD-R/DL sequential recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RAM (current)
Profile: Removable Disk (current)
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO LAYER_JUMP
Drive buf size : 1310720 = 1280 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 1604 MB
Total size: 1604 MB = 821303 sectors
Current Secsize: 2048
Total power on hours: 35735
WARNING: Phys disk size 2314080 differs from rzone size 2236704! Prerecorded disk?
WARNING: Phys start: 200704 Phys end 2514783
Blocks total: 2236704 Blocks current: 2236704 Blocks remaining: 1415401
Starting to write CD/DVD/BD at speed 3 in real SAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Starting new track at sector: 0
Track 02: 1604 of 1604 MB written (fifo 100%) [buf 100%] 1.2x.
Track 02: Total bytes read/written: 1682028544/1682028544 (821303 sectors).
Writing time: 923.424s
Average write speed 1.3x.
Min drive buffer fill was 100%
Fixating...
Fixating time: 0.605s
./cdrecord: fifo had 26494 puts and 26494 gets.
./cdrecord: fifo was 0 times empty and 18745 times full, min fill was 75%.
#
|
以下のコマンドは空にするコマンドです。
# ./cdrecord blank=fast -v speed=2 dev=1000,0,0
wavファイル
audio CD から wavファイルを抽出
◎ CD の全曲を変換する場合
$ cdda2wav -D /dev/cdrom -B bulk
◎ CD の一曲を変換する場合
$ cdda2wav -D /dev/cdrom -t 1 ./music.wav
-t 1 はトラックの一番目の曲の意味、その後は曲名です。
wav と mp3 との関係
lame-3.95.1をインストールしました
◎ wav -> mp3 への変換
$ lame music_name.wav music_name.mp3
◎ mp3 -> wav への変換
$ lame --decode music_name.mp3 music_name.wav
audio変換ソフトとして、twolameがあります。使用方法に付いては man twolame 並びに、twolame --helpを確認してみては‥・?
RedHat時代の場合
CDの焼き付け
まずは /etc/fstab の中身を修正
cdrom を読み書き出来るように変更
修正する必要はなくなったようです
| LABEL=/ | / | ext3 | defaults | 1 1 |
| none | /dev/pts | devpts | gid=5,mode=620 | 0 0 |
| LABEL=/home | /home | ext3 | defaults | 1 2 |
| none | /proc | proc | defaults | 0 0 |
| #/dev/hda1 | /mnt/win1 | vfat | defaults | 0 0 |
| /dev/fd0 | /mnt/floppy | auto | noauto,owner,kudzu | 0 0 |
| /dev/cdrom | /mnt/cdrom | iso9660 | noauto,owner,kudzu,rw | 0 0 |
$ su
passwd
# cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) ' ' '40X12X48 CD-RW ' '1.07' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
#
◎以前のデータを消去
FC3ではdev=/dev/cdwriterでした。以下、すべてそうだと思います。私の場合にはデータしか試していませんが。dev=0,0,0ではエラーが返ってきました。ちなみに、DVDを取り付けていませんので判断つきませんが、DVDの場合、dev=/dev/dvdwriterではないでしょうか。/dev以下にdvdwriterというfileがあるか確かめてみては。
また、書き込みは出来たが、書き直しが出来なかったので最新版をインストールしたら可能だった。
audio CD 製作
wavファイルを一ヶ所に集め、そのディレクトリに移動し、あくまでもrootで
# cdrecord -v -eject speed=0 dev=0,0,0 -pad -audio *.wav
# cdrecord -v -eject speed=0 dev=/dev/cdwriter -pad -audio *.wav
を実行すると、Writingが終わりfixation中に凍り付くことがあったが、この場合あらためて
# cdrecord -fix dev=0,0,0
を実行するとうまくいった。CDRWのドライバーによるものかは分からないが上手く行かないときはオプションを調べればそれなりの解答が得られそうである。
filedata の CD 製作
ファイルを一ヶ所に集め、そのディレクトリに移動し
# mkisofs -r -f -J -L -D -no-bak -o cdimage.iso ./
or ...
# mkisofs -r -f -J -D -no-bak -o cdimage.iso ./
-f はシンボリックリンクを含める
-L はドットファイルを含める
-no-bak は****.conf.bakなどのfileを意味する。
# cdrecord -v -eject speed=4 dev=0,0,0 -data cdimage.iso
# cdrecord -v -eject speed=4 dev=/dev/cdwriter -data cdimage.iso
dev=0,0,0の部分は、./cdrecord -scanbusで表示された数値を利用する。dev=/dev/cdwriter はmountされている場合である。
を実行する。各オプションは各々確認すること。また、rootで書き込んでいるので読み込み時にはパーミッションの変更が必要かもしれない。
|
|