Skip to content

How to implement seamless file segmentation without losing any frames/audio? #2107

@legosaro

Description

@legosaro

Hi,

I'm trying to implement continuous recording into multiple files with a fixed duration (for example, 2-minute segments).
My goal is to automatically create a new file every 2 minutes without losing even a single frame or audio sample during the transition between files.
I'm looking for the best approach to achieve seamless file segmentation.
Is there a recommended way in RootEncoder to switch output files while recording?
Can the muxer be replaced on the fly without interrupting the encoder?

Any suggestions or examples would be greatly appreciated.

Thanks!

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