Converting fragmented mp4 file for MSE (Media Source Extensions)
Asked Answered
R

1

6

I'm looking for a way to generate proper fragmented *.mp4 files for MediaSourceExtension (Chrome).

I tried out the example from here: http://people.mozilla.org/~jyavenard/tests/mse_mp4/paper.html and with the given video file it worked just fine.

So I tried out some settings for avconv / MP4 box to get my own video files working, but I'm just getting video errors...

avconv -i file -c:v libx264 -c:a aac -f mp4 -movflags frag_keyframe+empty_moov  output.mp4

MP4Box -rap -frag-rap -dash 30000 -segment-name out.mp4 output.mp4

Chrome media-internals says: error Skipping unrecognized top-level box: ftyp

So does anyone know how to convert them properly?

Resect answered 13/10, 2014 at 8:54 Comment(0)
D
0

Try to use this MP4Box command:

mp4box -dash 5000 -frag 5000 -rap input.mp4
Dustindustman answered 12/6, 2016 at 16:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.