当前位置:网站首页>[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 !
边栏推荐
猜你喜欢
Redis publier et s'abonner
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
Quelles sont les perspectives de l'Internet intelligent des objets (aiot) qui a explosé ces dernières années?
Intelligent customer service track: Netease Qiyu and Weier technology play different ways
AI has surpassed Dr. CS in question making?
Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
lnx 高效搜索引擎、FastDeploy 推理部署工具箱、AI前沿论文 | ShowMeAI资讯日报 #07.04
Guitar Pro 8win10 latest guitar learning / score / creation
The performance of major mainstream programming languages is PK, and the results are unexpected
音视频技术开发周刊 | 252
随机推荐
The performance of major mainstream programming languages is PK, and the results are unexpected
[differential privacy and data adaptability] differential privacy code implementation series (XIV)
谈SaaS下如何迅速部署应用软件
音视频技术开发周刊 | 252
They are all talking about Devops. Do you really understand it?
How did the beyond concert 31 years ago get super clean and repaired?
Optimization method of deep learning neural network
Helix Swarm中文包发布,Perforce进一步提升中国用户体验
c# 实现定义一套中间SQL可以跨库执行的SQL语句
LeetCode 35. Search the insertion position - vector traversal (O (logn) and O (n) - binary search)
基于MAX31865的温度控制系统
宽度与对齐
Detailed explanation of MySQL composite index (multi column index) use and optimization cases
PXE网络
LeetCode 58. Length of the last word
Understand the context in go language in an article
Unity script API - GameObject game object, object object
压力、焦虑还是抑郁? 正确诊断再治疗
2022年九大CIO趋势和优先事项
中国主要城市人均存款出炉,你达标了吗?