Avidemux Forum

Avidemux => Windows => Topic started by: butterw on March 01, 2021, 01:13:30 PM

Title: Post-install v2.7.7 cleanup script
Post by: butterw on March 01, 2021, 01:13:30 PM
In preparation of the upcoming 2.7.7 release, I am thinking about write a post-install Avidemux clean-up script to get rid of stuff that gets installed that I never use:
- i18n
- most encoder plugins
- most x264 presets
- most auto-scripts
- some filters (ex: deinterlace filters)
- cli and frameserver stuff.
Maybe install my tinyPy scripts.
- Rename to avidemux_portable.exe and set date to latest.


I have done this manually up to now using a Windows portable install (I've not run into any problems doing this, so I guess it is safe to do). I'm not expecting to gain significantly on install file size (directory is about 130MB for v2.7.7) or performance, but it does at least help with decluttering the lists in the GUI. 

My question: is a .bat script with relative paths the right way to go about this ?
Title: Re: Post-install v2.7.7 cleanup script
Post by: eumagga0x2a on March 01, 2021, 05:00:51 PM
Quote from: butterw on March 01, 2021, 01:13:30 PMMy question: is a .bat script with relative paths the right way to go about this ?

Any (scriptable) solution which works for you is the right one.

The worst offenders storage-wise are the x265 encoder plugin due to the huge size of the x265 library (even with 10- and 12-bit variants left out) it uses, the VP9 encoder plugin and the libaom video decoder plugin again due to the size of the corresponding aom.dll. Everything else doesn't matter that much.