依赖
gcc
ffmpeg
yum install gcc
验证是否安装:gcc -v
wget https://ffmpeg.org/releases/ffmpeg-4.1.3.tar.bz tar jxvf ffmpeg-4.1.3.tar.bz2 cd ffmpeg-4.1.3 ./configure make make install 验证是否安装成功:ffmpeg -version ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-23) configuration: libavutil 56. 22.100 / 56. 22.100 libavcodec 58. 35.100 / 58. 35.100 libavformat 58. 20.100 / 58. 20.100 libavdevice 58. 5.100 / 58. 5.100 libavfilter 7. 40.101 / 7. 40.101 libswscale 5. 3.100 / 5. 3.100 libswresample 3. 3.100 / 3. 3.100
当执行./configure报错nasm/yasm not found or too old. Use --disable-x86asm for a crippled build. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem. 1)下载:wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz 2)解压:tar zxvf yasm-1.3.0.tar.gz 3)切换路径: cd yasm-1.3.0 4)执行配置: ./configure 5)编译:make 6)安装:make install
git clone https://github.com/kn007/silk-v3-decoder.git silk-v3-decoder
输入:sh converter.sh 33921FF3774A773BB193B6FD4AD7C33E.slk mp3
注意:其中33921FF3774A773BB193B6FD4AD7C33E.slk
是要转换的文件,而mp3
是最终转换后输出的格式。
github地址:
https://github.com/kn007/silk-v3-decoder
当前共有 条评论