Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

produces corrupted file #45

Description

I noticed clipping in one of the songs that I downloaded with this tool. I compared it to the same track from another source, and there was no clipping there.
So I ran

ffmpeg -v error -i file.m4a -f null -
[alac @ 0x561315aa29c0] invalid element channel count
[aist#0:0/alac @ 0x5613159f92c0] [dec:alac @ 0x5613159f4e80] Error submitting packet to decoder: Invalid data found when processing input
[alac @ 0x561315a26880] invalid element channel count
[aist#0:0/alac @ 0x5613159f92c0] [dec:alac @ 0x5613159f4e80] Error submitting packet to decoder: Invalid data found when processing input
[alac @ 0x561315a81240] invalid element channel count
[aist#0:0/alac @ 0x5613159f92c0] [dec:alac @ 0x5613159f4e80] Error submitting packet to decoder: Invalid data found when processing input
[alac @ 0x561315ae58c0] invalid element channel count
[aist#0:0/alac @ 0x5613159f92c0] [dec:alac @ 0x5613159f4e80] Error submitting packet to decoder: Invalid data found when processing input
[alac @ 0x561315b17c00] invalid element channel count
[aist#0:0/alac @ 0x5613159f92c0] [dec:alac @ 0x5613159f4e80] Error submitting packet to decoder: Invalid data found when processing input
[alac @ 0x561315a25e40] invalid element channel count
[aist#0:0/alac @ 0x5613159f92c0] [dec:alac @ 0x5613159f4e80] Error submitting packet to decoder: Invalid data found when processing input

Interestingly, I have flac conversion enabled in the apple downloader config and the file was transcoded to flac without any errors, but the clipping is still present in the output.
Track in question - https://music.apple.com/us/song/carried-away-feat-night-lovell/1818471714
at around 28 second you can hear clipping.
There is no clipping when playing on apple music in the browser.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions