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
Hybrid View
-
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.

Reply With Quote

