alfg / mp4-rust

MP4 reader + writer library in Rust! 🎥🦀
https://crates.io/crates/mp4
MIT License
278 stars 75 forks source link

How to write fmp4? #126

Open simon-fu opened 11 months ago

simon-fu commented 11 months ago

Hello,

I am currently researching your Rust library and have come across the read_fragment_header() function in the Reader. However, I noticed that there doesn’t seem to be a corresponding function in the Writer for writing the header data.

Could you please provide some guidance on how to use the Writer to write the corresponding data? Is there a specific function or method that I should use, or is this functionality integrated into another function?

Thank you for your time and assistance.

capric8416 commented 3 weeks ago

how set mp4 flags like ffmpeg, for web video tag player? -movflags frag_keyframe+empty_moov+default_base_moof