I've tried to convert flacs to MP3s with flac2mp3, but I keep getting an error which I don't understand. Can anyone help?
lars@ubuntu-server:/bin/flac2mp3-0.3.0rc1$ /bin/flac2mp3-0.3.0rc1/flac2mp3.pl /home/felles/Media/Musikk/Rippet /home/felles/Media/Flac_som_MP3
Using flac from: /usr/bin/flac
Using lame from: /usr/bin/lame
Processing directory: /home/felles/Media/Musikk/Rippet
6348 flac files found. Sorting...
Sort complete.
totalSeconds is 0 - we couldn't find either TOTALSAMPLES or SAMPLERATE!
setting totalSeconds to 1 to avoid divide by zero error!
[.Trash-lars/Welcome_To_Earth/01._Apoptygma_Berzerk_-_Everything_We_Know_Is_Wrong.flac] Unable to read metadata from FLAC! at /bin/flac2mp3-0.3.0rc1/lib/Audio/FLAC/Header.pm line 94.
sudo /bin/flac2mp3-0.3.0rc1$ /bin/flac2mp3-0.3.0rc1/flac2mp3.pl /home/felles/Media/Musikk/Rippet /home/felles/Media/Flac_som_MP3 is tried as well.
Results 1 to 10 of 31
Thread: Problems using flac2mp3
-
2008-02-21, 07:05 #1Member
- Join Date
- Oct 2007
- Posts
- 53
Problems using flac2mp3
-
2008-02-21, 07:26 #2Robin BowesGuest
Problems using flac2mp3
OiPenguin wrote:
> I've tried to convert flacs to MP3s with flac2mp3, but I keep getting an
> error which I don't understand. Can anyone help?
>
> lars@ubuntu-server:/bin/flac2mp3-0.3.0rc1$
> /bin/flac2mp3-0.3.0rc1/flac2mp3.pl /home/felles/Media/Musikk/Rippet
> /home/felles/Media/Flac_som_MP3
> Using flac from: /usr/bin/flac
> Using lame from: /usr/bin/lame
> Processing directory: /home/felles/Media/Musikk/Rippet
> 6348 flac files found. Sorting...
> Sort complete.
> totalSeconds is 0 - we couldn't find either TOTALSAMPLES or
> SAMPLERATE!
> setting totalSeconds to 1 to avoid divide by zero error!
> [.Trash-lars/Welcome_To_Earth/01._Apoptygma_Berzerk_-_Everything_We_Know_Is_Wrong.flac]
> Unable to read metadata from FLAC! at
> /bin/flac2mp3-0.3.0rc1/lib/Audio/FLAC/Header.pm line 94.
>
> sudo /bin/flac2mp3-0.3.0rc1$ /bin/flac2mp3-0.3.0rc1/flac2mp3.pl
> /home/felles/Media/Musikk/Rippet /home/felles/Media/Flac_som_MP3 is
> tried as well.
That looks like a problem with your flac files.
What is the output from running the following command on that file:
flac --test <filename>
R.
-
2008-02-21, 08:21 #3Member
- Join Date
- Oct 2007
- Posts
- 53
I'm having trouble doing what you're asking me to do. Could the problem be related to spaces in folder and file names?
lars@ubuntu-server:/home/felles/Media/Musikk/Rippet/Ash/Goldfinger$ flac --test 04. Ash - Get Ready.flac
flac 1.1.4, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
04.: ERROR initializing decoder
init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FIL E
An error occurred opening the input file; it is likely that it does not exist
or is not readable.
Ash: ERROR initializing decoder
init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FIL E
An error occurred opening the input file; it is likely that it does not exist
or is not readable.
Get: ERROR initializing decoder
init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FIL E
An error occurred opening the input file; it is likely that it does not exist
or is not readable.
Ready.flac: ERROR initializing decoder
init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FIL E
An error occurred opening the input file; it is likely that it does not exist
or is not readable.
lars@ubuntu-server:/home/felles/Media/Musikk/Rippet/Ash/Goldfinger$
-
2008-02-21, 08:35 #4Junior Member
- Join Date
- Jan 2008
- Posts
- 23
Problems using flac2mp3
Just pop some double quotes round the file name and try again.
-----Original Message-----
From: OiPenguin <OiPenguin.354zvo1203607502 (AT) no-mx (DOT) forums.slimdevices.com>
Date: Thu, 21 Feb 2008 07:21:45
To:unix (AT) lists (DOT) slimdevices.com
Subject: Re: [SlimDevices: Unix] Problems using flac2mp3
Robin Bowes;271568 Wrote: [color=blue]
> OiPenguin wrote:
>
>
> That looks like a problem with your flac files.
>
> What is the output from running the following command on that file:
>
> flac --test <filename>
>
> R.
I'm having trouble doing what you're asking me to do. Could the problem
be related to spaces in folder and file names?
lars@ubuntu-server:/home/felles/Media/Musikk/Rippet/Ash/Goldfinger$
flac --test 04. Ash - Get Ready.flac
flac 1.1.4, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh
Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are
welcome to redistribute it under certain conditions. Type `flac' for
details.
04.: ERROR initializing decoder
init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FIL E
An error occurred opening the input file; it is likely that it does not
exist
or is not readable.
Ash: ERROR initializing decoder
init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FIL E
An error occurred opening the input file; it is likely that it does not
exist
or is not readable.
Get: ERROR initializing decoder
init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FIL E
An error occurred opening the input file; it is likely that it does not
exist
or is not readable.
Ready.flac: ERROR initializing decoder
init status =
FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FIL E
An error occurred opening the input file; it is likely that it does not
exist
or is not readable.
lars@ubuntu-server:/home/felles/Media/Musikk/Rippet/Ash/Goldfinger$
--
OiPenguin
------------------------------------------------------------------------
OiPenguin's Profile: http://forums.slimdevices.com/member.php?userid=13658
View this thread: http://forums.slimdevices.com/showthread.php?t=43725
-
2008-02-21, 09:11 #5Member
- Join Date
- Oct 2007
- Posts
- 53
lars@ubuntu-server:/home/felles/Media/Musikk/Rippet/Ash/Goldfinger$ flac --test "04. Ash - Get Ready.flac"
flac 1.1.4, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
04. Ash - Get Ready.flac: ok
lars@ubuntu-server:/home/felles/Media/Musikk/Rippet/Ash/Goldfinger$
-
2008-02-21, 11:55 #6
I think Robin would like you to run the command on the actual file that failed in your original post.
Especially as it looks like a trash directory....
Steve.
-
2008-02-21, 12:05 #7
what about:
?Code:metaflac --list "04. Ash - Get Ready.flac"
-
2008-02-21, 15:43 #8Member
- Join Date
- Oct 2007
- Posts
- 53
It appears to be a trash directory, but I'm unable to find the file or directory using Nautilus. Midnight Commander (sudo mc) displays an empty directory at /home/lars/.Trash The result of the command on the file in the trash directory is below.
lars@ubuntu-server:/home/felles/Media/Musikk/Rippet/Ash/Goldfinger$ metaflac --list "04. Ash - Get Ready.flac"Code:lars@ubuntu-server:/home/felles/Media/Musikk/Rippet/Ash/Goldfinger$ flac --test .Trash-lars/Welcome_To_Earth/01._Apoptygma_Berzerk_-_Everything_We_Know_Is_Wrong.flac flac 1.1.4, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Type `flac' for details. 01._Apoptygma_Berzerk_-_Everything_We_Know_Is_Wrong.flac: ERROR initializing decoder init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE An error occurred opening the input file; it is likely that it does not exist or is not readable.
METADATA block #0
type: 0 (STREAMINFO)
is last: false
length: 34
minimum blocksize: 4608 samples
maximum blocksize: 4608 samples
minimum framesize: 15 bytes
maximum framesize: 16433 bytes
sample_rate: 44100 Hz
channels: 2
bits-per-sample: 16
total samples: 7492296
MD5 signature: c38772f4e39bc5a2eaf79505db3768b2
METADATA block #1
type: 4 (VORBIS_COMMENT)
is last: true
length: 224
vendor string: reference libFLAC 1.1.4 20070213
comments: 8
comment[0]: TITLE=Get Ready
comment[1]: ARTIST=Ash
comment[2]: TRACKNUMBER=4
comment[3]: TRACKTOTAL=4
comment[4]: ALBUM=Goldfinger
comment[5]: MUSICBRAINZ_SORTNAME=Ash
comment[6]: DISCID=21031804
comment[7]: MUSICBRAINZ_DISCID=R8uMinbWD2IGjRWaF7WtCPq.bkk-
-
2008-02-21, 17:45 #9Robin BowesGuest
Problems using flac2mp3
It sounds like you have file/permissions issues rather than this being a
flac2mp3 problem.
R.
-
2008-02-22, 00:56 #10Member
- Join Date
- Oct 2007
- Posts
- 53

Reply With Quote
wner should be users:users. Is this inappropriate?
