-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-encode flac files in order to preserve duration #1809
Comments
This can be done by converting them to a different format and then back to FLAC.
|
Those specific commands would drop any metadata from the FLAC though, though I guess there are ways to add that back. Is there an upstream (ffmpeg) issue/ticket for this? |
I've found these: |
@Freso you can use additional options to copy the metadata from the original FLAC file to the final trimmed FLAC file |
I've found an app called Audacity that cuts flacs the way it should without messing up the times. |
losslesscut can also do it now, if you want you can test it in the latest nightly build: https://github.com/mifi/lossless-cut/actions/runs/10585664608 |
When trimming flac files using
copy
the duration doesn't get updated and remains as the original. Only happens with flac audio files. This is a bug in ffmpeg that seems will not be fixed. So we could workaround it by re-encoding flac (because it is lossless even when encoding, even though slower)Originally posted by @hazerflac7 in #1320
The text was updated successfully, but these errors were encountered: