Skip to content

Support directly frame copying for track splitting #3

@pca006132

Description

@pca006132

The approach used by https://github.com/boinkor-net/flac-tracksplit, i.e., directly copying frames, is a lot faster than decoding and re-encoding the PCM samples. The current implementation there stops at frame boundaries, but if my understanding is correct, we can decode the boundary frames, split the samples, and re-encode them (with the caveat that the new first frame may have fewer samples than allowed, so we may need to combine with the second frame and potentially split that to fit into the maximum samples limit).

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