当前位置:网站首页>FFmpeg命令(七)、 音频与视频合并成视频
FFmpeg命令(七)、 音频与视频合并成视频
2022-04-22 06:19:00 【许三多2020】
1. 提取音频
ffmpeg -i input.mp4 -acodec copy -vn out.aac
//acodec :指定音频编码器,copy只拷贝,不做编码
//vn:v代表视频,n代表no,无视频的意思
2. 提取无音视频
ffmpeg -i input.mp4 -vcodec copy -an out.mp4
//vcodec:指定视频编码器,copy只拷贝,不做编码
//an:a代表音频,n代表no,无音频的意思。
3. 音频视频合并
ffmpeg -i out.mp4 -i out.aac -vcodec copy -acodec copy new.mp4
//-vcodec copy :视频只拷贝,不编解码
//-acodec copy : 音频只拷贝,不编解码
//new.mp4 :新生成的文件,文件的长度由两个输入文件的最长的决定
版权声明
本文为[许三多2020]所创,转载请带上原文链接,感谢
https://blog.csdn.net/Gary__123456/article/details/112310092
边栏推荐
- 762 · 最长公共子序列 II
- Codeforces Round #610 (Div. 2)
- Leetcode - 1 - (substructure, combination, spiral matrix and full arrangement of tree < Ⅰ Ⅲ >)
- A. Weird Flecks, But OK (计算几何&三维最小圆覆盖)(2021年度训练联盟热身训练赛第一场)
- 并发编程的艺术(11):JUC里的工具类介绍
- Leetcode - 8 - (sum of three numbers, zigzag transformation, sum of two numbers < linked list >, container with the most water, letter combination of telephone number)
- Art de la programmation simultanée (9): utilisation finale et principes
- 843 · Digital Flip
- C.Ducky Debugging(简单判断/签到)(2021年度训练联盟热身训练赛第五场 )
- Ansible的使用
猜你喜欢

L2-005 集合相似度(set判重)

2019.1.2 idea usage tutorial

并发编程的艺术(6):详解ReentrantLock的原理

F. Find 3-friendly integers (2021 Niuke summer multi school training camp 1)

Definition and difference between rewriting and overloading

A. Alice and Bob (博弈?思维&暴力)(2021牛客暑期多校训练营1)

B. Ball dropping (simple geometric calculation / similar triangle) (2021 Niuke summer multi school training camp 1)

Leetcode - 6 - (chaîne multiplicatrice, prochain élément plus grand < Ⅰ Ⅱ Ⅲ >, K liste de chaînes inversées)

LeetCode - 2 - (括号生成、最长回文串、环形链表、反转链表、两两交换链表中的节点)

Internal class instructions (static, instance, local)
随机推荐
要是我再犯这种憨憨错误就.../(ㄒoㄒ)/~~
2021学习计划
867 · 四键键盘
并发编程的艺术(11):JUC里的工具类介绍
Detailed overview of this keyword
Leetcode - 8 - (sum of three numbers, zigzag transformation, sum of two numbers < linked list >, container with the most water, letter combination of telephone number)
CodeTON Round 1 (Div. 1 + Div. 2, Rated, Prizes)
Can the following SQL optimize query performance with index
Leetcode - 4 - (longest substring without repeated characters, candy distribution, binary tree traversal)
F. Find 3-friendly integers (2021 Niuke summer multi school training camp 1)
Add author photos and author profiles to latex
L2-005 集合相似度(set判重)
D. Determine the photo position (simply find the substring) (2021 Niuke summer multi school training camp 1)
The system log file is too large
pip一直更新失败?多数是网络问题!
Codeforces Round #778
C. Ducky debugging (Game 5 of 2021 training League warm-up training competition)
L2-002 linked list weight removal (pit of test point 1)
323 · string game
最小圆覆盖(计算几何基础)