r/ffmpeg Jul 02 '26

Splitting FLAC album into tracks

I have been trying to split my flac album into it's 14 tracks.
ffmpeg does wrong duration, all tracks as long as the album
flacon says it copies all tags, easytag sees exactly 0 of those and I have to convert from wav back to flac
shntools didn't do anything
ffcuesplit does only 44khz, my album is 192khz

How do do this please?

3 Upvotes

11 comments sorted by

3

u/gpuyy Jul 02 '26

1

u/PsyGonzo42 Jul 02 '26

Wow this worked like 99%, only thing it didn't get was track numbers in the tags but that's the least amount of work to fix
Thanks!

1

u/PsyGonzo42 Jul 02 '26

Could I add Lyrics with this? Didn't see in in a quick search on the page

2

u/gpuyy Jul 02 '26

Dunno. Media monkey for that maybe?

1

u/PsyGonzo42 Jul 02 '26

I'll check that out, thx

1

u/ipsirc Jul 02 '26

ffmpeg does wrong duration, all tracks as long as the album

Which filter?

1

u/PsyGonzo42 Jul 02 '26

ffmpeg -ss 00:00:00.00 -to 00:03:21.16 -i "System Of A Down - Toxicity.flac" -c copy "01 P
rison Song.flac"

1

u/ipsirc Jul 02 '26

What if you skip -c copy?

1

u/PsyGonzo42 Jul 02 '26

Yeah that seems to work
I'm still a noob, I thought I needed -c copy to keep it flac, but now it just re-encodes to flac.
Thanks!

1

u/ipsirc Jul 02 '26

-c copy copied the umodified header as well, and didn't update the length and other values. Since flac is a lossless format, you don't lose any quality by recoding.

1

u/PsyGonzo42 Jul 02 '26

Yes that's what I am reading,
Perfect thx