News:

--

Main Menu

Where Is the 2.6 Script API Doc?

Started by claytoncarney, December 08, 2012, 10:19:40 PM

Previous topic - Next topic

claytoncarney

None of my 2.5 scripts work in 2.6. Seems apparent from looking at a saved 2.6 script that the API has significant changes from 2.5. However, the wiki script doc still shows the 2.5 info. I've googled for the 2.6 API doc with no success. Is the 2.6 script API doc available anywhere?

Jan Gruuthuse

Some info can be found in avidemux QT 2.6 Help: QtScript Reference. If your scripts are frame based? That could explain why it is not working? Some more info could be found here: Documentation & Tips. Basic scripting is still working. Some testing can be done by replacing avidemux3-cli by avidemux3-qt in the scripts (replace command line by QT version), perhaps giving more clues why it is not working.

claytoncarney

Perhaps I should clarify...

In 2.5, scripts begin with:

var app = new Avidemux();

In 2.6, this appears to be unnecessary, as the 'adm' variable appears to be predefined.

In 2.5:

app.load();
app.video.codecPlugin();
app.audio.codec();

In 2.6 this becomes:

adm.loadVideo();
adm.videoCodec();
adm.audioCodec();

I googled 'avidemux QT 2.6 Help: QtScript Reference' and did not find anything.

Jan Gruuthuse

#3
When you use the main textual avidemux 2.6 menu help, it should be there? See attachments. If that did not work: Check if you can find a folder like this avidemux6/help/QtScript/index.html

ps: not all spidermonkey works as it should, use Tinypy

claytoncarney

Yes, I found it in the Help menu. Thank you!