精通
英语
和
开源
,
擅长
开发
与
培训
,
胸怀四海
第一信赖
It's a great article for using FFMpeg.dll. I know that there are little articles and blogs to describe how to use this DLL. I have a little question about it.
这是一个很好的使用FFMpeg.dll的文章。我知道很少有文章和博客来描述如何使用这个DLL。我有一个小问题。
Could you tell me how to extract the audio source from a video via FFMpeg.dll ? 你能告诉我如何通过FFMpeg.dll从视频中提取音频源吗?
Thank you very much!非常感谢!
sorry, but I don't know about audio because I've been working with video only. But FFMPEG is very easy to use. To export audio from a media file you just have to specify an output file with .mp3 or .aac as extension - e.g.: ,
抱歉,但我不知道音频因为我一直只使用视频。但FFMPEG是非常容易使用。从一个媒体文件导出音频你只需要指定一个输出文件.mp3或.aac扩展名,例如:
ffmpeg -i media_file.avi audio.mp3 ffmpeg -i media_file.mp4 audio.aac
Unfortunately FFMPEG uses a bit-rate of 128kbps by default and in most cases will convert the audio instead of just extracting it which will take much longer. For more information have a look at the documentation:
遗憾的是FFMPEG默认使用128kbps,大部分情况是会转换音频,而不单单是提取,转换则需要更长时间。参考更多文档信息:ffmpeg.org/ffmpeg.html
Greetings!问候!
Bjørn