当前位置:网站首页>[book club issue 13] ffmpeg common methods for viewing media information and processing audio and video files
[book club issue 13] ffmpeg common methods for viewing media information and processing audio and video files
2022-07-04 15:28:00 【Hua Weiyun】
FFmpeg The engineering plan of
Transcoding of audio and video files is generally called multimedia processing , Huawei cloud also has corresponding media processing service 1 Media Processing Center, abbreviation MPC, It is a multimedia data processing service , Build based on Huawei cloud computing services , To solve the inevitable high investment cost of customers' self built audio and video processing capacity 、 High technical barriers , Help customers focus on building business capabilities , Fast delivery online .
- Video processing
- Audio processing
FFmpeg transcoding
Through the introduction of previous classes , We're right FFmpeg Have a certain understanding of multimedia processing ability .
Next , I will show you how to use FFmpeg Realize some audio and video processing functions of some Huawei cloud media processing services , Including transcoding capability 、 Video parameters 、 Three parts of audio parameters .
FFmpeg Actual demonstration
- Audio transcoding
ffmpeg -i XXX. mp3 -acodec aac -ab 3000 -ac 1 -ar 8000 output.aac
Let's understand these parameters respectively :
-i: Input file
-acodec: Set the audio encoding type
-ab: Set the parameters of audio bit rate
-ac: Set the number of channels
-ar: Set the acquisition rate - Video transcoding
ffmpeg -i XXX. mp4 -vcodec h263 -b:v 256000 -r 15 -s 352x288 -acodec copy
output. ts
-vcodec: Set up video encoding
-b:v: Set video bitrate
-r: Set video frame rate
-s: Set video sampling rate
summary :
Today's learning is mainly to practice the previous knowledge , You can experience it very clearly through two command lines FFmpeg A powerful , And simple applications , Look forward to applying them to work and life in the future ! Thank you teacher !
边栏推荐
- 都在说DevOps,你真正了解它吗?
- Unity脚本API—GameObject游戏对象、Object 对象
- 科普达人丨一文看懂阿里云的秘密武器“神龙架构”
- AI has surpassed Dr. CS in question making?
- 宽度与对齐
- Unity script API - time class
- Unity脚本生命周期 Day02
- Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
- 2022年九大CIO趋势和优先事项
- [local differential privacy and random response code implementation] differential privacy code implementation series (13)
猜你喜欢
Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked
Deep learning neural network case (handwritten digit recognition)
Case sharing | integrated construction of data operation and maintenance in the financial industry
AI做题水平已超过CS博士?
Helix swarm Chinese package is released, and perforce further improves the user experience in China
[differential privacy and data adaptability] differential privacy code implementation series (XIV)
Understand the context in go language in an article
Who the final say whether the product is good or not? Sonar puts forward performance indicators for analysis to help you easily judge product performance and performance
开源人张亮的 17 年成长路线,热爱才能坚持
31年前的Beyond演唱会,是如何超清修复的?
随机推荐
這幾年爆火的智能物聯網(AIoT),到底前景如何?
Helix swarm Chinese package is released, and perforce further improves the user experience in China
【大连理工大学】考研初试复试资料分享
Width accuracy
Deep learning neural network case (handwritten digit recognition)
c# 实现定义一套中间SQL可以跨库执行的SQL语句
Dry goods | fMRI standard reporting guidelines are fresh, come and increase your knowledge
mysql 联合主键_Mysql 创建联合主键[通俗易懂]
selenium 元素交互
一篇文章学会GO语言中的变量
PXE网络
中国主要城市人均存款出炉,你达标了吗?
Unity script API - component component
Redis 发布和订阅
js平铺数据查找叶子节点
Enter the width!
数据湖治理:优势、挑战和入门
LNX efficient search engine, fastdeploy reasoning deployment toolbox, AI frontier paper | showmeai information daily # 07.04
LeetCode 35. 搜索插入位置 —vector遍历(O(logn)和O(n)的写法---二分查找法)
Guitar Pro 8win10 latest guitar learning / score / creation