gpt4 book ai didi

ffmpeg 没有找到 vcodec libx264

转载 作者:行者123 更新时间:2023-12-04 01:23:29 27 4
gpt4 key购买 nike

我已经安装了最新的 ffmpeg,但它似乎无法找到视频编解码器。我是否需要完全删除 ffmpeg 并重新运行 ./configure为了让ffmpeg找到视频编解码器而有所不同?

这是我当前的配置:
FFmpeg version git-f61cbc2, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 18 2011 10:59:49 with gcc 4.0.1 (Apple Inc. build 5465)
configuration: --enable-libmp3lame --enable-shared --disable-mmx --arch=x86_64
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.94. 0 / 52.94. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0

或者,我可以重新运行 make 命令来包含库吗?

这是我的转码片段:
ffmpeg -i ~/Desktop/watercarts.mov -vcodec libx264 -b 250k -bt 50k -acodec libfaac -ab 56k -ac 2 -s 480x320 ~/Desktop/watercartsipod.mp4
和错误:
Unknown encoder 'libx264'
先感谢您。

最佳答案

在 Ubuntu 10.10 (maverick) 中,此编解码器由包 提供libavcodec-extra-53 来自多元宇宙存储库。

关于ffmpeg 没有找到 vcodec libx264,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4738047/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com