Author Topic: x264 and x265: "WrongUI" log when loaded  (Read 517 times)

mm0359

  • Full Member
  • ***
  • Posts: 168
x264 and x265: "WrongUI" log when loaded
« on: May 19, 2017, 04:17:01 AM »
(On Windows XP,)

avidemux_2.6.20_win32.exe
+
avidemux_2.7.0_r170429_win32.exe

Quote
[videoEncoder6]Name :x264 ApiVersion :7 Description :x264 based mpeg4 AVC Encoder (c) 2010 Mean/Gruntster
...\Avidemux\plugins\videoEncoders\libADM_ve_x264_other.dll:WrongUI
[videoEncoder6]Name :x265 ApiVersion :7 Description :x265 based HEVC Encoder (c) 2014 Mean/Gruntster
...\Avidemux\plugins\videoEncoders\libADM_ve_x265_other.dll:WrongUI

At least, x264 seems to work.
I don't know what "WrongUI" means (wrt ADM) nor why it is triggered.

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10902
Re: x264 and x265: "WrongUI" log when loaded
« Reply #1 on: May 19, 2017, 06:40:54 AM »
Works as designed

mm0359

  • Full Member
  • ***
  • Posts: 168
Re: x264 and x265: "WrongUI" log when loaded
« Reply #2 on: May 19, 2017, 12:33:35 PM »
I don't know what "WrongUI" means (wrt ADM) nor why it is triggered.

Ftr,
ADM_dynVideoEncoder.cpp
Code: [Select]
static bool tryLoadingEncoderPlugin(const char *file)

ADM_videoEncoder6 *dll=new ADM_videoEncoder6(file);

if((dll->desc->UIType & ADM_UI_TYPE_BUILD) != ADM_UI_TYPE_BUILD) Fail(WrongUI);

Works as designed

Good then.