8000 Question about mp4 fragmentation · Issue #3 · nickdesaulniers/netfix · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Question about mp4 fragmentation #3
Open
@giannoudak

Description

@giannoudak

Hello Nick!
My name is John Giannoudakis, and i am a software engineer from Greece.
I recently noticed the MediaSource API and thought that this would help me to manually buffer an mp4 video for a mobile ad format i am developing.

I read your article here https://hacks.mozilla.org/2015/07/streaming-media-on-demand-with-media-source-extensions/ and found it very intersting and well writen. Really Good job! Bravo :)

However i can't figure out how to covert my simple mp4 to a fragmented one to play with MSE. I don't want to do DASH so i don't want the MPD manifest file. i use ffmpeg to fragment the mp4 using

ffmpeg -i non_fragmented.mp4 -movflags frag_keyframe+empty_moov fragmented.mp4

but the mp4 file has no duration and when i used it with the code you have in your bunny demo it doesn't work.

Can you please me help me about the process i have to do to create a proper mp4 file for MSE?

Thanks in advance for your time and help
John

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0