Page 1 of 2

[Solved] Mencoder Engine not loaded

Posted: Fri Jan 01, 2021 7:15 am
by Ruddeger
Hiya,

I'm on a 2015 iMac running Big Sur.

I realize that Mencoder is not particularly important & that I've generally been able to run most files I've needed through UMS but I still would like to fix this issue so that I know the system is optimized & that when I do run into issues it's not because Mencoder isn't being recognized.
I feel I've done everything I can to make sure Mencoder/Mplayer is installed properly & I have uninstalled/reinstalled multiple versions of UMS.. older versions up to the current beta.

On the Transcoding Settings page of UMS the Mencoder Video header (& Mencoder Web Video) have the warning symbol next to them & when selected the display shows:
"This engine is not loaded!
Transcoding engine MEncoder Video is not available because it failed with the following error:Unknown error"

I've dug through several web opages & forums trying to understand Mplayer/Mencoder & see if I should be doing something else to install them but all roads have led to "install through HomeBrew" which I have, apparently successfully, at least according to HomeBrew telling me it's installed. Also, I have verified that it is the latest version of Mplayer.

Any ideas? Thanks for any help.

Re: Mencoder Engine not loaded

Posted: Fri Jan 01, 2021 10:37 am
by mik_s
I'm sure the issue is with apple no longer allowing certain programs running on their newest OS.
IIRC Mencoder is currently a 32 bit only program and these are being disallowed.

I think I have seen a better explanation on this forum somewhere but I believe that was the reason.

Re: Mencoder Engine not loaded

Posted: Sat Jan 02, 2021 1:55 pm
by Ruddeger
Thank you mik_s.

Spurred by your reply I did some searching & have seen peeps confirming that in no way is 32 bit supported anymore & I haven't been able to 100% confirm that Mplayer is 32 bit but obviously that seems very likely.

Best regards!

Re: Mencoder Engine not loaded

Posted: Sun Jan 03, 2021 4:13 pm
by SubJunk
Our MEncoder for macOS should be 64-bit now unless you're using the "pre-10.15" build. Can you atach logs?

Re: Mencoder Engine not loaded

Posted: Tue Jan 05, 2021 7:09 am
by kirk_hammett
I do have the same issue and the logfile states an error whilst loading usr/local/opt/x264/lib/libx264.160.dylib
All was fine until I upgraded to V10.x lately. A downgrade to V9.x does not help :cry:

Logfile extract:
DEBUG 2021-01-04 19:45:13.898 [main] Checking transcoding engine MEncoder Video
TRACE 2021-01-04 19:45:13.898 [main] Registering custom executable path for transcoding engine MEncoder Video
TRACE 2021-01-04 19:45:13.899 [main] Executing "/Applications/Universal Media Server.app/Contents/Resources/osx/mencoder -info:help"
TRACE 2021-01-04 19:45:13.903 [Process Terminator] ProcessTerminator scheduled shutdown of process "/Applications/Universal Media Server.app/Contents/Resources/osx/mencoder" in 30000 milliseconds
TRACE 2021-01-04 19:45:13.903 [Process Terminator] ProcessTerminator is waiting 29999 milliseconds
TRACE 2021-01-04 19:45:13.905 [SPW "mencoder" consumer] Process output: dyld: Library not loaded: /usr/local/opt/x264/lib/libx264.160.dylib
TRACE 2021-01-04 19:45:13.905 [Process Terminator] ProcessTerminator unscheduled process "/Applications/Universal Media Server.app/Contents/Resources/osx/mencoder" (30430)
TRACE 2021-01-04 19:45:13.905 [SPW "mencoder" consumer] Process output: Referenced from: /Applications/Universal Media Server.app/Contents/Resources/osx/mencoder
TRACE 2021-01-04 19:45:13.905 [Process Terminator] ProcessTerminator is waiting for new tickets
TRACE 2021-01-04 19:45:13.905 [SPW "mencoder" consumer] Process output: Reason: image not found
WARN 2021-01-04 19:45:13.905 [main] Transcoding engine "MEncoder Video" is not available

Re: Mencoder Engine not loaded

Posted: Tue Jan 05, 2021 11:38 am
by SubJunk
Ah that error message is helpful. That indicates that our version of MEncoder is not fully statically built, which is my fault, but in my defense it is really hard :) I'll try to fix it

Re: Mencoder Engine not loaded

Posted: Sun Jan 17, 2021 11:22 pm
by kirk_hammett
Just as a follow up (but I guess you were not able to find a fix yet ;) ) the issue is also present with the official 10.0.0 release.
If I could try to install something in the OS manually to narrow the root-cause down, let me know.

Re: Mencoder Engine not loaded

Posted: Sat Feb 06, 2021 6:57 pm
by SubJunk
Thanks for confirming. I do intend to fix this, and will post in here when I have a test build

Re: Mencoder Engine not loaded

Posted: Tue Feb 09, 2021 10:39 am
by gili
Hello
I have the same problem
Osx 11.2 (Big Sur)
UMS 10.0.1
and the error is
This engine is not loaded: Transcoding engine MEncoder Video is not available because it failed with the following error:Unknown error

I have installed the version "Universal Media Server macOS 10.15+ (disk image)"

Please help

Re: Mencoder Engine not loaded

Posted: Thu Feb 11, 2021 2:55 pm
by SubJunk
I have started working on this. Will post when there's something to test