ffmpeg 无法识别 '-af' 选项

标签 ffmpeg

ffmpeg 无法识别“-af”选项。我该如何解决这个问题?

$ ffmpeg -i 01.wav -af pan=1:c0=c1 01mono.wav
ffmpeg version 0.10.12-7:0.10.12-1~precise1 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr 26 2014 09:49:36 with gcc 4.6.3
  configuration: --arch=amd64 --disable-stripping --enable-pthreads --enable-runtime-cpudetect --extra-version='7:0.10.12-1~precise1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[wav @ 0x19dd680] max_analyze_duration 5000000 reached at 5015510
Input #0, wav, from '01.wav':
  Duration: 00:40:20.40, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Unrecognized option 'af'
Failed to set value 'pan=1:c0=c1' for option 'af'

最佳答案

您的ffmpeg太旧了。请参阅FFmpeg Download页面并获取静态构建,或引用 compile guideFFmpeg development is very active ,因此建议始终使用最近的版本。

关于ffmpeg 无法识别 '-af' 选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26881165/

相关文章:

python - 我无法保存动画

node.js - 如何从 multer 访问上传的文件?

ffmpeg - 如何使用 FFMPEG 强制恒定比特率

android - 在 Android 应用程序中为 FFMPEG 运行 exec() 时出错

ffmpeg - 将视频从 RTSP 放到 HTML 页面的最佳方式?

xcode - 在适用于 Mac 的 OSX Xcode 项目上使用 ffmpeg

java - 如何使用 JSP 播放 YUV 图像序列

iOS多视频显示

arrays - 在 pngs 上循环运行 ffmpeg 以提高效率?

ffmpeg - 如何在 Mac 中为 Jupyter Notebook 安装 ffmpeg?