Nologic Posted June 3, 2010 Share Posted June 3, 2010 Okay here is an early attempt at mass batch processing with AviDemux. I've setup a small collection of profiles that can be used, simply uncomment "::" the lines prior to a code block to enable. All profiles are based on 1:1 pixel, so if you wish to do 5:4 or something else you'll have to edit the profiles to have the pixels display correctly. All profiles apply Gain to the audio (Max -3db) so there is no need to run MP3Gain or AACGain. Profiles prefixed with TSCC are a cheesy attempt to correct the color shift when encoding a video originally encoded with TSCC...it comes close but is not perfect, and using the filter to correct the color shift add's a bit to the over all file size. This will be corrected in future versions, when AviSynth is added to the tool chain. Anyways extract the attached archive into your AviDemux installation folder, then edit the batch script as required & desired, double click it and go catch a movie or get some sleep. While the original goal of this was to produce multiple versions of the same video (MP4, AVI) and/or (HQ, SQ) the batch script can be edited to process several folders. Example: SET RunEXE=avidemux2_cli.exeREM ## Process NESREM ###################SET Source=C:\\Video Capture\\NESSET Target=C:\\Video Capture\\NES\\FinalSET DOSTAR=C:\Video Capture\NESECHO var srcDir = "%Source%"; > _Folders.jsECHO var dstDir = "%Target%\\MP4 SQ"; >> _Folders.jsMKDIR "%DOSTAR%\MP4 SQ\"START /WAIT ..\%RunEXE% --nogui --run ".\MP4 2 Pass Constant 800 Resize.js" -quitECHO var srcDir = "%Source%"; > _Folders.jsECHO var dstDir = "%Target%\\MP4 HQ"; >> _Folders.jsMKDIR "%DOSTAR%\MP4 HQ\"START /WAIT ..\%RunEXE% --nogui --run ".\MP4 2 Pass Constant 1500.js" -quitDEL "%DOSTAR%\*.stat" /SDEL "%DOSTAR%\*.mbtree" /SREM ## Process SNESREM ###################SET Source=C:\\Video Capture\\SNESSET Target=C:\\Video Capture\\SNES\\FinalSET DOSTAR=C:\Video Capture\SNESECHO var srcDir = "%Source%"; > _Folders.jsECHO var dstDir = "%Target%\\MP4 SQ"; >> _Folders.jsMKDIR "%DOSTAR%\MP4 SQ\"START /WAIT ..\%RunEXE% --nogui --run ".\MP4 2 Pass Constant 800 Resize.js" -quitECHO var srcDir = "%Source%"; > _Folders.jsECHO var dstDir = "%Target%\\MP4 HQ"; >> _Folders.jsMKDIR "%DOSTAR%\MP4 HQ\"START /WAIT ..\%RunEXE% --nogui --run ".\MP4 2 Pass Constant 1500.js" -quitDEL "%DOSTAR%\*.stat" /SDEL "%DOSTAR%\*.mbtree" /S... AviDemux Batch Scripts.rar Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.