下载FFMPEG https://ffmpeg.zeranoe.com/builds/ Example to encode VBR MP3 audio with ffmpeg using the libmp3lame library: ffmpeg -i input.wav -codec:a libmp3lame -qscale:a 2 output.mp3 Control quality with -qscale:a (or the alias -q:a). Values are encode
link : https://www.cyberciti.biz/faq/convert-mp3-files-to-wav-files-in-linux/ Install mpg321 or mpg123 Type the following command under Debian / Ubuntu Linux, enter: sudo apt-get install mpg321 OR sudo apt-get install mpg123 I recommend using mpg123
下了几个音乐居然都是swf格式,在网上找了一下没找到好用的转换工具,于是想到了ffmpeg. linux下可以直接安装ffmpeg #/bin/sh for f in *.swf do ffmpeg -i $f ${f%%.*}.mp3 done 在windows下到官网下载,shared版本就可以了,解压后,把ffmpeg.exe所在的目录加到path里,用批处理. SetLocal ENABLEDELAYEDEXPANSION FOR %%f in (*) do ( ffmpeg -f %%
NuGet安装: Install-Package NLayer.NAudioSupport 示例代码: using Microsoft.Win32; using NAudio.Wave; using NLayer.NAudioSupport; using System.Windows; namespace NAudioDemo { /// <summary> /// MainWindow.xaml 的交互逻辑 /// </summary> public partial class