Can not setup encoder - random crash - anyone else

Started by IcePlanet, January 06, 2025, 08:00:24 PM

Previous topic - Next topic

IcePlanet

Randomly I see error message.

"Can not setup encoder. The configuration supplied to the encoder may be incompatible or the encoder might depend on features unavailable on this system".

This never happens during "one instance" operation of Avidemux. Because one Avidemux provides load for cca 3-5 cores, I run multiple instances of Avidemux in parallel to utilize all cores (it is not described in manual, but on forum this was listed as possible).
If the avidemux is closed, opened as new instance, loaded the same .py script it does not fail.

For this reason it is difficult to find anything reasonable from log, because there are multiple records mixed and I do not see any error message listed.

I use x265 codec.

Does anyone has similar experience? Is it really safe to run multiple instances of Avidemux?


IcePlanet

Thank you for the information and links. Only for completeness of my previous post - google found first this topic https://avidemux.org/smif/index.php?topic=12368.0 now I see this is not the correct answer and also much older than links you posted.

Is there any possibility to use more cores? What if Avidemux is used as portable in separate directories? Any safe options to utilize all cores?

eumagga0x2a

Quote from: IcePlanet on January 07, 2025, 09:58:36 PMIs there any possibility to use more cores?

For encoding? Some encoders like libaom for AV1 and libvpx for VP9 support tiling which greatly increases benefits of multi-threading both for encoding as well as for decoding at cost of compression. In general, multi-threading is not necessarily beneficial for compression (but, of course, for speed of encoding).

Quote from: IcePlanet on January 07, 2025, 09:58:36 PMWhat if Avidemux is used as portable in separate directories?

On Windows, this might work (but unsure), especially if you don't use hardware accelerated decoding and encoding. Please try and report the results.