Comments (2)
引入ffmpeg很麻烦, 原因列表:
- ffmpeg开源协议是 GPL的,具有传染性, 这个项目的主要逻辑就不能使用 MIT 开源了
- 如果使用cgo调用的形式引入ffmpeg
- 最终二进制体积特别大
- 编译mac/linux/路由器 版本的时候必然要依赖对应的跨平台编译器, 编译难度提升
- 如果使用内嵌 静态编译的ffmpeg二进制, 使用的时候释放到 临时目录再调用命令行
- 最终二进制体积会更大, 可以看以前的v1.1版本 , 每个最终二进制都比现在大25MB左右
- 没找到mipsle路由器版本的静态编译的ffmpeg
- 如果直接调用ffmpeg命令, 必定依赖于用户必须首先安装ffmpeg到操作系统, 难用
- 这样引入MIT协议的gomedia解决ts转换成mp4好处就很明显了
- 跨平台编译容易
- 我的项目也可以使用MIT协议进行开源
- 最终二进制体积特别小, linux/mac 版本的命令行版本才 5-7MB, windows由于有静态编译进来的qt界面, 现在体积有26MB
- 用户无需预先安装ffmpeg, 降低用户的使用难度
from m3u8d.
- 对于ts转换为mp4的速度, 我并没有过多考虑, 只要不是很明显的性能差异, 能转出来就行
from m3u8d.
Related Issues (20)
- 命令行执行加个线程参数呀 HOT 2
- 加个线程参数呀 HOT 1
- mpd HOT 1
- 在Linux上能下载本地的m3u8吗? HOT 1
- 下载错误 getEncryptInfo:resp.Status:400 BadRequest HOT 5
- crypto/aes: invalid key size 9 HOT 12
- 能否增加为 go sdk模式 HOT 7
- 怎么执行下载呢 HOT 5
- resp.Status: 428 是什么问题呢? HOT 1
- 为什么360会报勒索病毒? HOT 1
- 请问getEncryptinfo 403 forbidden是什么意思? HOT 1
- 无法支持 bigo 多重嵌套模式 HOT 4
- MacOS 10.15 Crash HOT 1
- publish module HOT 1
- m3u8下载后 合并出来的mp4,视频异常win界面模式、linux命令行模式 都有异常 HOT 14
- 建议直接开个 web 页面,方便路由器上 docker 化部署 HOT 3
- [feature] support H265 video format HOT 4
- 能否添加一个配置用于跳过m3u8文件中下载报错的ts块? HOT 5
- 太牛了 大佬、希望持续更新 HOT 1
- linux arm版本的cli文件无法在android手机上成功下载m3u8 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 m3u8d.