当前位置:网站首页>[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 !
边栏推荐
猜你喜欢
大神详解开源 BUFF 增益攻略丨直播
Live broadcast preview | PostgreSQL kernel Interpretation Series II: PostgreSQL architecture
MP3是如何诞生的?
从0到1建设智能灰度数据体系:以vivo游戏中心为例
力扣刷题01(反转链表+滑动窗口+LRU缓存机制)
Redis publier et s'abonner
這幾年爆火的智能物聯網(AIoT),到底前景如何?
Preliminary exploration of flask: WSGI
函数式接口,方法引用,Lambda实现的List集合排序小工具
Luo Gu - some interesting questions
随机推荐
Numpy notes
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
03 storage system
How did the beyond concert 31 years ago get super clean and repaired?
[local differential privacy and random response code implementation] differential privacy code implementation series (13)
Quelles sont les perspectives de l'Internet intelligent des objets (aiot) qui a explosé ces dernières années?
Case sharing | integrated construction of data operation and maintenance in the financial industry
大神详解开源 BUFF 增益攻略丨直播
都在说DevOps,你真正了解它吗?
LeetCode 1184. Distance between bus stops -- vector clockwise and counterclockwise
Unity script introduction day01
The performance of major mainstream programming languages is PK, and the results are unexpected
selenium 浏览器(2)
%s格式符
Deep learning neural network case (handwritten digit recognition)
Luo Gu - some interesting questions
%S format character
MySQL index optimization
JS tile data lookup leaf node
Unity script lifecycle day02