0

我已经配置、编译了 FFmpeg 源代码版本 0.5,版本如下:

FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-memalign-hack
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0

在 linux 主机上。

当我尝试使用 theora 编解码器使用此版本对原始 yuv 视频进行编码时,提供以下选项:

ffmpeg -f rawvideo -pix_fmt yuv420p -s 352x288 -r 30 -i foreman_352_x280_420.yuv -an -vcodec libtheora theora1.ogg

它给出了一个错误:Unknown encoder 'libtheora'

但是当我在 FFmpeg windows 可执行文件(其版本是 FFmpeg 版本 SVN-r12665)中使用相同的命令时,它会正确编码为 theora 视频。

  1. linux上的ffmpeg 0.5版不支持theora编码器吗?
  2. 哪个版本的 linux 设置支持 theora 编码?
4

2 回答 2

1

如果使用--enable-libtheora.

于 2010-02-05T16:50:12.627 回答
0

尝试用-vcodec选项target替换

于 2010-07-27T10:08:52.443 回答