当前位置:网站首页>【云享读书会第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"
- Selenium reports an error: session not created: this version of chromedriver only supports chrome version 81
- Network equipment hard core technology insider router Chapter 10 Cisco asr9900 disassembly (III)
- How to take satisfactory photos / videos from hololens
- 初识结构体
- Network equipment hard core technology insider router 20 dpdk (V)
- multimap案例
- Network equipment hard core technology insider router chapter Cisco asr9900 disassembly (I)
- Spark RPC
- Fluent -- layout principle and constraints
猜你喜欢

【剑指offer】面试题42:连续子数组的最大和——附0x80000000与INT_MIN

Complexity analysis

Selenium reports an error: session not created: this version of chromedriver only supports chrome version 81

实现自定义Spark优化规则

Tools - common methods of markdown editor

QT (XIII) qchart drawing line chart

【剑指offer】面试题41:数据流中的中位数——大、小堆实现

Spark Filter算子在Parquet文件上的下推

Dan bin Investment Summit: on the importance of asset management!
![[TensorBoard] OSError: [Errno 22] Invalid argument处理](/img/bf/c995f487607e3b307a268779ec1e94.png)
[TensorBoard] OSError: [Errno 22] Invalid argument处理
随机推荐
Leetcode 90. subset II backtracking /medium
multimap案例
【剑指offer】面试题52:两个链表的第一个公共节点——栈、哈希表、双指针
What format is this data returned from the background
【剑指offer】面试题41:数据流中的中位数——大、小堆实现
使用解构交换两个变量的值
【剑指offer】面试题42:连续子数组的最大和——附0x80000000与INT_MIN
Selenium reports an error: session not created: this version of chromedriver only supports chrome version 81
Network device hard core technology insider router Chapter 15 from deer by device to router (Part 2)
【剑指offer】面试题39:数组中出现次数超过一半的数字
【剑指offer】面试题45:把数组排成最小的数
QT (IV) mixed development using code and UI files
Leetcode 783. binary search tree node minimum distance tree /easy
Database: use the where statement to retrieve (header song)
Simple mathematical knowledge related to 3D
[系统编程] 进程,线程问题总结
Network equipment hard core technology insider router Chapter 11 Cisco asr9900 disassembly (V)
Spark3中Catalog组件设计和自定义扩展Catalog实现
Some binary bit operations
实现自定义Spark优化规则