VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Nov 2013
    Location
    Istanbul
    Search Comp PM
    I have a standart script that I have created for my videos (intro, subtitle, logo, etc.).
    I want to process lots of files with this script.
    I don't want to add these scripts to MeGUI one by one (select, add, wait for preview, add to queue, etc.).

    Is it possible to output multiple videos with just one .avs file?
    Any division operator for multiple output files, or any looping structure?
    Quote Quote  
  2. MeGUI's OneClick encoder does batch encoding. You might need to mess around with setting up the OneClick encoder a little (it'll do stuff like autocropping and de-interlacing which you might want to configure/disable as required), but like much of MeGUI's options you can save the configuration as a preset. The AVS Script Creator lets you create your own script templates (I think they're called AVS Profiles) and the OneClick encoder configuration lets you specify which AVS template you wish to use.

    So you'd just create an AVS script template/profile/preset (whatever they're called) based on your standard script, select that script template as the AVS Profile when configuring the OneClick encoder ("show advanced settings" needs to be selected when setting up the OneClick encoder), then you'd save the OneClick encoder configuration as a OneClick preset.
    Last edited by hello_hello; 3rd Dec 2013 at 07:14.
    Quote Quote  
  3. If you can use a command line encoder I have a pair of batch files that will do the job.

    FilterAll.bat
    Code:
    for %%F in (*.avi) do FilterOne.bat "%%F"
    pause
    FilterOne.bat
    Code:
    echo AviSource("%~d1%~p1%~n1%~x1") > "%~d1%~p1%~n1.avs"
    echo import("Filter.avs") >> "%~d1%~p1%~n1.avs"
    x264 --preset="veryfast" --output "%~d1%~p1%~n1.mkv" "%~d1%~p1%~n1.avs"
    del "%~d1%~p1%~n1.avs"
    Filter.avs:
    Code:
    # put your filter sequence in here.
    # I used the following just for an obvious result.
    FlipVertical()
    Double clicking on FilterAll.bat will encode all the AVI files in the folder using Filter.avs. You'll have to change "*.AVI" in FilterAll.bat, and AviSource() in FilterOne.bat to whatever is appropriate for your source. And replace the x264 command line with whatever encoder you're using.
    Quote Quote  



Similar Threads

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