Linux 上配置的 ffmpeg 0.5 版本是否支持使用 Theora 编解码器进行编码?
我已经配置、编译了 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
它给出了错误:未知编码器'libtheora'
但是当我在FFmpeg Windows可执行文件中使用相同的命令时(其版本是 FFmpeg 版本 SVN-r12665)它正确编码为 theora 视频。
- Linux 上的 ffmpeg 0.5 版本不支持 theora 编码器吗?
- 哪个版本的 Linux 设置支持 theora 编码?
I have configured, compiled a FFmpeg source code version 0.5 with versions as below:
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
on a linux host.
When I try to encode a raw yuv video using this version using theora codec by giving options as :
ffmpeg -f rawvideo -pix_fmt yuv420p -s 352x288 -r 30 -i foreman_352_x280_420.yuv -an -vcodec libtheora theora1.ogg
It gives an error: Unknown encoder 'libtheora'
But when i use the same command in a FFmpeg windows executable ( whose version is FFmpeg version SVN-r12665) it encoded to a theora video properly.
- Doesnt ffmpeg version 0.5 on linux support theora encoder?
- Which version for linux setup,would support theora encoding?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果使用
--enable-libtheora
构建,则可以。It does if built with
--enable-libtheora
.尝试用
target
选项替换-vcodec
try replacing
-vcodec
withtarget
option