当前位置:网站首页>[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 !
边栏推荐
- 对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
- Preliminary exploration of flask: WSGI
- Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
- MySQL federated primary key_ MySQL creates a federated primary key [easy to understand]
- They are all talking about Devops. Do you really understand it?
- mysql 联合主键_Mysql 创建联合主键[通俗易懂]
- 一篇文章搞懂Go语言中的Context
- Redis 發布和訂閱
- C implementation defines a set of intermediate SQL statements that can be executed across libraries
- What are the concepts of union, intersection, difference and complement?
猜你喜欢

Introduction to modern control theory + understanding

.Net 应用考虑x64生成

Luo Gu - some interesting questions

Ffmpeg Visual Studio development (IV): audio decoding

大神详解开源 BUFF 增益攻略丨直播

科普达人丨一文看懂阿里云的秘密武器“神龙架构”

Preliminary exploration of flask: WSGI

Helix swarm Chinese package is released, and perforce further improves the user experience in China

Preliminary exploration of flask: WSGI

从0到1建设智能灰度数据体系:以vivo游戏中心为例
随机推荐
Redis publier et s'abonner
.Net 应用考虑x64生成
在芯片高度集成的今天,绝大多数都是CMOS器件
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
How did the beyond concert 31 years ago get super clean and repaired?
MP3是如何诞生的?
Go zero micro service practical series (IX. ultimate optimization of seckill performance)
深入JS中几种数据类型的解构赋值细节
Halcon knowledge: NCC_ Model template matching
03 storage system
How to handle exceptions in multithreading?
Understand the context in go language in an article
小数,指数
Flutter reports an error no mediaquery widget ancestor found
华为云数据库DDS产品深度赋能
go-zero微服务实战系列(九、极致优化秒杀性能)
Shell 编程基础
Techsmith Camtasia Studio 2022.0.2屏幕录制软件
Case sharing | integrated construction of data operation and maintenance in the financial industry
Width and alignment

