February 27, 2021, 04:26:35 AM

News:

--


Quantizer curve compression option disabled

Started by Nicogigo, November 19, 2019, 04:16:14 PM

Previous topic - Next topic

Nicogigo

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

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

Thank you for your answer but how can I go to the code?

eumagga0x2a

First of all, you need either a Linux installation or macOS with Homebrew, install git, then clone Avidemux source:
git clone https://github.com/mean00/avidemux2.git
The 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

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

Quote from: Nicogigo on November 20, 2019, 11:18:05 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

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...