Author Topic: Help making a "custom" settings script  (Read 2237 times)


  • Newbie
  • *
  • Posts: 15
Help making a "custom" settings script
« on: January 03, 2013, 07:19:55 PM »
I am using Avidemux 2.6.0 r8356

Ive searched around on the internet, wiki pages etc and almost completed a " custom " setting script that works just cant get the last bit

Heres what I do

Load a video file into avidemux.
Set, video output,audio output and output format then proceed to configure the video output and filters to the way I want them.
I then File > Tinypy project > save as project.
next I open up the file that has just been created with notepad and edit out adm.loadvideo(sdfksjgfksgfksgfkjgsdf)
I then save it and put it in C:\Users\PCname\AppData\Roaming\avidemux\custom

I can then load all my settings up in one click in the custom menu.

The only problem being is when I load the file from the custom menu the Time line length is always the same length regardless of the actual video length.

So I found out its something to do with these lines
adm.addSegment(0, 0, 4468035055)
adm.markerA = 0
adm.markerB = 4468035055

Ive tried deleting them but then the script doesn't load any settings at all.

what do I do to make the video fill the timeline correctly



  • Newbie
  • *
  • Posts: 15
Re: Help making a "custom" settings script
« Reply #1 on: January 05, 2013, 10:46:17 AM »
Seems that windows notepad was messing things up.
Opened the file in notepad++, deleted the above lines and now all is well.  :-[..... weird