Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试利用我的多个处理器进行 webm 转换,但无论我做什么,这个过程都是单线程的并且需要永远。这可能吗?任何示例转换字符串?
-threads 8
只是被忽略。谢谢。
您可能使用 ffmpeg 编译的 ffmpeg-php 版本低于 0.7 版本(这是第一个支持多线程的版本)。
顺便说一句,我不确定,但可能即使您将使用更新版本的 ffmpeg 来构建 ffmpeg-php 扩展,php 本身也应该构建为多线程(这不是默认的,并且大多数 Linux 发行版中的软件包都没有提供)