Installation:
Execute "DeShakInst.BAT"
VirtualDub2 44282; AviSynth+ 3.7.5 updated to C:\DVD
DESHAK.BAT updated to C:\UT and added to PATH
Usage:
DESHAK task[s] [parameters]
Tasks:
tp1: deshake pass1 LOG generation for 2nd pass
tp2: deshake pass2 and compress video and audio to MP3
tcomp: compress (no deshake)
twav: extract WAV and/or uses external WAV audio
Parameters (more in help):
vEXT: video extension (ie: vmov), default: vAVI
qN: h264 quality 1-9 (9=lossless), def: q3 (crf23)
aN: mp3 quality 1-5, def: a3 (192k)
* generates: ZZoriginalname.AVI
* some settings at begining ie: vdPath
Min Requirements:
XP; Win7x64 for aviSynth video NoiseReduction
Klite Mega Codec Pack (with LAME encoder)
Other Utilities:
LOG2CHAPS.BAT generate _OGG.txt chapters @ scene change
VID2AUD.BAT extract Audios
VID2MKV.BAT multiplex vid+aud+chapters
VIDJOIN.BAT merges videos to MKV
Features
- Help screen if no tasks
- Secure: never modify/overwrite/delete any media file
- Resume: skips already done ZZ*.* files
- [twav] Task Wav: extract/uses eachfile.WAV audio
- [tp1] Task Pass1: generete Deshake 1st pass eachfile.LOG
- [tp2] Task Pass2: Deshake and Compress to ZZeachfile.AVI
- [tcomp] Compress to ZZeachfile.AVI (no deShake)
- [vAVI|vAVS|vDV|vM2T|vM2V|vMKV| vMOV|vMP4|vMPG|vMTS|vWMV] video input extension {Default AVI}
- [vBMP|vJPG|vPNG] input image: generate 120frames NTSC {set on line 18} uses AviSynth
- [yXXXX] commands, forces generating AviSynth script:
- yFPS[n]: force n fps; {or n/1001 if n>300} {def.ntsc n=30000}
- yTri[n]: trims n frames from end {default n=3 frames}
- yBad: InpaintDelogo badpixel/logo remove using MASK.BMP in VDub dir
- yCro nL[,nR[,nT[,nB]]]: crop n pixels, BOTH passes
- yRes[nX[,nY[, bX[,bY]]]]: resize to nX,nY {def. nX=1280,nY=720} *BOTH passes
- ...{within black box bX,bY *2ºPass, *DeShake will move it}
- yTV|yPC: levels TV-^>PC {more contrast}; PC->TV {less contrast}
- yALev: auto Levels
- yAWB^|yUV[u[,v]]: auto WhiteBalance ^| u=+blue/-yel,v=+green/-red; {def:0,-8}
- yLev{0.n|1.n}: Gamma levels 0.n Decrease/ 1.n Increase
- ySat{0.n|1.n}: Saturation 0.n Decrease/ 1.n Increase
- YV12|yRGB: avisynth output YV12 or RGB
- yNRnnn: noiseReduction degrainTR=0..3,grLev=0..3, postFFT=0/1/3 {x64,slow}
- yNRFnn: noiseReductionFast deGrTR{temporal}=0..3,grainLev=0..3
- yHis: histogram, implies /S {small sample}
- ySig: moving text signature shifting color during all video {line 26-28}
- yTit: title for 3s {*DeShake will move it, line 29-31, def. FileName}
- [cXXXX] vidCompressor: cH264[v]|cH265[v]|cLag[R]| cFFV[R]|cNO {def. h264}
- ...[v] suffix: use VidForWin; Lagarith/FFV [R] suffix use RGB; cNO=q0 direct copy
- [qN] quality of h26x: q1=crf27 .. q5=crf19 .. q9=lossless {def. q4=crf21}
- [q0] only for non h26x AVIs, directcopy video without any processing
- [qvsl|qslower|qslo|qmed|qfas|qfaster| qvf] speed vs size {def. qvslow}
- [qFilm|qAnim|qGrain|qStill][qFDec][qZLat] h26x Tune {def.none}
- [qb8|qb10|qb12] Bits select {def. qb8}
- [qNtsc|qWNtsc|qXNtsc| qPal|qWPal|qXPal |qHDV| qTV]: SampleAspectRatio -ch265i
- ...10/11,40/33,32/27, 59/54,16/11,64/45, 4/3,3/4 {tv,tvW,dvdW HDV,TV} {Def 1/1}
- [fXXXX] filters:
- fColLtd|fColFul: Color space Limited/Full
- fLev[0.n|1.n]: levels Gamma multiplier, BOTH passes {def. 1.4}
- fYad: Yadif Deinterlace
- fBad: badpixel remove using delogo and BADPIXEL.BMP file on VDub folder
- fDeB: deBlock, **x32 only plugin**
- fCro nL[,nR[,nT[,nB]]]: Crop pixels from Left,Right,Top,Bottom borders
- fSmo: smoother Spatial degrain
- --- D_eshaker is applied here, after fSmo/dSmo
- fRes[nX[,nY[, bX[,bY]]]]: resize {def. nX=1280,nY=720} within black box bX,bY
- fHal: halfSize
- fTmp: Temporal Smoother degrain
- fGr: convert to Grayscale
- fRotL|fRotR|fRotA: rotate Left:90, Right:-90, Around:180
- [fFPS2] duplicate frame rate
- [dXXXX] DeShaker parameters:
- dCro[nL[,nR[,nT[,nB]]]]: 1st pass crop {def. fCro values or 0}
- dSmo: strong 1st pass deNoise
- dMor: deshake extra stabilize X Y
- dNoX: no stabilize X horizontal {ie: for tripod footage}
- dNoY: no stabilize Y vertical movements
- dNoR: no stabilize Rotation
- dNoZ: no stabilize Zoom {ie: for prime lens footage}
- dNoS: no Stabilize, only RS/deinterlace= dNoX+ dNoY+ dNoR+ dNoZ
- dIntB|dIntT: deInterlace by doubling frame rate use Bottom{DV}/Top field 1st
- dInc: for loRes dsBlkSz=15, analyze all pix, inc # prev/next border frames
- dT3i,dT5i,d70d,d80d,d5d: fix Canon RollingShutter {56%/45%/62%/45%/70%}
- [aXXXX] Audio options:
- aNO: noAudio
- aMo: mono {def. stereo}
- aCD: {a44} 44kHz sampleRate {def. 48kHz}
- a0: no compression, use PCM
- a1..a5: MP3 Bitrate 128/160/192/256/320 {def. a3=192}
- aXP: use acm mp3 codec instead of ffmpeg {for winXP}
- aFL: FLAC ffmpeg lossless
- aDel[n]: delay {n}ms to fix audio/video synchro {def. 120}
- [/Switches] general options:
- /32: use vDub32 {def. only if fDeB specified}
- /64: use vDub64 {default if possible} {fDeB don't work}
- /deb: {/debug} display extra info
- /k: {/keep} temp *.Script/*.avs files
- /noD: {noDelete} on error don't del unfinished AVIs
- /noE: {noError} on error continue with next file
- /noP: {noPause} at end
- /o: {/off} Power off 8 minutes after end
- /s[nSampleBeg[,nSampleLen]]: {def.2500,375}frames {2ºpass only}
- [shortcuts]:
- pVid= qNtsc dInc dIntB : For ntsc dv/video8 footage
- rVGA= fRes 640 480
- rFHD= fRes 1920 1080