Skip to content
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

[Question] Support for fragmented mp4 #2

Open
tvercaut opened this issue Mar 30, 2022 · 0 comments
Open

[Question] Support for fragmented mp4 #2

tvercaut opened this issue Mar 30, 2022 · 0 comments

Comments

@tvercaut
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant