feynixs.github.io's People
feynixs.github.io's Issues
视频编码
编码
H.264是视频的压缩编码算法
为啥要压缩?
如果不压缩,我们来计算15分钟需要的存储大小。按每秒25帧、图像分辨率为1920*1080、每个像素RGB24位来算:
15 * 60 * 25 * 1920 * 1080 * 24 = 1119744000000bit = 139968000000Byte = 136687500K ~= 133484M ~= 130G
15分钟就大约130G,这还是按25帧的速率,要是按50帧,4K的分辨率来拍呢那就是:
130G * 2 * 4 = 1040G ~= 1T了。
所以如果不压缩的话,你的硬盘大小Hold住吗?:)
如何压缩?
- 帧与帧之间的数据冗余
文件格式
mp4、avi等是视频存储的文件格式
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.