Author Topic: Quantizer curve compression option disabled  (Read 63 times)

Nicogigo

  • Newbie
  • *
  • Posts: 4
Quantizer curve compression option disabled
« on: November 19, 2019, 04:16:14 PM »
Hello,

When I use x264 under avidemux, I cannot adjust the option "quantizer curve compression". The option is disabled. Do you know how to activate it?

Thank you.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3405
Re: Quantizer curve compression option disabled
« Reply #1 on: November 19, 2019, 09:32:50 PM »
You would need to implement it (is it really needed?). There is no code behind the related widgets apart from the line which takes care of disabling it.

Nicogigo

  • Newbie
  • *
  • Posts: 4
Re: Quantizer curve compression option disabled
« Reply #2 on: November 20, 2019, 08:16:41 AM »
Thank you for your answer but how can I go to the code?

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3405
Re: Quantizer curve compression option disabled
« Reply #3 on: November 20, 2019, 08:36:58 AM »
First of all, you need either a Linux installation or macOS with Homebrew, install git, then clone Avidemux source:
Code: [Select]
git clone https://github.com/mean00/avidemux2.gitThe plugin is in avidemux2/avidemux_plugins/ADM_videoEncoder/x264
You will need to extend config, i. e. edit x264_encoder. conf and regenerate the header, the description and the json executing the admSerialization.py script in the x264 directory with conf as argument. The Qt code resides in the qt4 subdirectory, the translation to libx264 parameters in ADM_x264Setup.cpp.

Of course, you should be somewhat fluent in C++.

Nicogigo

  • Newbie
  • *
  • Posts: 4
Re: Quantizer curve compression option disabled
« Reply #4 on: November 20, 2019, 11:18:05 AM »
Unfortunalty, I am not fluent in C++ and I have a PC with windows 10. Anyway, I try it. If I cannot, maybe I try to get a older version of avidemux that allow the option or I don't use this option. I will decide...

Thank you for your help.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3405
Re: Quantizer curve compression option disabled
« Reply #5 on: November 20, 2019, 11:59:44 AM »
maybe I try to get a older version of avidemux that allow the option

Are you sure this option ever existed in an older version?

Native built of Avidemux on Windows is possible, but immensely complicated (I haven't mastered it yet). It is easier to setup environment to build just common plugins (please be warned that -DCMAKE_BUILD_TYPE=Release doesn't work), but here you will need Qt too (and x264 with headers, of course). Linux setup is much, much easier and very straightforward.

Nicogigo

  • Newbie
  • *
  • Posts: 4
Re: Quantizer curve compression option disabled
« Reply #6 on: November 20, 2019, 12:11:40 PM »
This option exist in the 2.5 version. But unfortunatly, with the same parameters, the quality is much less than the newest version. So, this is not so interesting to work with the 2.5 version. I don't know why they desactivated this option...