VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. (sorry if this in the wrong place)

    well, thats basically the question.

    Okay, i CAN edit them with Notepad, but what im basically looking for is a SENSIBLE way to edit them, which makes my life a little easier.... [EDIT: I guess i'm basically looking for a javascript editor prefferably one which is spyware free.]

    I have a bunch of files i want to convert with Avidemux. It's a batch convert. my idea is to make one job with 90 times the same things, except that I change the filename


    What i have now is this:

    Code:
    var app = new Avidemux();
    app.load(\\\\"C:/#filmsnew/FF-XIII-HAH/FFXIII-01.avc\\\\");
    app.video.addFilter(\\\\"resize\\\\",\\\\"w=704\\\\",\\\\"h=396\\\\",\\\\"algo=0\\\\");
    setSuccess(app.save(\\\\"FFXIII-01.avi\\\\"));
    //app.Exit();
    //End of script
    greatly simplified, i took almost everything out, there are 40 lines of script.

    but what i want is:


    Code:
    var app = new Avidemux();
    app.load(\\"C:/#filmsnew/FF-XIII-HAH/FFXIII-01.avc\\");
    app.video.addFilter(\\"resize\\",\\"w=704\\",\\"h=396\\",\\"algo=0\\");
    setSuccess(app.save(\\"FFXIII-01.avi\\"));
    //app.Exit();
    //End of script
    
    var app = new Avidemux();
    app.load(\\"C:/#filmsnew/FF-XIII-HAH/FFXIII-02.avc\\");
    app.video.addFilter(\\"resize\\",\\"w=704\\",\\"h=396\\",\\"algo=0\\");
    setSuccess(app.save(\\"FFXIII-02.avi\\"));
    //app.Exit();
    //End of script
    
    .
    .
    .
    .
    .
    
    var app = new Avidemux();
    app.load(\\"C:/#filmsnew/FF-XIII-HAH/FFXIII-96.avc\\");
    app.video.addFilter(\\"resize\\",\\"w=704\\",\\"h=396\\",\\"algo=0\\");
    setSuccess(app.save(\\"FFXIII-96.avi\\"));
    //app.Exit();
    //End of script
    is there some application which lets me create this?

    And what is better:
    {A}- to have one js -file with 90 times the thing I want, or
    {B}- to have 90 .JS-files?

    and how do i make Avi demux "see" them in the case of {B} ????
    Last edited by KneeRow; 21st Sep 2010 at 23:56.
    Looking for subtitles of: Höök tt0997023, Lime tt0269480, La clé sur la porte tt0077348. tt=iMDb.com Found Desideria tt0081724 subtitle! :-)
    Quote Quote  
  2. Originally Posted by ******** View Post
    (sorry if this in the wrong place)

    well, thats basically the question.

    I guess i'm basically looking for a javascript editor prefferably one which is spyware free.]
    i wud use notepad, notepad++ or ConText
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!