Comments (4)
- 提取mp4中的moov并解析得到一系列的samples的映射表;
- 根据此表,获取一系列的samples;
- 下载一系列的samples,然后组装成fmp4的segment(moof,mdat);
- 直接塞给MSE来播放;
from xgplayer.
First you should know the format of mp4 and fmp4 in detail. Then read the source code of xgplayer and xgplayer-mp4 😄
from xgplayer.
感谢两位,但是对于一个无音视频底层基础的前端开发来说,想要使用MSE,学习成本就这么高吗 @zhangxin92 @oldmtn
from xgplayer.
@Guohjia If you have already used the html5 video or xgplayer, you satisfy the basic requirements for studying or using MSE. With the open source code, the difficulty of studying depends on yourself.
from xgplayer.
Related Issues (20)
- 如何取消画面中 播放/暂停 的动画 HOT 1
- 升级依赖版本后导致自定义皮肤报错的问题
- 插件 xgplayer-hls 中,处理的 subtitleStream 丢失了 前100个切片
- 对应的错误码,官网文档找不到
- 移动端加载问题
- 播放编码h265的flv流,一直加载
- 设置了loop为true之后,Events.ENDED无法接收 HOT 2
- flv直播,发送弹幕不显示 HOT 1
- ios 17.0.3之后版本 视频点击中间播放不播放
- 西瓜播放器是否支持视频裁剪?类似Media Fragment URI的#t=形式裁剪时长 HOT 1
- 播放器不支持 音频G711编码的视频吗 HOT 1
- 多实例快捷键同时生效
- 当播放器同时设置了音量为0并且自动播放时,页面会自动滚动到播放器的位置。 HOT 1
- 使用webp格式的图片作为视频封面图无法正确显示封面 HOT 1
- 移动端时间显示问题
- 【反馈】添加了 HlsPlayer HlsPlayer Mp4Player 三个插件,播放器不会自己判断视频类型选择对应的插件播放
- 移动端视频层级问题 HOT 1
- error插件刷新逻辑问题
- 在安卓钉钉设备商遇到阻碍(iOS设备正常) HOT 1
- 隐藏播放器正**的播放/暂停按钮 HOT 1
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 xgplayer.