Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this work on a docker? #100

Open
rojan-ulak opened this issue Apr 15, 2019 · 4 comments
Open

Does this work on a docker? #100

rojan-ulak opened this issue Apr 15, 2019 · 4 comments

Comments

@rojan-ulak
Copy link

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Actual value was .
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at MediaToolkit.Engine.StartFFmpegProcess(EngineParameters engineParameters)

@JayeshC-96
Copy link

Any update on this issue?

@AydinAdn
Copy link
Owner

AydinAdn commented Mar 6, 2020

As far as I know, it shouldn't as is.

I need to test this out within a docker container and get back to you about this.

@AydinAdn AydinAdn closed this as completed Mar 6, 2020
@AydinAdn AydinAdn reopened this Mar 6, 2020
@AydinAdn
Copy link
Owner

AydinAdn commented Mar 6, 2020

You could try this out on your own by forking / cloning the library then debugging it within a container .

@TCGV
Copy link

TCGV commented Feb 8, 2024

I was able to resolve this issue by following these instructions:

Hi LevH,

I have the same issue recently.

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

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

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


My environment:

Host: Windows Server 2016 RTM

Container: microsoft/windowsservercore:10.0.14393.321


Sources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants