Comments (10)
@giannoudak @jitender1991
Hi, I found a soft to slove this problem. Click here https://www.bento4.com/downloads/, download the soft.
Then use ./bin/mp4fragment non_fragmented.mp4 fragmented.mp4
from netfix.
I am also struggling with this. The frag_bunny.mp4 works great in IE and Chrome. However, despite my best efforts, I can't reproduce your file even after examining with mp4info and several attempts using a combination of mp4box and ffmpeg. I can can only generate files that will play in one or the other. Please share your encode settings.
Thanks,
Kenny
from netfix.
Have you tried faststart
?
ffmpeg -i input.mp4 -movflags faststart -acodec copy -vcodec copy output.mp4
from netfix.
When fragmenting an MP4 for playback with MediaSource, faststart is negated when using frag_keyframe. The frag_bunny.mp4 is a fragmented video with a mp42 container. Currently, I'm making separate videos and using MP4 for IE and WebM for Chrome, but would love to use a single MP4 for both.
from netfix.
How to convert a video to standard 'codecs="avc1.42E01E, mp4a.40.2' like frag_bunny.mp4.
I have used a lot of different ways,all failed.
Now,only your frag_bunny.mp4 works well.
from netfix.
@giannoudak Have you found the solution to your problem? if yes,
Please share the solution, I am also facing same problem.
from netfix.
@oscxc 看我上面的回答,不一样非要一样的codecs,转完之后,查一下codecs,设置上就可以了。
from netfix.
Front End:
https://github.com/bitmovin/mse-demo/blob/master/index.html
Back End Idea:
https://bitmovin.com/mp4box-dash-content-generation-x264/
I think, these links will help you.
from netfix.
Related Issues (10)
- ftype/moov
- Transfer demo/bufferAll to mdn/dom-examples? HOT 2
- How can I encode a video to match the MIME codec in this example? HOT 2
- bufferWhenNeeded stops loading anything when manually jumping to a different time in video HOT 3
- mp4info nothing to show HOT 1
- License of this code
- No Seek / No total time, when totalSegments>1 HOT 1
- Trying to understand "bufferWhenNeeded" example
- And what to do with h264 files? MediaSource can eat it?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netfix.