Skip to content

from h264 to fmp4 #1806

Answered by WyattBlue
Playit3110 asked this question in 1. Help
Mar 1, 2025 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

Here's how you enable fragmented mp4 in PyAV:

options = {
    "movflags": "+default_base_moof+faststart+frag_keyframe+separate_moof",
    "frag_duration": "0.2"
}
av.open("file.mp4", "w", options=options)

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by WyattBlue
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@WyattBlue
Comment options

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