修改 type 为 codec;
增加查看编解码器类型命令. Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
ba5b2d05e7
commit
cfc5762e8f
|
@ -41,14 +41,25 @@ ffmpeg -y -i <input file> -c:v copy -c:a copy -f mp4 <output file>
|
||||||
若对音频或视频转码,可使用下列命令:
|
若对音频或视频转码,可使用下列命令:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
ffmpeg -y -i <input file> -c:v <video type> -c:a <audio type> <output file>
|
ffmpeg -y -i <input file> -c:v <video codec> -c:a <audio codec> <output file>
|
||||||
```
|
```
|
||||||
|
|
||||||
Audio Type:
|
编解码器类型可通过命令:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
ffmpeg -encoders
|
||||||
|
ffmpeg -decoders
|
||||||
|
```
|
||||||
|
|
||||||
|
查看,常用的有
|
||||||
|
|
||||||
|
Audio codec:
|
||||||
|
|
||||||
* aac
|
* aac
|
||||||
|
* ac3
|
||||||
|
* flac
|
||||||
|
|
||||||
Video Type:
|
Video codec:
|
||||||
|
|
||||||
## 分离视频音频流
|
## 分离视频音频流
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue