当前位置:网站首页>【云享读书会第13期】FFmpeg 查看媒体信息和处理音视频文件的常用方法
【云享读书会第13期】FFmpeg 查看媒体信息和处理音视频文件的常用方法
2022-07-27 14:28:00 【华为云】
MPC是华为云的多媒体处理服务。
视频属性一般有:分辨率,码率,颜色空间。
音频属性一般有:采样率,声道数,码率。
ffmpeg命令中 -ab 一般用来设置码率,-r用来设置帧率。
视频转码:ffmpeg -i test1.mp4 -vcodec h264 -s 480*480 -an -f m4v test1.264
视频封装:ffmpeg –i test1_video.mp4 –i test1_audio.mp3 –vcodec copy –acodec copy test1.mkv
提取图片:ffmpeg –i test.avi –r 1 –f image2 image-%3d1.jpeg
视频录制:ffmpeg –i rtsp://xx:xxx/test –vcodec copy out1.avi
边栏推荐
- Explanation of various attributes of "router link"
- js使用for in和for of来简化普通for循环
- Google team launches new transformer to optimize panoramic segmentation scheme CVPR 2022
- C language: factorial recursive implementation of numbers
- Network equipment hard core technology insider router Chapter 17 dpdk and its prequel (II)
- /dev/loop1占用100%问题
- Leetcode 191. number of 1 bits bit operation /easy
- Spark 本地程序启动缓慢问题排查
- Jump to the specified position when video continues playing
- Hyperlink parsing in MD: parsing `this$ Set() `, ` $` should be preceded by a space or escape character`\`
猜你喜欢

QT (five) meta object properties

Complexity analysis

MySQL interview 40 consecutive questions, interviewer, if you continue to ask, I will turn my face

Watermelon book machine learning reading notes Chapter 1 Introduction

【剑指offer】面试题45:把数组排成最小的数

HaoChen CAD building 2022 software installation package download and installation tutorial

Summer Challenge harmonyos realizes a hand-painted board

NPM install error unable to access

复杂度分析

Spark 本地程序启动缓慢问题排查
随机推荐
Leetcode 341. flattened nested list iterator DFS, stack / medium
【剑指offer】面试题56-Ⅰ:数组中数字出现的次数Ⅰ
Spark3中Catalog组件设计和自定义扩展Catalog实现
Complexity analysis
Network equipment hard core technology insider router Chapter 3 Jia Baoyu sleepwalking in Taixu Fantasy (middle)
Watermelon book machine learning reading notes Chapter 1 Introduction
Spark 3.0 Adaptive Execution 代码实现及数据倾斜优化
TCC
Huawei's general card identification function enables multiple card bindings with one key
md 中超链接的解析问题:解析`this.$set()`,`$`前要加空格或转义符 `\`
Spark RPC
The design method of integral operation circuit is introduced in detail
Spark 3.0 adaptive execution code implementation and data skew optimization
[系统编程] 进程,线程问题总结
JUC(JMM、Volatile)
扩展Log4j支持日志文件根据时间分割文件和过期文件自动删除功能
$router.back(-1)
npm install错误 unable to access
How to package AssetBundle
《吐血整理》C#一些常用的帮助类