Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31
  1. #1

    Problems using flac2mp3

    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.

  2. #2
    Robin Bowes
    Guest

    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.


  3. #3
    Quote Originally Posted by Robin Bowes View Post
    OiPenguin wrote:[color=blue]


    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$

  4. #4
    Junior 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


  5. #5
    Quote Originally Posted by Alan Haigh View Post
    Just pop some double quotes round the file name and try again.
    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$

  6. #6
    Senior Member SteveEast's Avatar
    Join Date
    Feb 2006
    Location
    Minneapolis, MN
    Posts
    598
    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.

  7. #7
    Senior Member mflint's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    392
    what about:
    Code:
    metaflac --list "04. Ash - Get Ready.flac"
    ?

  8. #8
    Quote Originally Posted by SteveEast View Post
    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.
    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.

    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.
    Quote Originally Posted by mflint View Post
    what about:
    Code:
    metaflac --list "04. Ash - Get Ready.flac"
    ?
    lars@ubuntu-server:/home/felles/Media/Musikk/Rippet/Ash/Goldfinger$ metaflac --list "04. Ash - Get Ready.flac"
    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-

  9. #9
    Robin Bowes
    Guest

    Problems using flac2mp3

    It sounds like you have file/permissions issues rather than this being a
    flac2mp3 problem.

    R.


  10. #10
    Quote Originally Posted by Robin Bowes View Post
    It sounds like you have file/permissions issues rather than this being a
    flac2mp3 problem.

    R.
    All files and folders are read/write/execute. Groupwner should be users:users. Is this inappropriate?

    Yours,

    Lars

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •