我用ffmpeg尝试了各种参数来实现这个功能,但是它们都会产生一个静态的音频文件。
我尝试过的一些东西是:
ffmpeg -i file.wma file.wav
-sameq -i file.wma file.wav
-i file.wma -ar 44100 -ac 1 -ab 64000 file.wav
-i file.wma -vn 64000 file.wav
以下是音频文件的链接:(删除坏链接)
发布于 2011-12-27 16:58:30
它正在为我使用ffmpeg -i Untitled.wma Untitled.wav,使用来自Ubuntu存储库的ffmpeg。
版本输出:
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1.2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Sep 16 2011 17:04:18, gcc: 4.4.3
FFmpeg SVN-r0.5.1-4:0.5.1-1ubuntu1.2
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0也许能帮上忙。
发布于 2016-07-12 16:36:33
使用Mplayer将wma转换为wav
mplayer -ao pcm:文件名-in-w.-ao文件-name-in-wma.wma
或
使用FFMpeg
-i myfile.wma myfile.wav
https://stackoverflow.com/questions/8611180
复制相似问题