[GH-ISSUE #164] [Feature Request] Output as ALAC encoded .m4a #813

Closed
opened 2026-03-01 17:31:25 +03:00 by kerem · 0 comments
Owner

Originally created by @borntohonk on GitHub (Dec 15, 2025).
Original GitHub issue: https://github.com/afkarxyz/SpotiFLAC/issues/164

FLAC and ALAC basically the same, but ALAC is just apple branded version of it, still lossless, not really a "conversion" required, but to import the output songs into iphone through iTunes, it does not want/accept .flac as it is

(i currently manually batch process the downloaded files using ffmpeg)
linux (.sh)

for file in *.flac; do ffmpeg -i "$file" -c:v copy -c:a alac "`basename "$file" .flac`.m4a";done

windows (.bat)

for %%F in (*.flac) do (
    ffmpeg -i "%%F" -c:v copy -c:a alac "%%~nF.m4a"
)
Originally created by @borntohonk on GitHub (Dec 15, 2025). Original GitHub issue: https://github.com/afkarxyz/SpotiFLAC/issues/164 FLAC and ALAC basically the same, but ALAC is just apple branded version of it, still lossless, not really a "conversion" required, but to import the output songs into iphone through iTunes, it does not want/accept .flac as it is (i currently manually batch process the downloaded files using ffmpeg) linux (.sh) ```bash for file in *.flac; do ffmpeg -i "$file" -c:v copy -c:a alac "`basename "$file" .flac`.m4a";done ``` windows (.bat) ```bat for %%F in (*.flac) do ( ffmpeg -i "%%F" -c:v copy -c:a alac "%%~nF.m4a" ) ```
kerem closed this issue 2026-03-01 17:31:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SpotiFLAC#813
No description provided.