title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 10 of 10

Thread: Metadata lost when converting from ALAC to FLAC (not all files)

  1. #1

    Join Date
    Feb 2017
    Location
    Flower Mound, TX
    Posts
    7

    Metadata lost when converting from ALAC to FLAC (not all files)

    Started to Batch Convert my entire library from lossless ALAC to FLAC and started noticing that some of the files lost their metadata in the process. Isolated a good example (can produce many) of a working file and a broken file both from the same ripped CD. The CD was originally ripped using 'dBpoweramp Release 14.4' using encoder 'Apple Open Source ALAC v1.0'; I'm currently using R16.4 to perform the conversions.

    Is this a known issue?

    I'm happy to provide before and after files for analysis.

    -Stephen

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    38,575

    Re: Metadata lost when converting from ALAC to FLAC (not all files)

    Can anything else see the metadata in the ALAC files?

  3. #3

    Join Date
    Feb 2017
    Location
    Flower Mound, TX
    Posts
    7

    Re: Metadata lost when converting from ALAC to FLAC (not all files)

    Windows is able to display in Explorer when the folder is set to view type Music (Name, *, Title, Contributing Artists, Album, etc)
    Explorer view.png

    And using ID-Tag Editor, all of the metadata is shown.
    ID-Tag Editor.png

    Neither method works on the converted FLAC file.

  4. #4
    dBpoweramp Guru
    Join Date
    Feb 2014
    Posts
    1,141

    Re: Metadata lost when converting from ALAC to FLAC (not all files)

    Could you please post a screenshot of the meta data of the converted flac? I have an idea...


    Dat Ei

  5. #5

    Join Date
    Feb 2017
    Location
    Flower Mound, TX
    Posts
    7

    Re: Metadata lost when converting from ALAC to FLAC (not all files)

    I must apologize - my original problem description is actually incorrect. For the files that are missing metadata, the audio conversion is actually failing; the output file is merely a ~4-5K partial.

    Digging deeper, a check of the Event Log reveals these errors:
    Faulting application name: CoreConverter.exe, version: 16.4.0.2, time stamp: 0x5a456e59
    Faulting module name: FLAC.DLL, version: 16.3.0.0, time stamp: 0x59fb3943
    Exception code: 0xc000001d
    Fault offset: 0x0000000000035523
    Faulting process id: 0x6594
    Faulting application start time: 0x01d3fb3d9fab45bd
    Faulting application path: C:\Program Files\dBpoweramp\CoreConverter.exe
    Faulting module path: C:\Program Files\dBpoweramp\encoder\FLAC.DLL
    Report Id: f0c6317e-e5ce-4043-bdce-57f80634cef3
    Faulting package full name:
    Faulting package-relative application ID:
    Windows cannot access the file for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program dBpoweramp CoreConverter because of this error.

    Program: dBpoweramp CoreConverter
    File:

    The error value is listed in the Additional Data section.
    User Action
    1. Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
    2. If the file still cannot be accessed and
    - It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
    - It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
    3. Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
    4. If the problem persists, restore the file from a backup copy.
    5. Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.

    Additional Data
    Error value: 00000000
    Disk type: 0

    Enabling Music Converter debug output, this is produced:

    Splitting Command Line:"C:\Program Files\dBpoweramp\CoreConverter.exe" -dbcmd="C:\Users\steph\AppData\Local\Temp\dBT66BB.t mp"
    ->-> [dBCoreConverter::ReaddBCommandFile]
    <-<- [dBCoreConverter::ReaddBCommandFile]
    Decodes [clDecoder_M4A::Get]
    BatchID [clDecoder_M4A::Set]
    ->-> [cldBCodecHandler::LoadEncoder]
    Loading Encoder 'C:\Program Files\dBpoweramp\encoder\FLAC.DLL'
    <-<- [cldBCodecHandler::LoadEncoder]
    BatchID [clEncoder::Set]
    ->-> [dBCoreConverter::StripCoreConverterCmds]
    <-<- [dBCoreConverter::StripCoreConverterCmds]
    SendRawUnCompressed [clEncoder::Get]
    IsLive [clDSP_FolderJpgPreserve::Get]
    SendOverReplayGainTags [clDSP_FolderJpgPreserve::Get]
    BatchID [clDSP_FolderJpgPreserve::Set]
    Communicate [clDecoder_M4A::Get]
    Communicate [clEncoder::Get]
    NeedHQAudio [clEncoder::Get]
    ->-> [clDecoder_M4A::Open]
    ->-> [clDecoder_M4A::Close]
    <-<- [clDecoder_M4A::Close]
    Opening file 'M:\Music Masters\Secure\ALAC\Ac-Dc\Back In Black\03 Ac-Dc - What Do You Do For Money Honey.m4aOpened
    Opening tag reader / writer: Opened
    ->-> [clMP4Handler::ScanFile]
    Got Chunk 'ftyp' Length: 32 ChunkPosition: 0
    Got Chunk 'moov' Length: 15074 ChunkPosition: 32
    Got Chunk 'mdat' Length: 26603093 ChunkPosition: 15106
    <-<- [clMP4Handler::ScanFile]
    ->-> [clMP4Handler::ScanFile]
    Got Chunk 'mvhd' Length: 108 ChunkPosition: 40
    Got Chunk 'trak' Length: 11584 ChunkPosition: 148
    Got Chunk 'udta' Length: 3374 ChunkPosition: 11732
    <-<- [clMP4Handler::ScanFile]
    ->-> [cliTunesTag::Initialize2]
    Looking for meta block...
    ->-> [cliMemoryAtomParse::Initialize]
    <-<- [cliMemoryAtomParse::Initialize]
    Found meta, looking for ilst block...
    ->-> [cliMemoryAtomParse::Initialize]
    <-<- [cliMemoryAtomParse::Initialize]
    Found ilst.
    <-<- [`anonymous-namespace'::clTagInitState::ReadUdata]
    ->-> [clDecoder_M4A::ReadIDTags]
    Contains 19 ID Tags
    Title: What Do You Do For Money Honey
    Year: 1980
    Composer: Brian Johnson/Angus Young/Malcolm Young
    Disc: 1/1
    Label: Atco
    UPC: 075679241825
    Style: Hard Rock/Heavy Metal/Arena Rock/Album Rock/Aussie Rock
    Album: Back In Black
    Genre: Pop\Rock
    Artist: Ac/Dc
    Album Artist: Ac/Dc
    MetaProvider: Mixed Providers
    Rating: 10
    Track: 3/10
    AccurateRipResult: Accuraterip: Accurate (Confidence 8) [efed909c]
    AccurateRipDiscID: 010-00105f5b-00810c86-7109d50a-3
    Source: Cd (Lossless) >> Perfect (Lossless) [m4a] >> Perfect (Lossless) [m4a]
    Encoded by: Dbpoweramp Release 16.4
    Encoder: Apple Open Source Alac V1.0
    <-<- [clDecoder_M4A::ReadIDTags]
    Searching for AAC Track:
    not found, trying ALAC:
    ->-> [clMP4Handler::ScanFile]
    Got Chunk 'tkhd' Length: 92 ChunkPosition: 156
    Got Chunk 'mdia' Length: 11484 ChunkPosition: 248
    <-<- [clMP4Handler::ScanFile]
    ->-> [clMP4Handler::ScanFile]
    Got Chunk 'mdhd' Length: 32 ChunkPosition: 256
    Got Chunk 'hdlr' Length: 36 ChunkPosition: 288
    Got Chunk 'minf' Length: 11408 ChunkPosition: 324
    <-<- [clMP4Handler::ScanFile]
    ->-> [clMP4Handler::ScanFile]
    Got Chunk 'smhd' Length: 16 ChunkPosition: 332
    Got Chunk 'dinf' Length: 36 ChunkPosition: 348
    Got Chunk 'stbl' Length: 11348 ChunkPosition: 384
    <-<- [clMP4Handler::ScanFile]
    ->-> [clMP4Handler::ScanFile]
    Got Chunk 'stsd' Length: 88 ChunkPosition: 392
    Got Chunk 'stts' Length: 32 ChunkPosition: 480
    Got Chunk 'stsc' Length: 40 ChunkPosition: 512
    Got Chunk 'stsz' Length: 9304 ChunkPosition: 552
    Got Chunk 'stco' Length: 1876 ChunkPosition: 9856
    <-<- [clMP4Handler::ScanFile]
    Created
    ->-> [clDecoder_M4A::FillAudioProps]
    Encoder: Apple Lossless (ALAC)
    Sample Count: 9,505,020
    ID Tag: Apple iTunes
    Contains: ID Tag [Apple iTunes]
    <-<- [clDecoder_M4A::FillAudioProps]
    ->-> [clDecoder_M4A::FillAudioInfo]
    Uncompressed WFX (sent to db): Format Tag: 1 Channels: 2 Bits per Sample: 16 Samples Per Second: 44100 Bytes Per Second: 176400 Block Align: 4 CB Size: 0
    Audio Length: 215533 mili-seconds 26618199 bytes 1411 kbps
    <-<- [clDecoder_M4A::FillAudioInfo]
    Creating Decode Buffer: Created
    <-<- [clDecoder_M4A::Open]
    SendOverReplayGainTags [clEncoder::Get]
    ->-> [clDSP_FolderJpgPreserve::BeginConversion]
    <-<- [clDSP_FolderJpgPreserve::BeginConversion]
    ->-> [clEncoder::BeginConversion]
    Converting to 'U:\Test Conversions\Secure\ALAC\Ac-Dc\Back In Black\03 Ac-Dc - What Do You Do For Money Honey.flac' encoder settings ' -compression-level-5 -verify'
    FLAC Compression Level: 5
    <-<- [clEncoder::BeginConversion]
    Communicate [clDecoder_M4A::Get]
    Communicate [clEncoder::Get]
    Encoding To: FLAC
    Encoder Cmd Line: -compression-level-5 -verify
    DSP Effects:
    Folder.jpg Preserve: -ext=""

    ============= CONVERSION BEGIN =============

  6. #6
    Administrator
    Join Date
    Apr 2002
    Posts
    38,575

    Re: Metadata lost when converting from ALAC to FLAC (not all files)

    Try R16.5 which is in the testing section of this forum.

  7. #7

    Join Date
    Feb 2017
    Location
    Flower Mound, TX
    Posts
    7

    Re: Metadata lost when converting from ALAC to FLAC (not all files)

    R16.5 beta worked just fine.

    Fixed by updated FLAC 1.3.3 beta ?

  8. #8
    Administrator
    Join Date
    Apr 2002
    Posts
    38,575

    Re: Metadata lost when converting from ALAC to FLAC (not all files)

    Yes, we will release R16.5 in a around 8 weeks.

  9. #9

    Join Date
    Mar 2019
    Posts
    1

    Re: Metadata lost when converting from ALAC to FLAC (not all files)

    Has this been resolved? I will convert FLAC (and perhaps WAV) files created from Audacity to ALAC. Does dBpoweramp retain metadata when doing this? I would settle for all the basic, standard Audacity fields (album name, artist name, track [song] title, album title, track number, year, genre, and comments), but if anyone has tried custom fields in Audacity, corresponding to other song info in iTunes (like composer or disc number), does that work? Thank you!

  10. #10
    Administrator
    Join Date
    Apr 2002
    Posts
    38,575

    Re: Metadata lost when converting from ALAC to FLAC (not all files)

    It does preserve the tags.

Tags for this Thread

Posting Permissions

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