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

How Can I move mp4 moov , ( fastStart ) #132

Open
Hpsyche opened this issue Jan 10, 2021 · 2 comments
Open

How Can I move mp4 moov , ( fastStart ) #132

Hpsyche opened this issue Jan 10, 2021 · 2 comments

Comments

@Hpsyche
Copy link

Hpsyche commented Jan 10, 2021

How Can I move mp4 moov , ( fastStart ) . is there an example ?

@3d0c
Copy link
Owner

3d0c commented Jan 10, 2021

Hi, @Hpsyche
As far as I remember there is no ready to use function to do it. So you have to do it manually. I have ported original faststart to Go. You can check this is out here:
https://gist.github.com/3d0c/ef674299914f1df11533afc1f0b1c02b
and a test
https://gist.github.com/3d0c/07d38e2ae8b25902607c53f8b68936f5

@Hpsyche
Copy link
Author

Hpsyche commented Jan 11, 2021

Thank you for your reply. But it doesn't seem to work. I use a video(2.7MB) as an example,and call fastStart method,but i get a binary file ( size = ftyp+moov ) . How can I add mdat to splice ?
thanks~

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

2 participants