ffmpeg不在容器内部工作,但在主机上工作 [英] ffmpeg doesn't work from inside a container, but works on the host

查看:98
本文介绍了ffmpeg不在容器内部工作,但在主机上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用TP3。

host> ffmpeg --help

host> ffmpeg --help

打印所有开关

container> ffmpeg --help

container> ffmpeg --help

[空行]

容器> echo%ERRORLEVEL%

container> echo %ERRORLEVEL%

-1073741701

-1073741701

此错误级别对应64位/ 32位dll不匹配(根据一些谷歌搜索) 

This error level corresponds to 64bit/32bit dll mismatches (according to some googling) 

任何想法?

提前致谢。

推荐答案

H i LevH, 

我最近遇到了同样的问题。

I have the same issue recently.

经过一些尝试和错误后,我发现  avicap32.dll   msvfw32.dll
依赖于ffmpeg, 在容器中丢失。

After some try and errors, I found avicap32.dll and msvfw32.dll, dependency of ffmpeg, are missing in container.

它们位于C:\ Windows \ System32 \(64位)或C:\ Windows \SysWOW64(32位)

They are in C:\Windows\System32\ (64bit) or C:\Windows\SysWOW64 (32bit)

只需复制它们从主机到容器。 ffmpeg可以再次使用。

Just copy them from host to container. ffmpeg can work again.

---

我的环境:

主机:Windows Server 2016 RTM

Host: Windows Server 2016 RTM

容器:microsoft / windowsservercore: 10.0.14393.321

Container: microsoft/windowsservercore:10.0.14393.321

---


这篇关于ffmpeg不在容器内部工作,但在主机上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆