Avidemux Forum

Participate => User interface and Usability => Topic started by: Fox_25 on May 07, 2022, 08:46:35 PM

Title: Sugestion: Keep filters and filters setting(video, audio) on next video.
Post by: Fox_25 on May 07, 2022, 08:46:35 PM
Hello,
i cutting many videos with same video filter(sharpness) and audio normalization, but if i close saved video(CTRL+W), filters with setting is gone. This is ok if i make up to 5 videos, but if making on 10 or more, is frustrating(and lose time) turning on same filters and set same setting again and again.

Is any way to add function ,,keep filters and his setting", or turn on filters as default?
Title: Re: Sugestion: Keep filters and filters setting(video, audio) on next video.
Post by: szlldm on May 07, 2022, 09:03:41 PM
you can create a python script (check lastEdit.py for ideas) then copy/move it into the custom folder
the most simple solution is, copy lasEdit py into custom folder, rename it, then delete the following lines:

if not adm.loadVideo("..."):
    raise("Cannot load ...")
adm.clearSegments()
adm.addSegment(0, 1, 2)
adm.markerA = 0
adm.markerB = 2

Then you can use it by clicking on it in the Custom menu.
Title: Re: Sugestion: Keep filters and filters setting(video, audio) on next video.
Post by: Fox_25 on May 07, 2022, 10:36:09 PM
Many thanks, you saved me a lot of time! I tried earlier make custom script, but it didn't work, this is really easy peasy.

Once again, Thanks!
Title: Re: Sugestion: Keep filters and filters setting(video, audio) on next video.
Post by: datatracer on November 30, 2022, 07:25:59 PM
Quote from: szlldm on May 07, 2022, 09:03:41 PMyou can create a python script (check lastEdit.py for ideas) then copy/move it into the custom folder
the most simple solution is, copy lasEdit py into custom folder, rename it, then delete the following lines:

if not adm.loadVideo("..."):
    raise("Cannot load ...")
adm.clearSegments()
adm.addSegment(0, 1, 2)
adm.markerA = 0
adm.markerB = 2

Then you can use it by clicking on it in the Custom menu.

Awesome! This saves a lot of time, Thanks!