# using libfaac on Mac OS X 10.6.8# -vn : not copying video# -acodec : specify codec used in flv file# -ac : channels. 1 is for mono, 2 is for stereo# -ab : specify bitrate for output file (note that rate is not kbps but bps)# -ar : sampling frequency (Hz)# -threads: number of threads for encoding# "-strict experimental" is necessary to use libfaacffmpeg -y -i xxxxxxxxxxx.flv -vn -acodec aac -ac 2 -ab 128000 -ar 44100 -threads 4 -strict experimental xxxxx.m4a# note that codec is 'libmp3lame'ffmpeg -i xxxxxxxxxx.m4a -vn -acodec libmp3lame -ac 2 -ab 128 -ar 44100 -threads 4 -f mp3 zzzzzzzzzzz.mp3# or you can directly convert audio trackffmpeg -i xxxxxxxxxxx.flv -vn -acodec libmp3lame -ac 2 -ab 128000 -ar 44100 -threads 4 -f mp3 xxxxx.mp3# for wav -acodec option is not necessaryffmpeg -i xxxxxxxxxx.flv -vn -threads 4 -ac 1 -ar 44100 xxxxxx.wav# for oggffmpeg -i xxxxxxxxxx.flv -vn -threads 4 -acodec libvorbis -ac 2 -ar 44100 xxxxxxx.ogg# 単純に音声をコピーffmpeg -i xxxxxxxxxx -vn -threads 4 -acodec copy output.filenamehttps://gist.github.com/ymotongpoo/1342656#file-gistfile1-sh-L1
Mac osx ffmpeg aac
最新推荐文章于 2025-01-21 21:41:29 发布
本文深入解析了FFmpeg命令用于音视频文件的转换与编码,包括使用不同参数实现Mono、Stereo音频格式,指定比特率、采样频率及线程数等操作。同时提供直接复制音频轨或转换为特定格式的方法。
8107

被折叠的 条评论
为什么被折叠?



