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
* inner settings on first lines ie: Audio synch delay (line 46)

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|vMKV|vMOV|vMP4|vMPG|vMTS|vWMV] video input extension (default AVI)
  • [vBMP|vJPG|vPNG] input image: generate 120frames NTSC {set on lines 17-18} uses AviSynth
  • yXXXX generates AviSynth script:
  • [yFPS] force {line 18}frames per second {edit DESHAK.BAT}
  • [yTrim] trims {line 19}frames from end
  • [yBadPix] InpaintDelogo badpixel remove using MASK.BMP file on VDub folder
  • [yCrop] crops {lines 15-23} pixels, 1stPass too
  • [yReSz] resize to {line 22}, 1stPass too
  • [yALev] auto Levels
  • [yAWB] auto WhiteBalance
  • [yLev0.n|yLev1.n] reduce/increase Gamma Levels
  • [YV12|yRGB] avisynth output YV12 or RGB
  • [yNRnnn] noiseReduction degrainTemporalRatio=0..3,grainLev=0..3, postFFT=0/1/3 {x64,slow}
  • [yNRFnn] noiseReduction fast: deGrTR{temporal}=0..3,grainLev=0..3
  • [ySign] moving text shifting color during all video {lines 25-27}
  • [yTit] text title for 3s {warning: deshake may "shake" title} {lines 28-30}
  • cXXXX compress vid: [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
  • [q0] only for non h26x AVIs, directcopy video without any processing
  • qXXXX quality of h26x: [q1 - q9] {q9=lossless} {def. q4=crf21}
  • [qvslow|qslower|qslow|qmed|qfast|qfaster|qvfast] 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
  • [fGam[0.n^|1.n]] Gamma 0.n Decrease/ 1.n Increase levels {def. 1.4}
  • [fYadif] Deinterlace
  • [fBadPix] badpixel remove using delogo and BADPIXEL.BMP file on VDub folder
  • [fDeBlk] deblock, **x32 only plugin**
  • [fCrop] Crop {lines 32-33}pixels from Left,Right,Top,Bottom
  • [fSmooth] Smoother Spatial degrain
  • [fTemp] Temporal Smoother degrain
  • [fGray] Convert to Gray
  • [fRotL|fRotR|fRotA] rotate Left:90, Right:-90, Around:180
  • [fFPS2] duplicate frame rate
  • dXXXX Deshake parameters: [dCrop] 1st pass crop {lines 37-40}pixels
  • [dSmooth] strong 1st pass deNoise
  • [dMore] deshake extra stabilize X Y
  • [dNoX] no stabilize X horizontal movements {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 + dNoR + dNoZ
  • [dIntB|dIntT] deInterlace by doubling frame rate use Bottom/Top field 1st
  • [dInc] for loRes dsBlkSz=15, analyze all pix, incr # prev/next border frames
  • [dT3i|dT5i|d70d|d80d|d5d] Correct Canon RollingShutter (56%/45%/62%/45%/70%)
  • rXXXX resize: [r720b] resize to 720x576 {AR 5:4}
  • [r640|r768|r960|r1440] 720x576, 640x480 768x576 960x720 1440x1080 {4:3}
  • [r1440b] 1440x1080 w/black bars to fill 1920x1080 {16:9}
  • [r720|r1620|r1080] 720x480 1620x1080 1080x720 {3:2}
  • [r1620b] 1620x1080 w/black bars to fill 1920x1080 {16:9}
  • [r852|r1280|r1920] 852x480 1280x720 1920x1080 {16:9}
  • [rHalf] halfSize, can combine ie: r640rHalf=320x240
  • aXXXX Audio options: [aNO] noAudio
  • [a0] no compression, use PCM
  • [a1..a5] MP3 Bitrate 128/160/192/256/320 {default a3=192}
  • [aFL] flac ffmpeg lossless
  • [aCD] 44kHz sampleRate {default 48kHz}
  • [aMono] mono {default stereo}
  • [aXP] use acm mp3 codec instead of ffmpeg {for winXP}
  • [aDelay] delay {line 46}ms to fix audio/video synchro
  • /Switches: [/32] use vDub32 {def. if fDeBlk specified}
  • [/64] use vDub64 {def. under x64 win}
  • [/debug] extra info
  • [/keep] don't del temp *.Script/*.avs files
  • [/noDEL] on error don't del unfinished AVIs
  • [/noPAU] No Pause at end
  • [/OFF] Power off 8 minutes after end
  • [/sample] do only a few {line 47-48}frames {tp2/tcomp}
  • Presets: pCrop{=dCrop+fCrop}: Crop both passes
  • pVidN= fCropA qNtsc dInc dIntB : For ntsc dv/video8 footage

Project Samples

Project Activity

See All Activity >

Follow Virtualdub Batch Video DeShake

Virtualdub Batch Video DeShake Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Virtualdub Batch Video DeShake!

Additional Project Details

Registered

2018-03-13