Mp3c non funziona piu': errore cdda2wav

Postate qui se avete consigli per migliorare i pacchetti disponibili in questo sito o se avete problemi con installazione, funzionamento o altro.

Moderatore: Staff

Regole del forum
1) Citare in modo preciso il nome del pacchetto.
2) Specificare se discussione/suggerimento o richiesta d'aiuto.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
sberla54
Master
Master
Messaggi: 1500
Iscritto il: gio 24 giu 2004, 0:00
Slackware: 13.0
Desktop: Gnome (o Fluxbox)
Distribuzione: Ubuntu
Località: Bologna
Contatta:

Mp3c non funziona piu': errore cdda2wav

Messaggio da sberla54 »

Ciao ragazzi!

Avevo giusto fatto in tempo ad innamorarmi di mp3c e ad abituarmi ad usarlo come mio mp3 ripper preferito che questo ha smesso di funzionare, piu' o meno da quando ho aggiornato a Slack 12.1...

Quando provo a rippare un cd mi da questo errore:
Errore: messaggio di errore in lettura prima dell'uscita
cdda2wav: No such file or directory. Cannot open 'USCSI'. Cannot open or use SCSI driver.
cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are root.
Use the script scan_scsi.linux to find out more.
Probably you did not define your SCSI device.
Set the CDDA_DEVICE environment variable or use the -D option.
You can also define the default device in the Makefile.
For possible transport specifiers try 'cdda2wav dev=help'.
e successivamente questo:
il figlio (cd-ripper) è morto inaspettatamente
Questa e' la mia config, che dovrebbe essere la stessa che ha sempre funzionato anche se non ne sono sicuro al 100% perche' e' un po' che volevo scrivere questo post e non mi ricordo piu' che test avevo fatto col programma.

Codice: Seleziona tutto

# WSPse's MP3-Creator (Configfile)
# creato automaticamente, ma può essere modificato a mano.
# [24.01.2008 23:12] - program version: 0.31
# {mp3c-0.31 (NLS) - ITALIANO (Dec  7 2006) Default:MP3}

# version number (to detect updates and inform about news)
mp3c_version = "0.31"

# cdrom-device
cd_dev = "/dev/cdrom"

# CDDB-server [host:port] (more servers maybe seperated by commas)
# use "0" to disable server-access
# note: cddb.cddb.com:8880 is not longer usable
cddb_serv = "freedb.freedb.org:8880"

# local CDDB database
cddb_loc = "~/.cddb"

# if remote CDDB access is allowed
rem_cddb = 1

# mailaddress to which CDDB should be sent (more addresses maybe seperated
# by commas)
cddb_email = "freedb-submit@freedb.org"

# relaying smtp-server who handle my emails [host:port]
smtp_serv = "joshua.punk4free.org:smtp"

# my email address for authorizing [user@host]
my_email = "sberla54@joshua.punk4free.org"

# directory for mp3-files
mp3_dir = "./"

# program for ripping cd-tracks (to file)
#  %1 = cdrom device
#  %2 = track (numeric)
#  %3 = outputfile
rip_nf_prg = "cdda2wav "%1" -B -t %2 -O wav -paranoia "%3""

# program for ripping cd-tracks (to stdout)
#  %1 = cdrom device
#  %2 = track (numeric)
rip_of_prg = "cdda2wav "%1" -B -t %2 -O wav -paranoia -"

# program for encoding wav->mp3 (from file to file)
#   %1 = inputfile
#   %2 = outputfile
#   %3 = albumname
#   %4 = MP3 genre by number
#   %5 = year
#   %6 = comment
#   %7 = filename
#   %8 = MP3 genre by name
#   %a = tracknumber
#   %b = tracknumber (with leading zeros)
#   %c = artistname
#   %d = title
enc_nf_prg = "lame --preset fast extreme --tt "%d" --ta "%c" --tl "%3" --ty "%5" --tc "%6" --tn "%a" --tg "%4" "%1" "%2""

# program for encoding wav->mp3 (from stdin to file)
#  %1 = outputfile
#  %3 = albumname
#  %4 = MP3 genre by number
#  %5 = year
#  %6 = comment
#  %7 = filename
#  %8 = MP3 genre by name
#  %a = tracknumber
#  %b = tracknumber (with leading zeros)
#  %c = artistname
#  %d = title
enc_of_prg = "lame --preset fast extreme --tt "%d" --ta "%c" --tl "%3" --ty "%5" --tc "%6" --tn "%a" --tg "%4" - "%1""

# program for creating mp3 info
#  use mp3_info_prg = "0" to disable usage of tagprogram
#  %1 = artistname
#  %2 = title
#  %3 = albumname
#  %4 = genre (by number)
#  %5 = year
#  %6 = comment
#  %7 = filename
#  %8 = genre (by name)
#  %a = tracknumber
#  %b = tracknumber (with leading zeros)
mp3_info_prg = "0"

# string which replaced %8 in mp3_info_prg, if genre is unknown
unknown_genre = "Unknown"

# size of fifo-buffer for on the fly encoding (KB)
of_fifo = 512

# pattern for mp3-filename-creation
#  %1 = artistname
#  %2 = title
#  %3 = albumname
#  %4 = genrestring
#  %5 = year
#  %6 = tracknumber
#  %7 = tracknumber (with leading zeros)
#  %8 = cddb-id
mp3_pattern = "%7-%8.mp3"

# pattern fro mp3-filename-creation for sampler cds
#  same pattern like in mp3_pattern
mp3_pattern_mix = "%3/%1-%2.mp3"

# mode for handling spaces in filenames
#  0: spaces allowed, 1: spaces will be converted to specified replace character
#  2: spaces will be killed
pat_mode = 1
space_rep_char = "_"

# appereance of filename case
#  0: as it is in CDDB entry
#  1: convert to lowercase (first letter will be uppercase if pat_upc = 1
#  2: convert to uppercase
case_chg = 0

# convert first letter of filename to uppercase
#  0: no, 1: yes
pat_upc = 1

# illegal characters which aren't allowed in filenames
# (converted to '_' if mode != 2, else killed
ill_chars = "~[]()!*?""

# what to do with illegal characters, should they be removed?
# (otherwise convert to '_' or space, depending on pat_mode)
#  0: no, use pat_mode, 1: yes, remove
rem_ill_char = 1

# protect pattern from substitution operations?
#  0: no, 1: yes
pattern_protect = 1

# character which should replace slashes in album, artist, title
# (only one character allowed, use "0" to accept slashes in these
   fields, which causes strange directory creation)
slash_rep_char = "-"

# non-strict character handling
# 0: only printable chars allowed, 1: eased allowed chars
eased_char_hand = 0

# default comment for mp3-files
#  %1 = artistname
#  %2 = title
#  %3 = albumname
#  %4 = genrestring
#  %5 = year
#  %6 = tracknumber
#  %7 = tracknumber (with leading zeros)
#  %8 = version-string of MP3c
#  %9 = cddb-id
#  %a = actual day (is set when encoding starts, or batchfile created)
#  %b = actual month
#  %c = actual year (2 digits)
#  %d = actual year (4 digits)
#  %e = weekday (3 letters)
#  %f = month (3 letters)
#  %g = actual hour
#  %h = actual minute
#  %i = minute-part of track-length
#  %j = second-part of track-length
mp3_comment = """

# fancy color for windows (0: never, 1: sometimes, 2: ever)
fancy_color = 0

# autosave configuration on exit (0: no, 1: yes)
auto_save = 0

# default flag (0: default non-fly, 1: default on-fly)
def_on_fly = 0

# rip-encode order (0: rip one track, then encode; 1: rip all tracks,
#                   then encode)
rip_enc_ord = 0

# open tray after encoding (0: no, 1:yes)
open_tray = 1

# tmpfile (for non-on-the-fly convert)
tmp_file = "/tmp/WSPse-MP3Creat.wav"

# what to do with tempfiles on exits
# 0: nothing, 1: delete marked, 2: delete all
del_tmp_on_exit = 1

# default exportfile for ripped tracks
def_exp_file = "./.mp3c-exported"

# if deleteflag should cleared on export (0: no, 1: yes)
clear_del_on_exp = 1

# framemultiplikator (to calculate size)
frame_mult = 214

# pattern for m3u-playlist, use "0" to disable
#  %1 = artistname
#  %2 = title
#  %3 = albumname
#  %4 = genrestring
#  %5 = year
#  %6 = tracknumber
#  %7 = tracknumber (with leading zeros)
#  %8 = cddb-id
m3u_pattern = "%1-%3.m3u"

# pattern for m3u-playlist for sampler cds, use "0" to disable
#  same pattern like in m3u_pattern
m3u_patmix = "%3.m3u"

# directory for m3u-playlist, or "0" to use mp3-dir
m3u_dir = "0"

# how to build the filename for m3u-list
#  0 = full path
#  1 = relative to m3u-maindir
#  2 = relative to m3u-file
m3u_rel_name_type = 2

# existing CDDB genres, do not change manually
cddb_genre_list = "blues,classical,country,data,folk,jazz,misc,newage,reggae,rock,soundtrack"

# allow parallel running sessions of MP3c
para_sessions_allowed = 1

# use internal directory requester
use_dir_request = 1
Immagino che il problema sia relativo a cdda2wav ma non so proprio dove mettere le mani.
Forse si puo' sostituire con un altro programma equivalente...

Spero che qualcuno di voi possa aiutarmi come sempre!
A presto!

Avatar utente
goldy
Packager
Packager
Messaggi: 1267
Iscritto il: lun 3 mag 2004, 0:00
Slackware: Current
Kernel: 2.6.26.5
Desktop: KDE 3.5.10
Località: Bologna
Contatta:

Re: Mp3c non funziona piu': errore cdda2wav

Messaggio da goldy »

Di default le voci riguardanti cdda2wav nel file di config di mp3c
sono impostate in questo modo

Codice: Seleziona tutto

# program for ripping cd-tracks (to file)
#  %1 = cdrom device
#  %2 = track (numeric)
#  %3 = outputfile
rip_nf_prg = "cdda2wav -H -D "%1" -t %2 -O wav -paranoia "%3""

# program for ripping cd-tracks (to stdout)
#  %1 = cdrom device
#  %2 = track (numeric)
rip_of_prg = "cdda2wav -H -D "%1" -t %2 -O wav -paranoia -"
Per quanto riguarda l'alternativa a cdda2wav c'è naturalmente cdparanoia.

Comunque prova a estrarre l'audio con cdda2wav senza usare l'interfaccia di mp3c
e vedi se il problema è di uno o dell'altro

Avatar utente
sberla54
Master
Master
Messaggi: 1500
Iscritto il: gio 24 giu 2004, 0:00
Slackware: 13.0
Desktop: Gnome (o Fluxbox)
Distribuzione: Ubuntu
Località: Bologna
Contatta:

Re: Mp3c non funziona piu': errore cdda2wav

Messaggio da sberla54 »

Comunque prova a estrarre l'audio con cdda2wav senza usare l'interfaccia di mp3c
e vedi se il problema è di uno o dell'altro
Mi sapresti dire la stringa?
La sto cercando in google ma non la trovo....anzi...non ne trovo una che funzioni, quindi non capisco se e' colpa della mia sintassi o sto cdda2wav ha veramente problemi...

Scusami :/

Ho provato a ripristinare la config di cdda2wav base, come me l'hai passata tu, ed ho anche provato a cancellarla del tutto e farla ricreare dal programma, ma ottengo solo un errore diverso:
cdda2wav: Track 1 not found.
Per quanto riguarda l'alternativa a cdda2wav c'è naturalmente cdparanoia.
Ho provato questa config con cdparanoia, come sembra suggerire la home page di mp3c qui: http://www.wspse.de/WSPse/Linux-MP3c.php3
sotto "Usage with other programs".

Codice: Seleziona tutto

# WSPse's MP3-Creator (Configfile)
# creato automaticamente, ma può essere modificato a mano.
# [24.01.2008 23:12] - program version: 0.31
# {mp3c-0.31 (NLS) - ITALIANO (Dec  7 2006) Default:MP3}

# version number (to detect updates and inform about news)
mp3c_version = "0.31"

# cdrom-device
cd_dev = "/dev/hdc"

# CDDB-server [host:port] (more servers maybe seperated by commas)
# use "0" to disable server-access
# note: cddb.cddb.com:8880 is not longer usable
cddb_serv = "freedb.freedb.org:8880"

# local CDDB database
cddb_loc = "~/.cddb"

# if remote CDDB access is allowed
rem_cddb = 1

# mailaddress to which CDDB should be sent (more addresses maybe seperated
# by commas)
cddb_email = "freedb-submit@freedb.org"

# relaying smtp-server who handle my emails [host:port]
smtp_serv = "joshua.punk4free.org:smtp"

# my email address for authorizing [user@host]
my_email = "sberla54@joshua.punk4free.org"

# directory for mp3-files
mp3_dir = "./"

# program for ripping cd-tracks (to file)
#  %1 = cdrom device
#  %2 = track (numeric)
#  %3 = outputfile
rip_nf_prg = "cdparanoia -d "%1" %2 "%3""

# program for ripping cd-tracks (to stdout)
#  %1 = cdrom device
#  %2 = track (numeric)
rip_of_prg = "cdparanoia -p -d "%1" %2 -"

# program for encoding wav->mp3 (from file to file)
#   %1 = inputfile
#   %2 = outputfile
#   %3 = albumname
#   %4 = MP3 genre by number
#   %5 = year
#   %6 = comment
#   %7 = filename
#   %8 = MP3 genre by name
#   %a = tracknumber
#   %b = tracknumber (with leading zeros)
#   %c = artistname
#   %d = title
enc_nf_prg = "lame --preset fast extreme --tt "%d" --ta "%c" --tl "%3" --ty "%5" --tc "%6" --tn "%a" --tg "%4" "%1" "%2""

# program for encoding wav->mp3 (from stdin to file)
#  %1 = outputfile
#  %3 = albumname
#  %4 = MP3 genre by number
#  %5 = year
#  %6 = comment
#  %7 = filename
#  %8 = MP3 genre by name
#  %a = tracknumber
#  %b = tracknumber (with leading zeros)
#  %c = artistname
#  %d = title
enc_of_prg = "lame --preset fast extreme --tt "%d" --ta "%c" --tl "%3" --ty "%5" --tc "%6" --tn "%a" --tg "%4" - "%1""

# program for creating mp3 info
#  use mp3_info_prg = "0" to disable usage of tagprogram
#  %1 = artistname
#  %2 = title
#  %3 = albumname
#  %4 = genre (by number)
#  %5 = year
#  %6 = comment
#  %7 = filename
#  %8 = genre (by name)
#  %a = tracknumber
#  %b = tracknumber (with leading zeros)
mp3_info_prg = "0"

# string which replaced %8 in mp3_info_prg, if genre is unknown
unknown_genre = "Unknown"

# size of fifo-buffer for on the fly encoding (KB)
of_fifo = 512

# pattern for mp3-filename-creation
#  %1 = artistname
#  %2 = title
#  %3 = albumname
#  %4 = genrestring
#  %5 = year
#  %6 = tracknumber
#  %7 = tracknumber (with leading zeros)
#  %8 = cddb-id
mp3_pattern = "%7-%8.mp3"

# pattern fro mp3-filename-creation for sampler cds
#  same pattern like in mp3_pattern
mp3_pattern_mix = "%3/%1-%2.mp3"

# mode for handling spaces in filenames
#  0: spaces allowed, 1: spaces will be converted to specified replace character
#  2: spaces will be killed
pat_mode = 1
space_rep_char = "_"

# appereance of filename case
#  0: as it is in CDDB entry
#  1: convert to lowercase (first letter will be uppercase if pat_upc = 1
#  2: convert to uppercase
case_chg = 0

# convert first letter of filename to uppercase
#  0: no, 1: yes
pat_upc = 1

# illegal characters which aren't allowed in filenames
# (converted to '_' if mode != 2, else killed
ill_chars = "~[]()!*?""

# what to do with illegal characters, should they be removed?
# (otherwise convert to '_' or space, depending on pat_mode)
#  0: no, use pat_mode, 1: yes, remove
rem_ill_char = 1

# protect pattern from substitution operations?
#  0: no, 1: yes
pattern_protect = 1

# character which should replace slashes in album, artist, title
# (only one character allowed, use "0" to accept slashes in these
   fields, which causes strange directory creation)
slash_rep_char = "-"

# non-strict character handling
# 0: only printable chars allowed, 1: eased allowed chars
eased_char_hand = 0

# default comment for mp3-files
#  %1 = artistname
#  %2 = title
#  %3 = albumname
#  %4 = genrestring
#  %5 = year
#  %6 = tracknumber
#  %7 = tracknumber (with leading zeros)
#  %8 = version-string of MP3c
#  %9 = cddb-id
#  %a = actual day (is set when encoding starts, or batchfile created)
#  %b = actual month
#  %c = actual year (2 digits)
#  %d = actual year (4 digits)
#  %e = weekday (3 letters)
#  %f = month (3 letters)
#  %g = actual hour
#  %h = actual minute
#  %i = minute-part of track-length
#  %j = second-part of track-length
mp3_comment = """

# fancy color for windows (0: never, 1: sometimes, 2: ever)
fancy_color = 0

# autosave configuration on exit (0: no, 1: yes)
auto_save = 0

# default flag (0: default non-fly, 1: default on-fly)
def_on_fly = 0

# rip-encode order (0: rip one track, then encode; 1: rip all tracks,
#                   then encode)
rip_enc_ord = 0

# open tray after encoding (0: no, 1:yes)
open_tray = 1

# tmpfile (for non-on-the-fly convert)
tmp_file = "/tmp/WSPse-MP3Creat.wav"

# what to do with tempfiles on exits
# 0: nothing, 1: delete marked, 2: delete all
del_tmp_on_exit = 1

# default exportfile for ripped tracks
def_exp_file = "./.mp3c-exported"

# if deleteflag should cleared on export (0: no, 1: yes)
clear_del_on_exp = 1

# framemultiplikator (to calculate size)
frame_mult = 214

# pattern for m3u-playlist, use "0" to disable
#  %1 = artistname
#  %2 = title
#  %3 = albumname
#  %4 = genrestring
#  %5 = year
#  %6 = tracknumber
#  %7 = tracknumber (with leading zeros)
#  %8 = cddb-id
m3u_pattern = "%1-%3.m3u"

# pattern for m3u-playlist for sampler cds, use "0" to disable
#  same pattern like in m3u_pattern
m3u_patmix = "%3.m3u"

# directory for m3u-playlist, or "0" to use mp3-dir
m3u_dir = "0"

# how to build the filename for m3u-list
#  0 = full path
#  1 = relative to m3u-maindir
#  2 = relative to m3u-file
m3u_rel_name_type = 2

# existing CDDB genres, do not change manually
cddb_genre_list = "blues,classical,country,data,folk,jazz,misc,newage,reggae,rock,soundtrack"

# allow parallel running sessions of MP3c
para_sessions_allowed = 1

# use internal directory requester
use_dir_request = 1
E mi da questo errore:
cdparanoia III release 10pre0 (August 29, 2006)
(C) 2006 Monty <monty@xiph.org> and Xiph.Org

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Selected span contains non audio tracks. Aborting.
Bho O_O
Forse questa volta, con cdparanoia, sbaglio semplicemente la sintassi, perche' sembra dirmi che non gli indico un range dove sono presenti tracce.

Solo io lo uso sto benedetto mp3c? :)
Non c'e' qualcuno che lo conosce un minimo?

Gia' che ci sono, che differenze sostanziali ci sono fra cdda2wav e cdparanoia, a livello di qualita' e velocita' d'estrazione?

Grazie!

Avatar utente
goldy
Packager
Packager
Messaggi: 1267
Iscritto il: lun 3 mag 2004, 0:00
Slackware: Current
Kernel: 2.6.26.5
Desktop: KDE 3.5.10
Località: Bologna
Contatta:

Re: Mp3c non funziona piu': errore cdda2wav

Messaggio da goldy »

Mi sapresti dire la stringa?
Per fare qualche prova

Codice: Seleziona tutto

cdda2wav dev=/dev/cdrom -x --alltracks
Estrai tutto il cd

cdda2wav dev=/dev/cdrom -x -t 7   
estrai la traccia 7
man cdda2wav per il resto delle sterminate opzioni
Poi posta anche il risultato di

Codice: Seleziona tutto

cdda2wav -scanbus
oppure
cdda2wav -scanbus dev=ATAPI
Forse questa volta, con cdparanoia, sbaglio semplicemente la sintassi, perche' sembra dirmi che non gli indico un range dove sono presenti tracce.
No, il comando mi sembra corretto
ma visto anche l'altro errore che riporti
cdda2wav: Track 1 not found.
ti consiglio di provare con qualche altro cd
Gia' che ci sono, che differenze sostanziali ci sono fra cdda2wav e cdparanoia, a livello di qualita' e velocita' d'estrazione?
cdparanoia è ottimo per fare un'estrazione accurata , utile in caso di cd con errori di lettura , ma più lento rispetto a cdda2wav.
Io uso quasi sempre cdda2wav , volendo c'è anche l'opzione -paranoia per fare un lavoro più accurato
Ultima modifica di goldy il gio 6 nov 2008, 18:16, modificato 1 volta in totale.

Avatar utente
goldy
Packager
Packager
Messaggi: 1267
Iscritto il: lun 3 mag 2004, 0:00
Slackware: Current
Kernel: 2.6.26.5
Desktop: KDE 3.5.10
Località: Bologna
Contatta:

Re: Mp3c non funziona piu': errore cdda2wav

Messaggio da goldy »

.........

Avatar utente
sberla54
Master
Master
Messaggi: 1500
Iscritto il: gio 24 giu 2004, 0:00
Slackware: 13.0
Desktop: Gnome (o Fluxbox)
Distribuzione: Ubuntu
Località: Bologna
Contatta:

Re: Mp3c non funziona piu': errore cdda2wav

Messaggio da sberla54 »

Appena ho un attimo di tempo provo e ti faccio sapere!
Grazie per le dritte....soprattutto perche' sono cose che con un po' piu' di tempo mi sarei dovuto studiare e scoprire da solo!

P.s. grande la citazione di De Andre' nella firma :)

Rispondi