Last active
December 16, 2016 09:59
-
-
Save candyan/bfd537fa549510ab411ed08c28192fc8 to your computer and use it in GitHub Desktop.
ffmpeg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i $video_file -vn -ar 16000 -ac 1 -acodec pcm_s16le -ss 00:01:00 -t 00:00:30 $audio.wav | |
-vn 排除视频 (-an 排除音频 / -sn 排除字幕) | |
-ar 采样率 | |
-ac 声道数量 | |
-acodec 编码 ( flac / pcm_s16le(16bit 线性PCM) ) | |
-ss 开始时间点 | |
-t 时长 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment