Skip to content

[Question] Support for fragmented mp4 #2

@tvercaut

Description

@tvercaut

Sorry if this is not the right place to ask but I couldn't find a forum or discussion tab for this library. I am interested in writting mp4s with frame-level metadata.

I came across your library from the pdraw documentation:
https://developer.parrot.com/docs/pdraw/video-metadata.html#integration-in-the-mp4-file

It looks like exactly what I need in terms of metadata handling and seems easier to use than ffmpeg/libavformat for this specific use case.

One of the things I would like to achieve though is to make sure that if the software crashes or the recording is interupted for any other reason before the file is properly closed, I would still be able to read a large portion of the recording. This seems to be handle through fragmentation of the mp4 and this is supported by ffmpeg/libavformat:
https://ffmpeg.org/ffmpeg-formats.html#Options-11

-movflags frag_keyframe
Start a new fragment at each video keyframe.

Can this be achieved with libmp4?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions