mdhiggins / radarr-sma

MIT License
25 stars 13 forks source link

FFMpeg cannot be found in the root directory! #50

Closed Fritzh1 closed 1 year ago

Fritzh1 commented 1 year ago

Hello, I just installed FFMpegSharp but having a difficulty setting up the envirnoment. Whenever i try to use the FFMpeg class, it shows an exception, "FFMpeg cannot be found in the root directory!". I have copied FFMpeg.exe from the project's FFMpeg x64/x86 folders/and also tried latest executable from the official site on to c:\ffmpeg\bin and set . I added the path to the Windows Environment variable, user variable, path. I also tried using the project's FFMpeg x64/x86 folders in the config variable but all didn't work. I am not sure what is wrong with my setting. I looked for the answer in the web but nothing worked so far. Could someone help me, please? I am using Windows 11. Thank you.

mdhiggins commented 1 year ago

You can't use a Windows binary file in a linux container, they are not cross compatible

Fritzh1 commented 1 year ago

Hello mdhiggins, Thank you for the comment. I am purely using Windows envirnment and I think I downloaded Windows executables.

mdhiggins commented 1 year ago

But the containers are linux based, so if you're going to override the included FFMPEG binaries that come with the container you'll need to provide linux binaries not windows ones

Fritzh1 commented 1 year ago

I installed FFMpeg Nuget package that is Windows based.

mdhiggins commented 1 year ago

I feel like we're going in circles here. radarr-sma and any of the linuxserver based docker containers (also sonarr-sma) are not going to work with any windows FFMPEG binaries.

Is there a reason the included binaries don't work for you? The containers don't need an outside source of FFMPEG

Fritzh1 commented 1 year ago

sorry, i posted it at the wrong platform forum.

Best regards,

Fritz Hagi MCSE, WSET Level 3

From: Michael Higgins @.> Sent: Friday, 14 July 2023 3:25 AM To: mdhiggins/radarr-sma @.> Cc: Fritz Hagi @.>; Author @.> Subject: Re: [mdhiggins/radarr-sma] FFMpeg cannot be found in the root directory! (Issue #50)

I feel like we're going in circles here. radarr-sma and any of the linuxserver based docker containers (also sonarr-sma) are not going to work with any windows FFMPEG binaries.

Is there a reason the included binaries don't work for you? The containers don't need an outside source of FFMPEG

— Reply to this email directly, view it on GitHubhttps://github.com/mdhiggins/radarr-sma/issues/50#issuecomment-1634777696, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBB7YFRBZWJMEIJUAL52VRLXQBDPLANCNFSM6AAAAAAZ6Y3YLE. You are receiving this because you authored the thread.Message ID: @.***>