122 lines
5.6 KiB
Plaintext
122 lines
5.6 KiB
Plaintext
====== cdda2wav, copier un CD Audio ======
|
|
|
|
===== Exécuter =====
|
|
|
|
Cette commande permet d'extraire les pistes audios du CD en fichiers WAV. Pour un CD Audio de 74 minutes, prévoyez un espace disque de 700 Mo. Les pistes audios seront extraites dans le dossier courant.
|
|
|
|
Dans l'exemple ci-dessous, le CD Audio est accessible à l'adresse ''/dev/sr0''. C'est à modifier suivant votre configuration.
|
|
|
|
<code>
|
|
cdda2wav -vall cddb=0 -paranoia -B -D /dev/sr0
|
|
</code>
|
|
|
|
Sous Debian 9, ''cdda2wav'' n'est pas disponible. Le programme [[informatique:applications:icedax|icedax]] le remplace.
|
|
|
|
__Exemple de sortie__
|
|
|
|
<code>
|
|
[cedric@dskstd cdaudio]$ cdda2wav -vall cddb=0 -paranoia -B -D /dev/sr0
|
|
Type: ROM, Vendor 'HL-DT-ST' Model 'DVDRAM GSA-4082N' Revision 'HG02' MMC+CDDA
|
|
536576 bytes buffer memory requested, 4 buffers, 52 sectors
|
|
#icedax version 1.1.11, real time sched., soundcard, libcdda_paranoia support
|
|
no cddb entry found: 202 No match for disc ID 0f0e0b14.
|
|
|
|
AUDIOtrack pre-emphasis copy-permitted tracktype channels
|
|
1-20 no no audio 2
|
|
Table of Contents: total tracks:20, (total time 59:55.35)
|
|
1.( 2:29.63), 2.( 2:50.30), 3.( 3:21.25), 4.( 2:34.57), 5.( 3:23.70),
|
|
6.( 3:16.73), 7.( 2:54.10), 8.( 2:40.35), 9.( 3:26.00), 10.( 3:08.70),
|
|
11.( 2:49.62), 12.( 2:59.35), 13.( 2:45.28), 14.( 2:32.25), 15.( 3:15.15),
|
|
16.( 2:51.07), 17.( 3:20.43), 18.( 3:12.70), 19.( 2:57.47), 20.( 3:04.20),
|
|
|
|
Table of Contents: starting sectors
|
|
1.( 32), 2.( 11270), 3.( 24050), 4.( 39150), 5.( 50757),
|
|
6.( 66052), 7.( 80825), 8.( 93885), 9.( 105920), 10.( 121370),
|
|
11.( 135540), 12.( 148277), 13.( 161737), 14.( 174140), 15.( 185565),
|
|
16.( 200205), 17.( 213037), 18.( 228080), 19.( 242550), 20.( 255872),
|
|
lead-out( 269692)
|
|
CDINDEX discid: XSTt_d1DVVDSU7Nqap4W7khDTJU-
|
|
CDDB discid: 0x0f0e0b14
|
|
CD-Text: not detected
|
|
CD-Extra: not detected
|
|
No media catalog number present.
|
|
scanning for ISRCs: 20 ...
|
|
index scan: 20...
|
|
samplefile size will be 634240364 bytes.
|
|
recording 3595.4666 seconds stereo with 16 bits @ 44100.0 Hz ->'audio'...
|
|
no cddb entry found: 202 No match for disc ID 0f0e0b14.
|
|
|
|
using lib paranoia for reading.
|
|
cdda2wav: Operation not permitted. cannot set posix realtime scheduling policy
|
|
percent_done:
|
|
100% track 1 recorded successfully
|
|
100% 0 rderr, 0 skip, 0 atom, 0 edge, 0 drop, 0 dup, 0 drift
|
|
100% 11 overlap(0.1088 .. 0.1088)
|
|
100% track 2 recorded with minor problems
|
|
100% 0 rderr, 0 skip, 0 atom, 2 edge, 0 drop, 0 dup, 0 drift
|
|
100% 22 overlap(0.1088 .. 0.2449)
|
|
100% track 3 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 24 edge, 0 drop, 0 dup, 1 drift
|
|
100% 22 overlap(0.2449 .. 0.2449)
|
|
100% track 4 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 20 edge, 0 drop, 0 dup, 2 drift
|
|
100% 8 overlap(0.1088 .. 0.2449)
|
|
100% track 5 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 26 edge, 0 drop, 0 dup, 2 drift
|
|
100% 10 overlap(0.1088 .. 0.1088)
|
|
100% track 6 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 24 edge, 0 drop, 0 dup, 3 drift
|
|
100% 10 overlap(0.1088 .. 0.1088)
|
|
100% track 7 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 22 edge, 0 drop, 0 dup, 2 drift
|
|
100% 9 overlap(0.1088 .. 0.1088)
|
|
100% track 8 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 20 edge, 0 drop, 0 dup, 2 drift
|
|
100% 8 overlap(0.1088 .. 0.1088)
|
|
100% track 9 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 26 edge, 0 drop, 0 dup, 3 drift
|
|
100% 11 overlap(0.1088 .. 0.1088)
|
|
100% track 10 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 24 edge, 0 drop, 0 dup, 2 drift
|
|
100% 9 overlap(0.1088 .. 0.1088)
|
|
100% track 11 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 22 edge, 0 drop, 0 dup, 2 drift
|
|
100% 8 overlap(0.1088 .. 0.1088)
|
|
100% track 12 recorded with minor problems (0.1% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 14 edge, 0 drop, 0 dup, 2 drift
|
|
100% 9 overlap(0.1088 .. 0.1633)
|
|
100% track 13 recorded successfully
|
|
100% 0 rderr, 0 skip, 0 atom, 0 edge, 0 drop, 0 dup, 0 drift
|
|
100% 20 overlap(0.1088 .. 0.1088)
|
|
100% track 14 recorded with minor problems
|
|
100% 0 rderr, 0 skip, 0 atom, 2 edge, 0 drop, 0 dup, 0 drift
|
|
100% 20 overlap(0.1088 .. 0.2449)
|
|
100% track 15 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 24 edge, 0 drop, 0 dup, 0 drift
|
|
100% 24 overlap(0.2449 .. 0.2449)
|
|
100% track 16 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 22 edge, 0 drop, 0 dup, 2 drift
|
|
100% 9 overlap(0.1088 .. 0.2449)
|
|
100% track 17 recorded with minor problems
|
|
100% 0 rderr, 0 skip, 0 atom, 11 edge, 0 drop, 0 dup, 2 drift
|
|
100% 13 overlap(0.1088 .. 0.1633)
|
|
100% track 18 recorded successfully
|
|
100% 0 rderr, 0 skip, 0 atom, 0 edge, 0 drop, 0 dup, 0 drift
|
|
100% 24 overlap(0.1088 .. 0.1088)
|
|
100% track 19 recorded with minor problems
|
|
100% 0 rderr, 0 skip, 0 atom, 1 edge, 0 drop, 0 dup, 0 drift
|
|
100% 23 overlap(0.1088 .. 0.1633)
|
|
100% track 20 recorded with minor problems (0.2% problem sectors)
|
|
100% 0 rderr, 0 skip, 0 atom, 23 edge, 0 drop, 0 dup, 0 drift
|
|
100% 23 overlap(0.1633 .. 0.1633)
|
|
</code>
|
|
|
|
===== Convertir =====
|
|
|
|
Les pistes audios extraites pas ''cdda2wav'', sont au format WAV. Pour les convertir en fichier OPUS, je vous propose la commande suivante :
|
|
|
|
<code>
|
|
for f in *.* ; do opusenc --bitrate 128 "$f" "${f%.*}_128k.opus"; done
|
|
</code>
|
|
|
|
Cela suppose que ''opusenc'' soit déployer sur votre configuration. |