开发者

How to use the Bass library to convert audio to another format (using C#)

开发者 https://www.devze.com 2023-02-01 06:25 出处:网络
Good day everyone and happy holidays. I\'m trying to create a \"simple\" program that allows me to cr开发者_运维技巧eate a list of video files (Youtube video\'s to be precise) that are then run throu

Good day everyone and happy holidays.

I'm trying to create a "simple" program that allows me to cr开发者_运维技巧eate a list of video files (Youtube video's to be precise) that are then run through by my program and converted any given format to pure MP3 audio. For this purpose I'm trying to use the BASS.dll and well it isn't going so well.

I was wondering if anyone has used BASS to convert from one audio format to another? Or is there another library better suited for this?


If I understand correctly then the input files are YouTube videos which are FLV or F4V (MP4). Does BASS even support those formats?

Depending on your requirements, the easiest way might be to use Process.Start with ffmpeg to perform the extraction/conversion. Windows builds here: http://sourceforge.net/projects/mplayer-win32/files/FFmpeg/

0

精彩评论

暂无评论...
验证码 换一张
取 消