cQnXYy2kvGHRCK
adm = Avidemux()
start = adm.markerA
end = adm.markerB
Now the variable "start" stores the time in microseconds of the selection start, "end" of the selection end. It should be possible to use the both to construct a string for use in adm.save(outfile). The final script should be placed as .py in the "custom" subdirectory of Avidemux profile to be easily called from the "Custom" menu in Avidemux.