; IDE Options = PureBasic v3.94 (Windows - x86) ; CursorPosition = 157 ; FirstLine = 124 ; Folding = -; PureBasic Visual Designer v3.92 build 1460 ;Copyright (C) 2005 Buzzqw (Andres Zanzani) ; ; Homepage: www.64k.it/andres ; E-mail: zanzani@64k.it ; ; This program is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2 of the License, or ; (at your option) any later version. ; ; This program is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY Or FITNESS For A PARTICULAR PURPOSE. See the ; GNU General Public License For more details. ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software ; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Global vers.s vers.s="MkvMagic 1.33" ; Window Constants ; Enumeration #Window_0 #Window1 EndEnumeration ; Gadget Constants ; Enumeration #MaxGadget #TTN_GETDISPINFOW = -530 #ES_NUMBER=$2000 #GadgetEnumStart #ttinput #binput #ttoutput #boutput #cdvd #container #String_11 #String_17 #dimb #ncd #checkdrive #audiotracks1 #subtracks1 #String_26 #String_28 #resizer #String_30 #String_34 #audiocodec2 #audiobit1 #String_38 #choosecodec #setcodec #String_40 #start #riponly #audioonly #String_42 #filter1 #String_44 #deint #filter3 #setting #filter2 #audiotracks2 #subtracks2 #String_54 #String_55 #String_57 #audiocodec1 #width #String_59 #audiobit2 #String_63 #AR #Image0 #loadfilter #sample #about #clean #dc #String_64 #String_65 #String_66 #String_67 #String_68 #String_69 #String_70 #String_71 #String_72 #String_73 #String_74 #String_75 #String_76 #String_77 #String_78 #String_79 #String_80 #String_81 #String_82 #String_83 #String_84 #String_85 #String_86 #String_87 #String_88 #String_89 #String_90 #String_91 #String_92 #String_93 #String_94 #String_95 #String_96 #String_97 #String_98 #String_99 #String_100 #pass #hq #gop #interlaced #field #ardvd #bitdvd #maxbit #cq #iso #credit #qcredit #greyscale #ctop #cbottom #cleft #cright #thresh #cframes #sframes #pcrop #cwidth #cheight #scredit #scalcf #f25 #f23 #f29 #f30 #screditq #scquant #avs1 #avs2 #avs3 #avs4 #avs5 #avs6 #avs7 #bavs1 #bavs2 #bavs3 #bavs4 #bavs5 #bavs6 #bavs7 #iavs1 #iavs2 #iavs3 #iavs4 #iavs5 #iavs6 #iavs7 #biavs1 #biavs2 #biavs3 #biavs4 #biavs5 #biavs6 #biavs7 #bres1 #bres2 #bres3 #bres4 #bres5 #bres6 #bres7 #pres1 #pres2 #pres3 #pres4 #pres5 #pres6 #pres7 #aacfor #aacfast #aacbr #aacencmode #aacpass #tempo #pitch #freeau #aacch3 #vfr #mode #turbo #lossless #keyframeinterval #numberofreferenceframes #mixed #numberofbframes #pyramid #adaptive #deblockfilter #alphadeblocking #betadeblocking #cabac #SUBpixrefiniment #weightedprediction #chromame #profiles #bprofiles #macroblockoption #i4x4 #p4x4 #b8x8 #p8x8 #i8x8 #adaptivedct #avcprofiles #avclevel #rdoforbframes #minimumquantitizer #maximumquantitizer #maximumquantitizerdelta #CReditsquantitizer #factoripq #factorpbq #chromaqpoffset #vbvbuffersize #vbvmaximumbitrate #vbvinitialbuffer #bitratevariance #quantitizercompression #tempblurfc #tempblurqcc #scdsensitivity #bframesbias #bframemode #mealgo #merange #nbthreads #mingopsize #sarw #sarh #trellis #fourcc #zones #zonesstart #zonesend #zonesquant #zonesmode #quantizationmatrix #quantizermatrixfile #bquantizermatrixfile #customcommandline #strength #sensitivity #bitrate #matrixfile #nofastpskip #bime #nodctdecimate #hours #minutes #seconds #framerate #frames #calcaudiobit1 #bcalcaudiobit1 #calcaudiobit2 #bcalcaudiobit2 #calcaudiosiz1 #calcaudiosiz2 #numcd #SIzecd #calcbit #SIzeaudio1 #SIzeaudio2 #totalsize #bcalcbit #bxvid #bx264 #eavi #edirect #freq48 #x264wcmd #NoiseReduction #addt #addb #addl #addr #ntsc #pal #aacengine #aacch1 #aacch2 #aacpns #aacv1 #mp3cbr #xvidqt #xvidqbit #x264dqt #x264dqbit #BufferLength #MEM_DROPFILES = 10 #writeavs #wfilter1 #wfilter2 #x264cqt #widthctest #Normalize #xmax_bframes ;integer: max bframes (default=0) #xbquant_ratio ;integer: bframe quantizer ratio (default=150) #xbquant_offset ;integer: bframe quantizer offset (default=100) #xpasses ;single single pass mode, -pass1 filename ,-pass2 filename : twopass mode (2nd pass) #xmax_key_interval ;maximum keyframe interval #xnoasm ;do not use assembly optmized code #xturbo ;use turbo presets for higher encoding speed #xquality ;quality ([0..6]) #xvhqmode ;level of Rate-Distortion optimizations ([0..4]) (default=0) #xbvhq ;use Rate-Distortion optimizations for B-frames too #xqpel ;use quarter pixel ME #xgmc ;use Global motion compensation #xqtype ;quantization type (H263:0, MPEG4:1) (default=0) #xqmatrix ;use custom MPEG4 quantization matrix #xinterlaced ;use interlaced encoding (this is NOT a deinterlacer!) #xpacked ;packed mode #xclosed_gop ;closed GOP mode #xgrey ;grey scale coding (chroma is discarded) #xlumimasking ;use lumimasking algorithm #xDebug ;activates xvidcore internal debugging output #xvop_debug ;print some info directly into encoded frames #xvidcmdw #xbitrate #xstats ;print stats about encoded frames #xnochromame ;Disable chroma motion estimation #xnotrellis ;Disable trellis quantization #ximin ;integer : Minimum I Quantizer (1..31) (1) #ximax ;integer : Maximum I quantizer (1..31) (31) #xbmin ;integer : Minimum B Quantizer (1..31) (1) #xbmax ;integer : Maximum B quantizer (1..31) (31) #xpmin ;integer : Minimum P Quantizer (1..31) (1) #xpmax ;integer : Maximum P quantizer (1..31) (31) #xdrop ;integer : Frame Drop Ratio (0..100) (0) #xpar ;Set Pixel Aspect Ratio.1 = 1:1 2 = 12:11 (4:3 PAL) 3 = 10:11 (4:3 NTSC) 4 = 16:11 (16:9 PAL) 5 = 40:33 (16:9 NTSC) #full1pass ;perform full first pass #xreaction ;integer : reaction delay factor (16) #xaveraging ;integer : averaging period (100) #xsmoother ;integer : smoothing buffer (100) ;Second Pass options: #xkboost ;integer : I frame boost (10) #xkthresh ;integer : I frame reduction threshold (1) #xkreduction ;integer : I frame reduction amount (20) #xostrength ;integer : overflow control strength (5) #xoimprove ;integer : max overflow improvement (5) #xodegrade ;integer : max overflow degradation (5) #xchigh ;integer : high bitrate scenes degradation (0) #xclow ;integer : low bitrate scenes improvement (0) #xoverhead ;integer : container frame overhead (24) #xvbvsize ;integer : use vbv buffer size #xvbvmax ;integer : vbv max bitrate #xvbvpeak ;integer : vbv peak bitrate over 1 second #xpreset #xprogress #xcustom #shut #pgc #wripd #wripf #kstd #MINn #sens #numzones #resizezone1 #resizezone2 #resizezone3 #resizezone4 #resizezone5 #resizezone6 #resizezone7 #filterzone1 #filterzone2 #filterzone3 #filterzone4 #filterzone5 #filterzone6 #filterzone7 #avsopt #minimized #prio #compper #minres #maxres #menttinput #menbinput #menttoutput #menboutput #mencdvd #mencontainer #menString_11 #menString_13 #menString_17 #mendimb #menString_21 #menncd #mencheckdrive #menaudiotracks1 #mensubtracks1 #menString_30 #menString_36 #menaudiobit1 #menString_38 #menchoosecodec #mensetcodec #menString_40 #menstart #menriponly #menString_42 #menString_44 #mendeint #menString_54 #menString_55 #menString_57 #menaudiocodec1 #menwidth #menString_59 #menString_61 #menAR #menabout #menclean #mensample #menpass #menhq #meninterlaced #menfield #mennumcd #menSIzecd #menfreq44 #menCRop #menvolume #mendenoise #menfourcc #menabr #menaq #menmaxbframes #menvme #menmdb #mendia #mentrell #menmms #menbmms #menlmask #menbmask #menqpel #mentotalsize #mensws #menofps #menbitq #mentcplx_mask #menscplx_mask #menGrays #menvfdct #menidct #menmv0 #mencbp #menprecmp #mencmp #mensubcmp #menpredia #menpreme #menvqcomp #menlast_pred #menqns #menthreads #menwritecmd #menCRopman #menbcropman #customx264 #compcheck #compthre #dump #log #savesetting #GadgetEnumEnd = #PB_Compiler_EnumerationValue-1 EndEnumeration ; BalloonTip Constants #TOOLTIP_NO_ICON = 0 #TOOLTIP_INFO_ICON = 1 #TOOLTIP_WARNING_ICON = 2 #TOOLTIP_ERROR_ICON = 3 #WideCharLen_=#MAX_PATH*4 WideCharBuf_=AllocateMemory(500) #ToolTip_NoBalloon=-1 #TOOLTIP_NO_ICON = 0 #TOOLTIP_INFO_ICON = 1 #TOOLTIP_WARNING_ICON = 2 #TOOLTIP_ERROR_ICON = 3 Structure TCHITTESTINFO pt.POINT flags.l EndStructure Procedure Open_Window1() If OpenWindow(#Window1, 282, 452, 750, 350, vers.s+" Log", #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_TitleBar |#PB_Window_ScreenCentered|#PB_Window_MinimizeGadget) If CreateGadgetList(WindowID(#Window1)) StringGadget(#log,20,20,700,300,"",#ES_MULTILINE|#ES_AUTOVSCROLL|#WS_VSCROLL) EndIf EndIf EndProcedure Procedure MyWindowCallback(WindowId, message, wParam, lParam) Result = #PB_ProcessPureBasicEvents If message=#WM_NOTIFY *notify.NMHDR=lParam If (*notify\code=#TTN_GETDISPINFOW Or *notify\code=#TTN_GETDISPINFO) And wParam=GadgetID(1) ; ToolTip.TOOLINFO ; ToolTip\cbSize=SizeOf(TOOLINFO) ; ToolTip\hwnd=wParam ; ToolTip\uId=wParam ;Which Tab? GetCursorPos_(Test.TCHITTESTINFO\pt) MapWindowPoints_(0,GadgetID(1),Test\pt,1) index=SendMessage_(GadgetID(1),#TCM_HITTEST,0,Test) ToolTipText$="Work? - "+Str(index+1) ;CP_THREAD_ACP MultiByteToWideChar_(1,#MB_PRECOMPOSED,@ToolTipText$,Len(ToolTipText$),WideCharBuf_,#WideCharLen_) *text.NMTTDISPINFO=lParam *text\lpszText=WideCharBuf_ *text\hInst=0 *text\szText[0]=0 Result=#False ; ToolTip\lpszText=@a$ ; SendMessage_(*notify\hwndfrom,#TTM_UPDATETIPTEXT,0,ToolTip) ; SendMessage_(*notify\hwndfrom,#TTM_ACTIVATE ,0,0) ; SendMessage_(*notify\hwndfrom,#TTM_update ,0,0) ; SendMessage_(*notify\hwndfrom,#TTM_ACTIVATE ,#True,0) ;Result=#False EndIf EndIf If Result=#PB_ProcessPureBasicEvents And OldCallback ProcedureReturn CallWindowProc_(OldCallback,WindowId,message,wParam,lParam) Else ProcedureReturn Result EndIf EndProcedure Procedure OwnToolTip(WindowId, gadget, text$ , Title$, Icon) If Icon=#ToolTip_NoBalloon Flag=#WS_POPUP | #TTS_NOPREFIX Else Flag=#WS_POPUP | #TTS_NOPREFIX | #TTS_BALLOON EndIf ToolTip=CreateWindowEx_(0,"ToolTips_Class32","",Flag,0,0,0,0,WindowID(WindowId),0,GetModuleHandle_(0),0) SendMessage_(ToolTip,#TTM_SETTIPTEXTCOLOR,GetSysColor_(#COLOR_INFOTEXT),0) SendMessage_(ToolTip,#TTM_SETTIPBKCOLOR,GetSysColor_(#COLOR_INFOBK),0) SendMessage_(ToolTip,#TTM_SETMAXTIPWIDTH,0,360) Balloon.TOOLINFO\cbSize=SizeOf(TOOLINFO) Balloon\uFlags=#TTF_IDISHWND | #TTF_SUBCLASS Balloon\hwnd=GadgetID(gadget) Balloon\uId=GadgetID(gadget) If text$ Balloon\lpszText=@text$ Else Balloon\lpszText=-1 EndIf SendMessage_(ToolTip, #TTM_ADDTOOL, 0, Balloon) If Title$ > "" And Icon>-1 SendMessage_(ToolTip, #TTM_SETTITLE, Icon, @Title$) EndIf ProcedureReturn ToolTip EndProcedure Procedure Open_Window_0() If OpenWindow(0,0,0,856,482, vers.s,#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_TitleBar | #PB_Window_ScreenCentered ) If CreatePopupMenu(0) MenuItem(1,"Restore Window") MenuBar() MenuItem(2,"Quit") EndIf here.s=GetCurrentDirectory() If CreateGadgetList(WindowID(0)) PanelGadget(0,6,6,844,472) AddGadgetItem (0,-1,"Mpeg4 Settings") StringGadget(#ttinput,10,20,420,20,"Click on INPUT for choosing FILE to ENCODE",#PB_String_ReadOnly) ButtonGadget(#binput,440,20,70,20,"Input") StringGadget(#ttoutput,10,60,420,20,dest.s,#PB_String_ReadOnly) ButtonGadget(#boutput,440,60,70,20,"Output") ComboBoxGadget(#cdvd,640,20,100,200) ComboBoxGadget(#container,10,130,90,200) StringGadget(#String_11,530,20,100,20,"Choose DVD drive",#PB_String_ReadOnly) Frame3DGadget(#PB_Any,5,85,325,75,"") StringGadget(#PB_Any,10,100,90,20,"Set Container",#PB_String_ReadOnly) StringGadget(#String_17,120,100,90,20,"Set MB Size Unit",#PB_String_ReadOnly) ComboBoxGadget(#dimb,120,130,90,200,#PB_ComboBox_Editable) AddGadgetItem(#dimb,-1,"1/4 CD") AddGadgetItem(#dimb,-1,"1/2 CD") AddGadgetItem(#dimb,-1,"1 CD") AddGadgetItem(#dimb,-1,"2 CD") AddGadgetItem(#dimb,-1,"3 CD") AddGadgetItem(#dimb,-1,"1 DVD-R") AddGadgetItem(#dimb,-1,"1/3 DVD-R") AddGadgetItem(#dimb,-1,"1/4 DVD-R") AddGadgetItem(#dimb,-1,"1/5 DVD-R") AddGadgetItem(#dimb,-1,"1/6 DVD-R") SetGadgetState(#dimb,2) StringGadget(#PB_Any,230,100,90,20,"Number of Units",#PB_String_ReadOnly) StringGadget(#ncd,230,130,90,20,"1",#PB_String_Numeric) ButtonGadget(#checkdrive,750,20,70,20,"Check Drive") Frame3DGadget(#PB_Any,325,85,510,75,"") StringGadget(#String_26,340,100,230,20,"Choose First Subtitles Trak",#PB_String_ReadOnly) ComboBoxGadget(#subtracks1,340,130,230,300) StringGadget(#String_59,590,100,230,20,"Choose Second Subtitles Trak",#PB_String_ReadOnly) ComboBoxGadget(#subtracks2,590,130,230,300) Frame3DGadget(#PB_Any,5,155,420,70,"") StringGadget(#String_54,10,170,200,20,"Choose First Audio Trak",#PB_String_ReadOnly) ComboBoxGadget(#audiotracks1,10,195,200,200) StringGadget(#String_57,220,170,105,20,"Set Audio Type",#PB_String_ReadOnly) ComboBoxGadget(#audiocodec1,220,195,105,200) StringGadget(#PB_Any,340,170,80,20,"Set Audio Bit",#PB_String_ReadOnly) ComboBoxGadget(#audiobit1,340,195,80,200,#PB_ComboBox_Editable) Frame3DGadget(#PB_Any,425,155,410,70,"") StringGadget(#String_55,430,170,200,20,"Choose Second Audio Trak",#PB_String_ReadOnly) ComboBoxGadget(#audiotracks2,430,195,200,200) StringGadget(#String_34,640,170,105,20,"Set Audio Type",#PB_String_ReadOnly) ComboBoxGadget(#audiocodec2,640,195,105,200) StringGadget(#PB_Any,750,170,80,20,"Set Audio Bit",#PB_String_ReadOnly) ComboBoxGadget(#audiobit2,750,195,80,200,#PB_ComboBox_Editable) ButtonGadget(#start,530,60,90,20,"Start") ButtonGadget(#riponly,640,60,80,20,"Rip Only") ButtonGadget(#audioonly,740,60,80,20,"Only Audio") StringGadget(#String_42,10,340,90,20,"Choose Filter",#PB_String_ReadOnly) ComboBoxGadget(#filter1,110,340,230,260, #PB_ComboBox_Editable) ButtonGadget(#wfilter1,342,340,12,20,"*") ComboBoxGadget(#filter2,360,340,210,260,#PB_ComboBox_Editable) ButtonGadget(#wfilter2,572,340,12,20,"*") StringGadget(#filter3,590,340,230,20,"Write your filter configuration") ;ButtonGadget(#setting,10,410,120,20,"Setting") StringGadget(#String_44,10,380,90,20,"Deinterlace",#PB_String_ReadOnly) ComboBoxGadget(#deint,110,380,200,200,#PB_ComboBox_Editable) CheckBoxGadget(#vfr,320,380,30,30,"") ButtonGadget(#about,740,410,80,20,"About") ;ButtonGadget(#dump,10,410,80,20,"Dump State") ButtonGadget(#savesetting,10,410,80,20,"Save Default") Frame3DGadget(#PB_Any,5,220,540,70,"") StringGadget(#String_28,10,230,310,20,"Choose Resizer",#PB_String_ReadOnly) ComboBoxGadget(#resizer,10,260,310,300,#PB_ComboBox_Editable) StringGadget(#String_30,340,230,80,20,"Set Width",#PB_String_ReadOnly) ComboBoxGadget(#width,340,260,80,200,#PB_ComboBox_Editable) StringGadget(#String_63,430,230,105,20,"Force Mux DAR",#PB_String_ReadOnly) ComboBoxGadget(#AR,430,260,105,200) Frame3DGadget(#PB_Any,545,220,195,70,"") StringGadget(#PB_Any,550,230,180,20,"Select PGC (for Subtitles extraction)",#PB_String_ReadOnly) ComboBoxGadget(#pgc,550,260,180,200) Frame3DGadget(#PB_Any,5,285,540,40,"") StringGadget(#String_38,10,300,140,20,"Set encoding mode",#PB_String_ReadOnly) ComboBoxGadget(#choosecodec,160,300,260,200) ButtonGadget(#setcodec,430,300,70,20,"Conf. Codec") Frame3DGadget(#PB_Any,545,285,195,40,"") CheckBoxGadget(#avsopt,550,295,180,20,"Use HG Avs Optimizer") ComboBoxGadget(#loadfilter,360,380,460,60,#PB_ComboBox_Editable) Frame3DGadget(#PB_Any,745,220,90,105,"") CheckBoxGadget(#sample,750,225,70,20,"Sample") CheckBoxGadget(#clean,750,245,70,20,"Clean file") CheckBoxGadget(#iso,750,265,70,20,"DVD-ISO") CheckBoxGadget(#shut,750,285,70,20,"ShutDown") CheckBoxGadget(#minimized,750,305,70,20,"To icon") AddGadgetItem(#choosecodec,-1,"1 Pass CBR Full Automatic XviD") AddGadgetItem(#choosecodec,-1,"2 Pass Full Automatic XviD") AddGadgetItem(#choosecodec,-1,"1 Pass Manual XviD") AddGadgetItem(#choosecodec,-1,"2 Pass Manual XviD") AddGadgetItem(#choosecodec,-1,"1 Pass Manual XviD but Automatic BITRATE") AddGadgetItem(#choosecodec,-1,"2 Pass Manual X264 but AUTO BITRATE VFW") AddGadgetItem(#choosecodec,-1,"1 Pass Manual X264 but AUTO BITRATE VFW") AddGadgetItem(#choosecodec,-1,"2 Pass FULL Automatic X264 VFW") AddGadgetItem(#choosecodec,-1,"1 Pass FULL Automatic X264 VFW") AddGadgetItem(#choosecodec,-1,"X264.exe Command Line") AddGadgetItem(#choosecodec,-1,"XviD Command Line") AddGadgetItem(#choosecodec,-1,"2 Pass Manual VFW Codec") AddGadgetItem(#choosecodec,-1,"1 Pass Manual VFW Codec") SetGadgetState(#choosecodec,1) AddGadgetItem(#resizer,-1,"PointResize") AddGadgetItem(#resizer,-1,"BicubicResize") AddGadgetItem(#resizer,-1,"SimpleResize") AddGadgetItem(#resizer,-1,"BilinearResize") AddGadgetItem(#resizer,-1,"Lanczos4Resize") AddGadgetItem(#resizer,-1,"LanczosResize") AddGadgetItem(#resizer,-1,"HybridFuPP Very Low Quality Source") AddGadgetItem(#resizer,-1,"HybridFuPP Low Quality Source") AddGadgetItem(#resizer,-1,"HybridFuPP Medium Quality Source") AddGadgetItem(#resizer,-1,"HybridFuPP High Quality Source") AddGadgetItem(#resizer,-1,"HybridFuPP Very High Quality Source") AddGadgetItem(#resizer,-1,"HybridFuPP HybridQ (recommed for 1 cd rip)") AddGadgetItem(#resizer,-1,"HybridFuPP Anime1 (Good Quality Source)") AddGadgetItem(#resizer,-1,"HybridFuPP Anime2 (Medium Quality Source)") AddGadgetItem(#resizer,-1,"LimitedSharpen(1.25,1.25,out_width,out_height,smode=4)") AddGadgetItem(#resizer,-1,"HybridFuPP RemoveGrain Good Quality") ;15 AddGadgetItem(#resizer,-1,"HybridFuPP RemoveGrain Sharpen") ;16 AddGadgetItem(#resizer,-1,"HybridFuPP RemoveGrain Aggressive") ;17 AddGadgetItem(#resizer,-1,"MultiSwar") ;17 AddGadgetItem(#resizer,-1,"NONE") AddGadgetItem(#resizer,-1,"EDIT ME") SetGadgetState(#resizer,10) AddGadgetItem(#width,-1,"Automatic") AddGadgetItem(#width,-1,"720") AddGadgetItem(#width,-1,"704") AddGadgetItem(#width,-1,"688") AddGadgetItem(#width,-1,"672") AddGadgetItem(#width,-1,"656") AddGadgetItem(#width,-1,"640") AddGadgetItem(#width,-1,"624") AddGadgetItem(#width,-1,"592") AddGadgetItem(#width,-1,"576") SetGadgetState(#width,0) AddGadgetItem(#cdvd,-1,"NONE") AddGadgetItem(#cdvd,-1,"D:") AddGadgetItem(#cdvd,-1,"E:") AddGadgetItem(#cdvd,-1,"F:") AddGadgetItem(#cdvd,-1,"G:") AddGadgetItem(#cdvd,-1,"H:") AddGadgetItem(#cdvd,-1,"I:") SetGadgetState(#cdvd,0) AddGadgetItem(#audiocodec1,-1,"MP3") AddGadgetItem(#audiocodec1,-1,"AAC") AddGadgetItem(#audiocodec1,-1,"OGG") AddGadgetItem(#audiocodec1,-1,"MP3 5.1 Aud-X") AddGadgetItem(#audiocodec1,-1,"MP2") AddGadgetItem(#audiocodec1,-1,"QuEnc AC3") AddGadgetItem(#audiocodec1,-1,"Aften AC3") AddGadgetItem(#audiocodec1,-1,"Copy Original") SetGadgetState(#audiocodec1,0) AddGadgetItem(#audiocodec2,-1,"MP3") AddGadgetItem(#audiocodec2,-1,"AAC") AddGadgetItem(#audiocodec2,-1,"OGG") AddGadgetItem(#audiocodec2,-1,"MP3 5.1 Aud-X") AddGadgetItem(#audiocodec2,-1,"MP2") AddGadgetItem(#audiocodec2,-1,"QuEnc AC3") AddGadgetItem(#audiocodec2,-1,"Aften AC3") AddGadgetItem(#audiocodec2,-1,"Copy Original") SetGadgetState(#audiocodec2,0) AddGadgetItem(#audiobit1,-1,"96") AddGadgetItem(#audiobit1,-1,"112") AddGadgetItem(#audiobit1,-1,"128") AddGadgetItem(#audiobit1,-1,"144") AddGadgetItem(#audiobit1,-1,"160") AddGadgetItem(#audiobit1,-1,"176") AddGadgetItem(#audiobit1,-1,"192") AddGadgetItem(#audiobit1,-1,"208") SetGadgetState(#audiobit1,2) AddGadgetItem(#audiobit2,-1,"96") AddGadgetItem(#audiobit2,-1,"112") AddGadgetItem(#audiobit2,-1,"128") AddGadgetItem(#audiobit2,-1,"144") AddGadgetItem(#audiobit2,-1,"160") AddGadgetItem(#audiobit2,-1,"176") AddGadgetItem(#audiobit2,-1,"192") AddGadgetItem(#audiobit2,-1,"208") SetGadgetState(#audiobit2,2) AddGadgetItem(#deint,-1,"AUTO") AddGadgetItem(#deint,-1,"NONE") AddGadgetItem(#deint,-1,"TDeint()") AddGadgetItem(#deint,-1,"LeakKernelDeint(order=1,sharp=true)") AddGadgetItem(#deint,-1,"KernelDeInt(order=1,sharp=true)") AddGadgetItem(#deint,-1,"TomsMoComp(1,15,1)") AddGadgetItem(#deint,-1,"ReduceBy2()") AddGadgetItem(#deint,-1,"MvBob(movie,quick=true)") AddGadgetItem(#deint,-1,"tfm(d2v="+Chr(34)+"movie.d2v"+Chr(34)+").tdecimate(mode=3,hybrid=2,vfrDec=0,mkvOut="+Chr(34)+"mkv-timecodesfile.txt"+Chr(34)+")") SetGadgetState(#deint,0) AddGadgetItem(#container,-1,"AVI") AddGadgetItem(#container,-1,"MKV") AddGadgetItem(#container,-1,"MP4") AddGadgetItem(#container,-1,"ES Video") AddGadgetItem(#container,-1,"ES Audio") AddGadgetItem(#container,-1,"ES A/V") AddGadgetItem(#container,-1,"DVD") SetGadgetState(#container,1) AddGadgetItem(#AR,-1,"AUTO") AddGadgetItem(#AR,-1,"4:3") AddGadgetItem(#AR,-1,"1.66") AddGadgetItem(#AR,-1,"16:9") AddGadgetItem(#AR,-1,"1.85") AddGadgetItem(#AR,-1,"2.00") AddGadgetItem(#AR,-1,"2.21") AddGadgetItem(#AR,-1,"2.35") AddGadgetItem(#AR,-1,"Anamorphic+SAR") SetGadgetState(#AR,0) AddGadgetItem(#loadfilter,-1,"NONE") AddGadgetItem(#loadfilter,-1,"Write here your avsi script to Import. As Import("+Chr(34)+"c:\plugins\ipp.avs"+Chr(34)+") And DONT' FORGET TO LOAD NEEDED DLLs in DEFAULT.AVS") SetGadgetState(#loadfilter,0) AddGadgetItem(0,-1,"Mpeg2 Settings") Frame3DGadget(#PB_Any,5,5,830,150,"Mpeg2 Parameters") ComboBoxGadget(#dc,225,90,85,80) StringGadget(#String_64,315,90,80,20,"DC prec",#PB_String_ReadOnly) ComboBoxGadget(#ardvd,225,120,85,100) StringGadget(#String_71,315,120,80,20,"Aspect Ratio",#PB_String_ReadOnly) ComboBoxGadget(#pass,10,30,85,80) StringGadget(#String_65,100,30,80,20,"# Pass",#PB_String_ReadOnly) ComboBoxGadget(#bitdvd,10,60,85,80,#PB_ComboBox_Editable) StringGadget(#String_72,100,60,80,20,"Bitrate",#PB_String_ReadOnly) ComboBoxGadget(#hq,225,30,85,80) StringGadget(#String_66,315,30,80,20,"Hi Quality",#PB_String_ReadOnly) ComboBoxGadget(#gop,225,60,85,80) StringGadget(#String_68,315,60,80,20,"Gop Size",#PB_String_ReadOnly) ComboBoxGadget(#interlaced,435,30,85,80) StringGadget(#String_69,525,30,80,20,"Interlaced",#PB_String_ReadOnly) StringGadget(#PB_Any,620,30,120,20,"FrameRate Conversion",#PB_String_ReadOnly) ComboBoxGadget(#ntsc,745,30,80,200,#PB_ComboBox_Editable) StringGadget(#PB_Any,620,60,120,20,"Mpeg2 Output System",#PB_String_ReadOnly) ComboBoxGadget(#pal,745,60,80,200) ComboBoxGadget(#field,435,60,85,80) StringGadget(#String_70,525,60,80,20,"Field Order",#PB_String_ReadOnly) ComboBoxGadget(#maxbit,10,90,85,80,#PB_ComboBox_Editable) StringGadget(#String_73,100,90,80,20,"Max Bitrate",#PB_String_ReadOnly) ComboBoxGadget(#cq,10,120,85,60,#PB_ComboBox_Editable) StringGadget(#String_74,100,120,80,20,"Constant Quant",#PB_String_ReadOnly) AddGadgetItem(#dc,-1,"10") AddGadgetItem(#dc,-1,"9") AddGadgetItem(#dc,-1,"8") SetGadgetState(#dc,1) AddGadgetItem(#pass,-1,"1 Pass CBR") AddGadgetItem(#pass,-1,"1 Pass VBR") AddGadgetItem(#pass,-1,"2 PASS") SetGadgetState(#pass,2) AddGadgetItem(#hq,-1,"Yes") AddGadgetItem(#hq,-1,"No") AddGadgetItem(#hq,-1,"Normal") SetGadgetState(#hq,2) AddGadgetItem(#gop,-1,"AUTO") AddGadgetItem(#gop,-1,"15") AddGadgetItem(#gop,-1,"12") SetGadgetState(#gop,0) AddGadgetItem(#interlaced,-1,"AUTO") AddGadgetItem(#interlaced,-1,"Yes") AddGadgetItem(#interlaced,-1,"No") SetGadgetState(#interlaced,0) AddGadgetItem(#field,-1,"AUTO") AddGadgetItem(#field,-1,"TFF") AddGadgetItem(#field,-1,"BFF") SetGadgetState(#field,0) AddGadgetItem(#ntsc,-1,"23.976") AddGadgetItem(#ntsc,-1,"24") AddGadgetItem(#ntsc,-1,"29.97") AddGadgetItem(#ntsc,-1,"30") AddGadgetItem(#ntsc,-1,"25") SetGadgetState(#ntsc,4) AddGadgetItem(#pal,-1,"PAL") AddGadgetItem(#pal,-1,"NTSC") SetGadgetState(#pal,0) AddGadgetItem(#ardvd,-1,"AUTO") ; 4:3,16:9,2.21:1 ,1:1, AddGadgetItem(#ardvd,-1,"4:3") AddGadgetItem(#ardvd,-1,"16:9") AddGadgetItem(#ardvd,-1,"2.21:1") AddGadgetItem(#ardvd,-1,"1:1") SetGadgetState(#ardvd,0) AddGadgetItem(#bitdvd,-1,"AUTO") AddGadgetItem(#bitdvd,-1,"Edit Me") SetGadgetState(#bitdvd,0) AddGadgetItem(#cq,-1,"NONE") AddGadgetItem(#cq,-1,"Edit Me") SetGadgetState(#cq,0) AddGadgetItem(#maxbit,-1,"AUTO") AddGadgetItem(#maxbit,-1,"Edit Me") SetGadgetState(#maxbit,0) DisableGadget(#iso,1) DisableGadget(#dc,1) DisableGadget(#ardvd,1) DisableGadget(#bitdvd,1) DisableGadget(#hq,1) DisableGadget(#gop,1) DisableGadget(#interlaced,1) DisableGadget(#field,1) DisableGadget(#maxbit,1) DisableGadget(#cq,1) DisableGadget(#pass,1) Frame3DGadget(#PB_Any,5,165,215,80,"For AVI Input") StringGadget(#PB_Any,10,190,100,20,"Engage AVI Mode:",#PB_String_ReadOnly) CheckBoxGadget(#eavi,10,215,70,20,"AviSource") CheckBoxGadget(#edirect,95,215,120,20,"DirectShowSource") SetGadgetState(#edirect,1) SetGadgetState(#eavi,0) AddGadgetItem(0,-1,"Extra Settings") Frame3DGadget(#PB_Any,5,5,320,130,"AutoCrop Parameter") CheckBoxGadget(#greyscale,10,25,155,20,"Enable Greyscale() Encoding") ComboBoxGadget(#thresh,10,50,60,80,#PB_ComboBox_Editable) StringGadget(#String_75,75,50,195,20,"Set AutoCrop Threshold (0-255)",#PB_String_ReadOnly) AddGadgetItem(#thresh,-1,"34") AddGadgetItem(#thresh,-1,"Edit Me") SetGadgetState(#thresh,0) ComboBoxGadget(#cframes,10,75,60,80,#PB_ComboBox_Editable) StringGadget(#String_76,75,75,195,20,"Number of Frames to Examine (0-100)",#PB_String_ReadOnly) AddGadgetItem(#cframes,-1,"40") AddGadgetItem(#cframes,-1,"Edit Me") SetGadgetState(#cframes,0) ComboBoxGadget(#sframes,10,100,60,80,#PB_ComboBox_Editable) StringGadget(#String_77,75,100,195,20,"Starting Frames for AutoCrop detection",#PB_String_ReadOnly) AddGadgetItem(#sframes,-1,"0") AddGadgetItem(#sframes,-1,"Edit Me") SetGadgetState(#sframes,0) Frame3DGadget(#PB_Any,5,135,320,200,"Manual Crop") CheckBoxGadget(#pcrop,10,155,140,20,"Enable Manual Crop") StringGadget(#String_82,185,155,60,20,"WIDTH",#PB_String_ReadOnly) ComboBoxGadget(#cwidth,185,180,60,60,#PB_ComboBox_Editable) StringGadget(#String_83,255,155,60,20,"HEIGHT",#PB_String_ReadOnly) ComboBoxGadget(#cheight,255,180,60,60,#PB_ComboBox_Editable) ComboBoxGadget(#ctop,115,180,60,60,#PB_ComboBox_Editable) StringGadget(#String_78,10,180,95,20,"Set Top CROP",#PB_String_ReadOnly) ComboBoxGadget(#cleft,95,205,60,60,#PB_ComboBox_Editable) StringGadget(#String_79,10,205,80,20,"Set Left CROP",#PB_String_ReadOnly) ComboBoxGadget(#cbottom,115,230,60,60,#PB_ComboBox_Editable) StringGadget(#String_80,10,230,95,20,"Set Bottom CROP",#PB_String_ReadOnly) ComboBoxGadget(#cright,165,205,60,60,#PB_ComboBox_Editable) StringGadget(#String_81,230,205,85,20,"Set Right CROP",#PB_String_ReadOnly) AddGadgetItem(#cwidth,-1,"AUTO") AddGadgetItem(#cwidth,-1,"Edit Me") AddGadgetItem(#cheight,-1,"AUTO") AddGadgetItem(#cheight,-1,"Edit Me") AddGadgetItem(#ctop,-1,"0") AddGadgetItem(#ctop,-1,"Edit Me") AddGadgetItem(#cleft,-1,"0") AddGadgetItem(#cleft,-1,"Edit Me") AddGadgetItem(#cbottom,-1,"0") AddGadgetItem(#cbottom,-1,"Edit Me") AddGadgetItem(#cright,-1,"0") AddGadgetItem(#cright,-1,"Edit Me") SetGadgetState(#ctop,0) SetGadgetState(#cleft,0) SetGadgetState(#cbottom,0) SetGadgetState(#cright,0) SetGadgetState(#cwidth,0) SetGadgetState(#cheight,0) ComboBoxGadget(#addt,115,260,60,60,#PB_ComboBox_Editable) StringGadget(#PB_Any,10,260,95,20,"Set TOP ADD",#PB_String_ReadOnly) ComboBoxGadget(#addl,95,285,60,60,#PB_ComboBox_Editable) StringGadget(#PB_Any,10,285,80,20,"Set Left ADD",#PB_String_ReadOnly) ComboBoxGadget(#addb,115,310,60,60,#PB_ComboBox_Editable) StringGadget(#PB_Any,10,310,95,20,"Set Bottom ADD",#PB_String_ReadOnly) ComboBoxGadget(#addr,165,285,60,60,#PB_ComboBox_Editable) StringGadget(#PB_Any,230,285,85,20,"Set Right ADD",#PB_String_ReadOnly) AddGadgetItem(#addt,-1,"0") AddGadgetItem(#addt,-1,"Edit Me") AddGadgetItem(#addr,-1,"0") AddGadgetItem(#addr,-1,"Edit Me") AddGadgetItem(#addl,-1,"0") AddGadgetItem(#addl,-1,"Edit Me") AddGadgetItem(#addb,-1,"0") AddGadgetItem(#addb,-1,"Edit Me") SetGadgetState(#addt,0) SetGadgetState(#addr,0) SetGadgetState(#addl,0) SetGadgetState(#addb,0) Frame3DGadget(#PB_Any,5,340,345,100,"Trim Parameters") CheckBoxGadget(#credit,10,360,100,20,"Enable Trim") StringGadget(#scredit,10,410,60,20,"0") StringGadget(#String_84,75,410,90,20,"Start Trim Frames",#PB_String_ReadOnly) StringGadget(#String_85,175,360,25,20,"0") StringGadget(#String_86,175,385,25,20,"0") StringGadget(#String_87,175,410,25,20,"0") StringGadget(#String_88,205,360,60,20,"Hour",#PB_String_ReadOnly) StringGadget(#String_89,205,385,60,20,"Minites",#PB_String_ReadOnly) StringGadget(#String_90,205,410,60,20,"Seconds",#PB_String_ReadOnly) ButtonGadget(#scalcf,115,360,50,20,"Calc!") OptionGadget(#f25,270,360,75,20,"25.000 Fps") OptionGadget(#f23,270,385,75,20,"23.976 Fps") OptionGadget(#f29,270,410,75,20,"29.970 Fps") SetGadgetState(#f25,1) CheckBoxGadget(#screditq,10,385,100,20,"Rise Quant") StringGadget(#scquant,115,385,50,20,"20") Frame3DGadget(#PB_Any,330,5,505,170,"BitRate Calculator") StringGadget(#PB_Any,340,25,60,20,"Hour",#PB_String_ReadOnly) : StringGadget(#hours,405,25,35,20,"") : StringGadget(#PB_Any,455,25,60,20,"Minutes",#PB_String_ReadOnly) : StringGadget(#minutes,520,25,35,20,"") : StringGadget(#PB_Any,570,25,60,20,"Seconds",#PB_String_ReadOnly) : StringGadget(#seconds,635,25,35,20,"") SetGadgetText(#hours,"0") : SetGadgetText(#minutes,"0") : SetGadgetText(#seconds,"0") StringGadget(#PB_Any,340,50,105,20,"Frame Rate",#PB_String_ReadOnly) : ComboBoxGadget(#framerate,460,50,95,80,#PB_ComboBox_Editable) AddGadgetItem(#framerate,-1,"25") AddGadgetItem(#framerate,-1,"23.976") AddGadgetItem(#framerate,-1,"29.970") SetGadgetState(#framerate,0) StringGadget(#PB_Any,570,50,60,20,"Frames",#PB_String_ReadOnly) : StringGadget(#frames,635,50,60,20,"") StringGadget(#PB_Any,340,75,120,20,"Bitrate Audio Track 1",#PB_String_ReadOnly) : ComboBoxGadget(#calcaudiobit1,465,75,50,160,#PB_ComboBox_Editable) : StringGadget(#PB_Any,520,75,90,20,"Track 1 Size MB",#PB_String_ReadOnly) : StringGadget(#SIzeaudio1,615,75,80,20,"0") : ButtonGadget(#bcalcaudiobit1,700,75,125,20,"Browse Audio Tracks 1") StringGadget(#PB_Any,340,100,120,20,"Bitrate Audio Track 2",#PB_String_ReadOnly) : ComboBoxGadget(#calcaudiobit2,465,100,50,160,#PB_ComboBox_Editable) : StringGadget(#PB_Any,520,100,90,20,"Track 2 Size MB ",#PB_String_ReadOnly) : StringGadget(#SIzeaudio2,615,100,80,20,"0") : ButtonGadget(#bcalcaudiobit2,700,100,125,20,"Browse Audio Tracks 2") OptionGadget(#bxvid,715,25,100,20,"XviD - 1K=1024") OptionGadget(#bx264,715,50,100,20,"DivX;) - 1K=1000") SetGadgetState(#bx264,1) AddGadgetItem(#calcaudiobit1,-1,"64") : AddGadgetItem(#calcaudiobit2,-1,"64") AddGadgetItem(#calcaudiobit1,-1,"80") : AddGadgetItem(#calcaudiobit2,-1,"80") AddGadgetItem(#calcaudiobit1,-1,"96") : AddGadgetItem(#calcaudiobit2,-1,"96") AddGadgetItem(#calcaudiobit1,-1,"112") : AddGadgetItem(#calcaudiobit2,-1,"112") AddGadgetItem(#calcaudiobit1,-1,"128") : AddGadgetItem(#calcaudiobit2,-1,"128") AddGadgetItem(#calcaudiobit1,-1,"144") : AddGadgetItem(#calcaudiobit2,-1,"144") AddGadgetItem(#calcaudiobit1,-1,"160") : AddGadgetItem(#calcaudiobit2,-1,"160") AddGadgetItem(#calcaudiobit1,-1,"192") : AddGadgetItem(#calcaudiobit2,-1,"192") SetGadgetState(#calcaudiobit1,3) : SetGadgetState(#calcaudiobit2,3) : StringGadget(#PB_Any,340,125,105,20,"Media Size",#PB_String_ReadOnly) : ComboBoxGadget(#SIzecd,450,125,95,160,#PB_ComboBox_Editable) : StringGadget(#PB_Any,550,125,60,20,"# of Media",#PB_String_ReadOnly) : StringGadget(#numcd,615,125,60,20,"1") : StringGadget(#PB_Any,685,125,60,20,"MB Total",#PB_String_ReadOnly) : StringGadget(#totalsize,750,125,70,20,"",#PB_String_ReadOnly) GadgetToolTip(#numcd,"Number of Media") AddGadgetItem(#SIzecd,-1,"1/4 CD") AddGadgetItem(#SIzecd,-1,"1/2 CD") AddGadgetItem(#SIzecd,-1,"1 CD") AddGadgetItem(#SIzecd,-1,"2 CD") AddGadgetItem(#SIzecd,-1,"3 CD") AddGadgetItem(#SIzecd,-1,"1 DVD-R") AddGadgetItem(#SIzecd,-1,"1/3 DVD-R") AddGadgetItem(#SIzecd,-1,"1/4 DVD-R") AddGadgetItem(#SIzecd,-1,"1/5 DVD-R") AddGadgetItem(#SIzecd,-1,"1/6 DVD-R") SetGadgetState(#SIzecd,2) GadgetToolTip(#SIzecd,"Choose preset or write your custom dimension in MB, es. 200 for 200MB") StringGadget(#PB_Any,340,150,335,20,"Average Video Bitrate based on Movie Lenght and Audio Size",#PB_String_ReadOnly) : StringGadget(#calcbit,685,150,60,20,"",#PB_String_ReadOnly) : ButtonGadget(#bcalcbit,750,150,75,20,"Calculate!") Frame3DGadget(#PB_Any,330,175,505,100,"Audio Settings") StringGadget(#PB_Any,340,192,90,20,"AAC Encoder",#PB_String_ReadOnly) ComboBoxGadget(#aacengine,435,192,100,60) AddGadgetItem(#aacengine,-1,"Nero Digital") AddGadgetItem(#aacengine,-1,"WinAmp - CT") SetGadgetState(#aacengine,0) StringGadget(#PB_Any,540,192,40,20,"Format",#PB_String_ReadOnly) ComboBoxGadget(#aacfor,585,192,60,100) AddGadgetItem(#aacfor,-1,"AUTO") AddGadgetItem(#aacfor,-1,"LC") AddGadgetItem(#aacfor,-1,"HE") AddGadgetItem(#aacfor,-1,"Hev2") SetGadgetState(#aacfor,0) ComboBoxGadget(#aacpass,770,192,50,120) ;AddGadgetItem(#aacpass,-1,"1") ;AddGadgetItem(#aacpass,-1,"2") ;SetGadgetState(#aacpass,0) StringGadget(#PB_Any,340,217,90,20,"AAC Enc Mode",#PB_String_ReadOnly) ComboBoxGadget(#aacencmode,435,217,60,100) AddGadgetItem(#aacencmode,-1,"ABR") AddGadgetItem(#aacencmode,-1,"CBR") AddGadgetItem(#aacencmode,-1,"Quality") SetGadgetState(#aacencmode,0) StringGadget(#PB_Any,500,217,80,20,"MP3 Settings",#PB_String_ReadOnly) ComboBoxGadget(#mp3cbr,585,217,60,100) AddGadgetItem(#mp3cbr,-1,"ABR") AddGadgetItem(#mp3cbr,-1,"CBR") AddGadgetItem(#mp3cbr,-1,"-V") SetGadgetState(#mp3cbr,0) CheckBoxGadget(#normalize,665,217,100,20,"Normalize Audio") SetGadgetState(#Normalize,1) ;StringGadget(#PB_Any,650,217,50,20,"Ch. 1° - 2° audio track",#PB_String_ReadOnly) ComboBoxGadget(#aacch1,650,192,85,200) AddGadgetItem(#aacch1,-1,"Original") AddGadgetItem(#aacch1,-1,"Stereo") AddGadgetItem(#aacch1,-1,"DLP") AddGadgetItem(#aacch1,-1,"DLP II") AddGadgetItem(#aacch1,-1,"Mono") ;AddGadgetItem(#aacch1,-1,"2to5.1 SuperEQ") ;AddGadgetItem(#aacch1,-1,"2to5.1 Sox") ;AddGadgetItem(#aacch1,-1,"2to5.1 Center ch. dialog") SetGadgetState(#aacch1,1) ComboBoxGadget(#aacch2,740,192,85,200) AddGadgetItem(#aacch2,-1,"Original") AddGadgetItem(#aacch2,-1,"Stereo") AddGadgetItem(#aacch2,-1,"DLP") AddGadgetItem(#aacch2,-1,"DLP II") AddGadgetItem(#aacch2,-1,"Mono") ;AddGadgetItem(#aacch2,-1,"2to5.1 SuperEQ") ;AddGadgetItem(#aacch2,-1,"2to5.1 Sox") ;AddGadgetItem(#aacch2,-1,"2to5.1 Center ch. dialog") SetGadgetState(#aacch2,1) StringGadget(#PB_Any,340,242,90,20,"Frequency",#PB_String_ReadOnly) ComboBoxGadget(#freq48,435,242,60,100,#PB_ComboBox_Editable) AddGadgetItem(#freq48,-1,"AUTO") AddGadgetItem(#freq48,-1,"48000") AddGadgetItem(#freq48,-1,"44100") AddGadgetItem(#freq48,-1,"EditME") SetGadgetState(#freq48,0) StringGadget(#PB_Any,500,242,45,20,"Tempo",#PB_String_ReadOnly) ComboBoxGadget(#tempo,550,242,60,100,#PB_ComboBox_Editable) AddGadgetItem(#tempo,-1,"NONE") AddGadgetItem(#tempo,-1,"EditMe") SetGadgetState(#tempo,0) StringGadget(#PB_Any,615,242,45,20,"Pitch",#PB_String_ReadOnly) ComboBoxGadget(#pitch,665,242,60,100,#PB_ComboBox_Editable) AddGadgetItem(#pitch,-1,"NONE") AddGadgetItem(#pitch,-1,"EditMe") SetGadgetState(#pitch,0) StringGadget(#freeau,730,242,90,20,"") Frame3DGadget(#PB_Any,330,265,505,70,"AutoSize Parameters") StringGadget(#PB_Any,340,285,125,20,"XviD Compression Test",#PB_String_ReadOnly) ;StringGadget(#xvidqbit,470,285,65,20,"3",#PB_String_Numeric) SpinGadget(#xvidqbit,470,285,45,20,10,300) SetGadgetState(#xvidqbit,25) : SetGadgetText(#xvidqbit,"2.5") StringGadget(#PB_Any,340,310,125,20,"X264 Compression Test",#PB_String_ReadOnly) ComboBoxGadget(#x264cqt,470,310,65,100) AddGadgetItem(#x264cqt,-1,"QP") AddGadgetItem(#x264cqt,-1,"CRF") AddGadgetItem(#x264cqt,-1,"BitRate") SetGadgetState(#x264cqt,1) SpinGadget(#x264dqbit,540,310,35,20,1,9999) SetGadgetState(#x264dqbit,18) : SetGadgetText(#x264dqbit,"18") Frame3DGadget(#PB_Any,360,340,140,100,"Rip DVD with") OptionGadget(#wripd,370,365,110,20,"DVDDecrypter") OptionGadget(#wripf,370,390,110,20,"DVDFab Decrypter") SetGadgetState(#wripd,1) SetGadgetState(#wripf,0) Frame3DGadget(#PB_Any,510,340,325,100,"Varius") StringGadget(#PB_Any,520,365,80,20,"Thread Priority",#PB_String_ReadOnly) ComboBoxGadget(#prio,605,365,80,120) AddGadgetItem(#prio,-1,"Realtime") AddGadgetItem(#prio,-1,"High") AddGadgetItem(#prio,-1,"Normal") AddGadgetItem(#prio,-1,"Idle") SetGadgetState(#prio,3) CheckBoxGadget(#compcheck,690,365,135,20,"Only Compression Test") StringGadget(#PB_Any,520,390,60,20,"Min Res",#PB_String_ReadOnly) ComboBoxGadget(#minres,585,390,50,300,#PB_ComboBox_Editable) AddGadgetItem(#minres,-1,"720") AddGadgetItem(#minres,-1,"704") AddGadgetItem(#minres,-1,"688") AddGadgetItem(#minres,-1,"672") AddGadgetItem(#minres,-1,"656") AddGadgetItem(#minres,-1,"640") AddGadgetItem(#minres,-1,"624") AddGadgetItem(#minres,-1,"608") AddGadgetItem(#minres,-1,"592") AddGadgetItem(#minres,-1,"576") AddGadgetItem(#minres,-1,"560") AddGadgetItem(#minres,-1,"544") AddGadgetItem(#minres,-1,"528") AddGadgetItem(#minres,-1,"...") AddGadgetItem(#minres,-1,"128") SetGadgetState(#minres,14) StringGadget(#PB_Any,645,390,60,20,"Max Res",#PB_String_ReadOnly) ComboBoxGadget(#maxres,710,390,50,300,#PB_ComboBox_Editable) AddGadgetItem(#maxres,-1,"720") AddGadgetItem(#maxres,-1,"704") AddGadgetItem(#maxres,-1,"688") AddGadgetItem(#maxres,-1,"672") AddGadgetItem(#maxres,-1,"656") AddGadgetItem(#maxres,-1,"640") AddGadgetItem(#maxres,-1,"624") AddGadgetItem(#maxres,-1,"608") AddGadgetItem(#maxres,-1,"592") AddGadgetItem(#maxres,-1,"576") AddGadgetItem(#maxres,-1,"560") AddGadgetItem(#maxres,-1,"544") AddGadgetItem(#maxres,-1,"528") AddGadgetItem(#maxres,-1,"...") AddGadgetItem(#maxres,-1,"128") SetGadgetState(#maxres,0) StringGadget(#PB_Any,520,415,105,20,"Comp. Test WIDTH",#PB_String_ReadOnly) ComboBoxGadget(#widthctest,630,415,60,60,#PB_ComboBox_Editable) AddGadgetItem(#widthctest,-1,"AUTO") AddGadgetItem(#widthctest,-1,"Edit Me") SetGadgetState(#widthctest,0) StringGadget(#PB_Any,695,415,20,20,"%",#PB_String_ReadOnly) ComboBoxGadget(#compper,720,415,40,60,#PB_ComboBox_Editable) AddGadgetItem(#compper,-1,"5") AddGadgetItem(#compper,-1,"Edit Me") SetGadgetState(#compper,0) StringGadget(#PB_Any,765,415,35,20,"TRS",#PB_String_ReadOnly) StringGadget(#compthre,805,415,25,20,"101",#PB_String_Numeric) AddGadgetItem(0,-1,"AviSynth Extra") Frame3DGadget(#PB_Any,3,0,338,212,"") Frame3DGadget(#PB_Any,340,0,495,212,"") Frame3DGadget(#PB_Any,3,204,338,215,"") Frame3DGadget(#PB_Any,340,204,495,215,"") StringGadget(#PB_Any,10,10,300,20,"Browse for Plugin DLLs. Will be loaded in AviSynth Script",#PB_String_ReadOnly) ButtonGadget(#writeavs,315,10,20,20,"Wr") StringGadget(#avs1,10,35,300,20,"") ButtonGadget(#bavs1,315,35,20,20,"...") StringGadget(#avs2,10,60,300,20,"") ButtonGadget(#bavs2,315,60,20,20,"...") StringGadget(#avs3,10,85,300,20,"") ButtonGadget(#bavs3,315,85,20,20,"...") StringGadget(#avs4,10,110,300,20,"") ButtonGadget(#bavs4,315,110,20,20,"...") StringGadget(#avs5,10,135,300,20,"") ButtonGadget(#bavs5,315,135,20,20,"...") StringGadget(#avs6,10,160,300,20,"") ButtonGadget(#bavs6,315,160,20,20,"...") StringGadget(#avs7,10,185,300,20,"") ButtonGadget(#bavs7,315,185,20,20,"...") StringGadget(#PB_Any,10,215,300,20,"Browse for AVSI Scripts. Will be Imported in AviSynth Script",#PB_String_ReadOnly) StringGadget(#iavs1,10,240,300,20,"") ButtonGadget(#biavs1,315,240,20,20,"...") StringGadget(#iavs2,10,265,300,20,"") ButtonGadget(#biavs2,315,265,20,20,"...") StringGadget(#iavs3,10,290,300,20,"") ButtonGadget(#biavs3,315,290,20,20,"...") StringGadget(#iavs4,10,315,300,20,"") ButtonGadget(#biavs4,315,315,20,20,"...") StringGadget(#iavs5,10,340,300,20,"") ButtonGadget(#biavs5,315,340,20,20,"...") StringGadget(#iavs6,10,365,300,20,"") ButtonGadget(#biavs6,315,365,20,20,"...") StringGadget(#iavs7,10,390,300,20,"") ButtonGadget(#biavs7,315,390,20,20,"...") StringGadget(#String_91,350,10,480,20,"Write your script BEFORE resize applying. SOURCE MUST BE SPECIFIED",#PB_String_ReadOnly) StringGadget(#bres1,350,35,480,20,"") StringGadget(#bres2,350,60,480,20,"") StringGadget(#bres3,350,85,480,20,"") StringGadget(#bres4,350,110,480,20,"") StringGadget(#bres5,350,135,480,20,"") StringGadget(#bres6,350,160,480,20,"") StringGadget(#bres7,350,185,480,20,"") StringGadget(#String_92,350,215,480,20,"Write your script AFTER resize applying. SOURCE MUST NOT BE SPECIFIED",#PB_String_ReadOnly) StringGadget(#pres1,350,240,480,20,"") StringGadget(#pres2,350,265,480,20,"") StringGadget(#pres3,350,290,480,20,"") StringGadget(#pres4,350,315,480,20,"") StringGadget(#pres5,350,340,480,20,"") StringGadget(#pres6,350,365,480,20,"") StringGadget(#pres7,350,390,480,20,"") AddGadgetItem(0,-1,"X264 Command Line") ButtonGadget(#x264wcmd,675,10,60,20,"WriteCMD") StringGadget(#PB_Any,10,10,40,20,"Mode",#PB_String_ReadOnly) : ComboBoxGadget(#mode,55,10,135,200) : CheckBoxGadget(#turbo,205,10,50,20,"Turbo") AddGadgetItem(#mode,-1,"ABR") AddGadgetItem(#mode,-1,"Const. Quantizer") AddGadgetItem(#mode,-1,"2 Pass") AddGadgetItem(#mode,-1,"Quality (crf)") SetGadgetState(#mode,2) StringGadget(#PB_Any,10,35,140,20,"Bitrate/Quantitizer",#PB_String_ReadOnly) : ComboBoxGadget(#bitrate,155,35,85,60,#PB_ComboBox_Editable) : CheckBoxGadget(#lossless,255,35,80,20,"Lossless") AddGadgetItem(#bitrate,-1,"AUTO") AddGadgetItem(#bitrate,-1,"Edit Me") SetGadgetState(#bitrate,0) StringGadget(#PB_Any,10,60,100,20,"Keyframe Interval",#PB_String_ReadOnly) : StringGadget(#keyframeinterval,115,60,50,20,"") SetGadgetText(#keyframeinterval,"250") StringGadget(#PB_Any,10,85,150,20,"Number of Reference Frame",#PB_String_ReadOnly) : SpinGadget(#numberofreferenceframes,165,85,45,20,1,16) : CheckBoxGadget(#mixed,215,85,60,20,"Mixed") StringGadget(#PB_Any,10,110,120,20,"Number of B frames",#PB_String_ReadOnly) : SpinGadget(#numberofbframes,135,110,45,20,0,16) : CheckBoxGadget(#pyramid,185,110,55,20,"Pyramid") : CheckBoxGadget(#adaptive,255,110,60,20,"Adaptive") CheckBoxGadget(#deblockfilter,10,135,85,20,"Deblock Filter") : CheckBoxGadget(#cabac,110,135,60,20,"CABAC") StringGadget(#PB_Any,10,160,95,20,"Alpha Deblocking",#PB_String_ReadOnly) : SpinGadget(#alphadeblocking,110,160,45,20,0,12) : StringGadget(#PB_Any,160,160,95,20,"Beta Deblocking",#PB_String_ReadOnly) : SpinGadget(#betadeblocking,260,160,45,20,0,12) StringGadget(#PB_Any,10,185,115,20,"Subpixel Refiniment",#PB_String_ReadOnly) : ComboBoxGadget(#SUBpixrefiniment,140,185,135,200) AddGadgetItem(#SUBpixrefiniment,-1,"Qpel 1 Iteration") AddGadgetItem(#SUBpixrefiniment,-1,"Qpel 2 Iteration") AddGadgetItem(#SUBpixrefiniment,-1,"Hpel on MB then Qpel") AddGadgetItem(#SUBpixrefiniment,-1,"Always Qpel") AddGadgetItem(#SUBpixrefiniment,-1,"Multi Qpel") AddGadgetItem(#SUBpixrefiniment,-1,"RDO (Slow)") AddGadgetItem(#SUBpixrefiniment,-1,"RDO Level 2 (Slower)") SetGadgetState(#SUBpixrefiniment,5) CheckBoxGadget(#weightedprediction,10,210,115,20,"Weighted Prediction") : CheckBoxGadget(#chromame,140,210,100,20,"Chroma ME") StringGadget(#PB_Any,10,235,115,20,"Macroblock Options",#PB_String_ReadOnly) : ComboBoxGadget(#macroblockoption,140,235,80,80) AddGadgetItem(#macroblockoption,-1,"All") AddGadgetItem(#macroblockoption,-1,"None") AddGadgetItem(#macroblockoption,-1,"Custom") SetGadgetState(#macroblockoption,0) CheckBoxGadget(#i4x4,10,260,60,20,"I4x4") : CheckBoxGadget(#p4x4,10,285,60,20,"P4x4") : StringGadget(#PB_Any,140,260,80,20,"AVC Profiles",#PB_String_ReadOnly) CheckBoxGadget(#p8x8,10,310,60,20,"P8x8") : ComboBoxGadget(#avcprofiles,140,285,100,200) CheckBoxGadget(#b8x8,10,335,60,20,"B8x8") : CheckBoxGadget(#i8x8,10,360,115,20,"I8x8 High Profile") : StringGadget(#PB_Any,250,260,80,20,"AVC Level",#PB_String_ReadOnly) CheckBoxGadget(#adaptivedct,10,385,100,20,"Adaptive DCT") : ComboBoxGadget(#avclevel,250,285,100,250) StringGadget(#PB_Any,140,315,220,20,"Append custom X264 options",#PB_String_ReadOnly) StringGadget(#customx264,140,340,220,20,"") CheckBoxGadget(#rdoforbframes,10,410,110,20,"RDO for B frames") AddGadgetItem(#avcprofiles,-1,"Baseline Profile") AddGadgetItem(#avcprofiles,-1,"Main Profile") AddGadgetItem(#avcprofiles,-1,"High Profile") SetGadgetState(#avcprofiles,1) AddGadgetItem(#avclevel,-1,"Level 1") AddGadgetItem(#avclevel,-1,"Level 1.1") AddGadgetItem(#avclevel,-1,"Level 1.2") AddGadgetItem(#avclevel,-1,"Level 1.3") AddGadgetItem(#avclevel,-1,"Level 2") AddGadgetItem(#avclevel,-1,"Level 2.1") AddGadgetItem(#avclevel,-1,"Level 2.2") AddGadgetItem(#avclevel,-1,"Level 3") AddGadgetItem(#avclevel,-1,"Level 3.1") AddGadgetItem(#avclevel,-1,"Level 3.2") AddGadgetItem(#avclevel,-1,"Level 4") AddGadgetItem(#avclevel,-1,"Level 4.1") AddGadgetItem(#avclevel,-1,"Level 4.2") AddGadgetItem(#avclevel,-1,"Level 5") AddGadgetItem(#avclevel,-1,"Level 5.1") AddGadgetItem(#avclevel,-1,"Unrestricted") SetGadgetState(#avclevel,15) StringGadget(#PB_Any,380,10,120,20,"Encoding Profiles",#PB_String_ReadOnly|#PB_Text_Center) : ComboBoxGadget(#profiles,505,10,155,350) StringGadget(#PB_Any,380,35,105,20,"Quantitizers",#PB_String_ReadOnly|#PB_Text_Center) StringGadget(#PB_Any,380,60,105,20,"Minimum Quantitizer",#PB_String_ReadOnly) : SpinGadget(#minimumquantitizer,490,60,45,20,1,51) StringGadget(#PB_Any,380,85,105,20,"Maximum Quantitizer",#PB_String_ReadOnly) : SpinGadget(#maximumquantitizer,490,85,45,20,1,51) StringGadget(#PB_Any,380,110,140,20,"Maximum Quantitizer Delta",#PB_String_ReadOnly) : SpinGadget(#maximumquantitizerdelta,525,110,45,20,1,51) StringGadget(#PB_Any,380,135,105,20,"Credits Quantitizer",#PB_String_ReadOnly) : SpinGadget(#CReditsquantitizer,490,135,45,20,1,51) StringGadget(#PB_Any,380,160,190,20,"Factor between I and P frame Quants",#PB_String_ReadOnly) : SpinGadget(#factoripq,575,160,45,20,10,100) StringGadget(#PB_Any,380,185,190,20,"Factor between P and B frame Quants",#PB_String_ReadOnly) : SpinGadget(#factorpbq,575,185,45,20,10,100) StringGadget(#PB_Any,380,210,105,20,"Chroma QP offset",#PB_String_ReadOnly) : SpinGadget(#chromaqpoffset,490,210,45,20,0,24) StringGadget(#PB_Any,380,235,75,20,"--no-fast-pskip",#PB_String_ReadOnly) ComboBoxGadget(#nofastpskip,460,235,50,60) AddGadgetItem(#nofastpskip,-1,"YES") AddGadgetItem(#nofastpskip,-1,"NO") SetGadgetState(#nofastpskip,1) StringGadget(#PB_Any,520,235,45,20,"--bime",#PB_String_ReadOnly) ComboBoxGadget(#bime,570,235,50,60) AddGadgetItem(#bime,-1,"YES") AddGadgetItem(#bime,-1,"NO") SetGadgetState(#bime,1) StringGadget(#PB_Any,380,260,105,20,"VBV Buffer Size",#PB_String_ReadOnly) : StringGadget(#vbvbuffersize,490,260,65,20,"") StringGadget(#PB_Any,380,285,105,20,"VBV Maximum Bitrate",#PB_String_ReadOnly) : StringGadget(#vbvmaximumbitrate,490,285,65,20,"") StringGadget(#PB_Any,380,310,105,20,"VBV Initial Buffer",#PB_String_ReadOnly) : SpinGadget(#vbvinitialbuffer,490,310,45,20,0,10) StringGadget(#PB_Any,380,335,105,20,"Bitrate Variance",#PB_String_ReadOnly) : SpinGadget(#bitratevariance,490,335,45,20,10,10000) StringGadget(#PB_Any,380,360,130,20,"Quantitizer Compression",#PB_String_ReadOnly) : SpinGadget(#quantitizercompression,515,360,45,20,0,10) StringGadget(#PB_Any,380,385,180,20,"Temp. Blur of est. Frame Complexity",#PB_String_ReadOnly) : SpinGadget(#tempblurfc,565,385,45,20,0,999) StringGadget(#PB_Any,380,410,180,20,"Temp. Blur of Quant after CC",#PB_String_ReadOnly) : SpinGadget(#tempblurqcc,565,410,45,20,0,995) StringGadget(#PB_Any,640,35,105,20,"Other Options",#PB_String_ReadOnly|#PB_Text_Center) StringGadget(#PB_Any,640,60,105,20,"SCD Sensitivity",#PB_String_ReadOnly) : SpinGadget(#scdsensitivity,750,60,45,20,99,200) StringGadget(#PB_Any,640,85,105,20,"B Frames Bias",#PB_String_ReadOnly) : SpinGadget(#bframesbias,750,85,45,20,0,200) StringGadget(#PB_Any,640,110,105,20,"B Frame Mode",#PB_String_ReadOnly) : ComboBoxGadget(#bframemode,750,110,80,80) AddGadgetItem(#bframemode,-1,"None") AddGadgetItem(#bframemode,-1,"Spatial") AddGadgetItem(#bframemode,-1,"Temporal") AddGadgetItem(#bframemode,-1,"Auto") SetGadgetState(#bframemode,3) StringGadget(#PB_Any,640,135,105,20,"Me algo",#PB_String_ReadOnly) : ComboBoxGadget(#mealgo,750,135,80,80) AddGadgetItem(#mealgo,-1,"Diamond") AddGadgetItem(#mealgo,-1,"Hexagon") AddGadgetItem(#mealgo,-1,"Multi Hex") AddGadgetItem(#mealgo,-1,"Exaustive") SetGadgetState(#mealgo,1) StringGadget(#PB_Any,640,160,105,20,"Me Range",#PB_String_ReadOnly) : SpinGadget(#merange,750,160,45,20,4,64) StringGadget(#PB_Any,640,185,105,20,"Nb. Threads",#PB_String_ReadOnly) : SpinGadget(#nbthreads,750,185,45,20,1,4) StringGadget(#PB_Any,640,210,105,20,"Min GOP size",#PB_String_ReadOnly) : StringGadget(#mingopsize,750,210,40,20,"25") StringGadget(#PB_Any,640,235,40,20,"SAR",#PB_String_ReadOnly) : ComboBoxGadget(#sarw,695,235,60,120,#PB_ComboBox_Editable) : StringGadget(#PB_Any,760,235,10,20,"x",#PB_String_ReadOnly|#PB_String_BorderLess) : ComboBoxGadget(#sarh,770,235,60,120,#PB_ComboBox_Editable) AddGadgetItem(#sarw,-1,"AUTO") : AddGadgetItem(#sarh,-1,"AUTO") AddGadgetItem(#sarw,-1,"1") : AddGadgetItem(#sarh,-1,"1") AddGadgetItem(#sarw,-1,"16") : AddGadgetItem(#sarw,-1,"64") : AddGadgetItem(#sarw,-1,"8") : AddGadgetItem(#sarw,-1,"32") AddGadgetItem(#sarh,-1,"15") : AddGadgetItem(#sarh,-1,"46") : AddGadgetItem(#sarh,-1,"9") : AddGadgetItem(#sarh,-1,"27") SetGadgetState(#sarw,1) : SetGadgetState(#sarh,1) : ;pAL 4:3 DAR = 16:15 PAL 16:9 DAR = 64:45 ;NTSC 4:3 DAR = 8:9 NTSC 16:9 DAR = 32:27 StringGadget(#PB_Any,640,260,105,20,"Trellis",#PB_String_ReadOnly) : ComboBoxGadget(#trellis,750,260,80,80) AddGadgetItem(#trellis,-1,"0 - None") AddGadgetItem(#trellis,-1,"1 - Final MB") AddGadgetItem(#trellis,-1,"2 - Always") SetGadgetState(#trellis,1) StringGadget(#PB_Any,640,285,115,20,"DCT Noise Reduction",#PB_String_ReadOnly) StringGadget(#NoiseReduction,760,285,45,20,"0") StringGadget(#PB_Any,640,310,115,20,"Adapt.Quant Strenght ",#PB_String_ReadOnly) : SpinGadget(#strength,760,310,45,20,0,20) StringGadget(#PB_Any,640,335,115,20,"Adapt.Quant Sensitivity",#PB_String_ReadOnly) : SpinGadget(#sensitivity,760,335,45,20,10,220) StringGadget(#PB_Any,640,360,115,20,"--no-dct-decimate",#PB_String_ReadOnly) : ComboBoxGadget(#nodctdecimate,760,360,45,60) AddGadgetItem(#nodctdecimate,-1,"YES") AddGadgetItem(#nodctdecimate,-1,"NO") SetGadgetState(#nodctdecimate,1) StringGadget(#matrixfile,640,410,170,20,"Quantitizer Matrix file") : ButtonGadget(#bquantizermatrixfile,815,410,20,20,"...") AddGadgetItem(0,-1,"XviD Command Line") StringGadget(#PB_Any,10,10,40,20,"Mode",#PB_String_ReadOnly) CheckBoxGadget(#xturbo,155,10,50,20,"Turbo") ButtonGadget(#xvidcmdw,245,10,60,20,"WriteCMD") StringGadget(#PB_Any,650,10,65,20,"Xvid Preset",#PB_String_ReadOnly) ComboBoxGadget(#xpreset,550,35,280,200) ComboBoxGadget(#xpasses,55,10,95,200) AddGadgetItem(#xpasses,-1,"Single Pass") AddGadgetItem(#xpasses,-1,"2 Pass") AddGadgetItem(#xpasses,-1,"Quality") SetGadgetState(#xpasses,1) StringGadget(#PB_Any,10,35,140,20,"Bitrate/Quantitizer",#PB_String_ReadOnly) ComboBoxGadget(#xbitrate,155,35,70,60,#PB_ComboBox_Editable) AddGadgetItem(#xbitrate,-1,"AUTO") AddGadgetItem(#xbitrate,-1,"Edit Me") SetGadgetState(#xbitrate,0) StringGadget(#PB_Any,10,60,100,20,"Keyframe Interval",#PB_String_ReadOnly) StringGadget(#xmax_key_interval,115,60,50,20,"") SetGadgetText(#xmax_key_interval,"250") StringGadget(#PB_Any,10,85,140,20,"Number of B Frames",#PB_String_ReadOnly) ComboBoxGadget(#xmax_bframes,155,85,45,200,#PB_ComboBox_Editable) AddGadgetItem(#xmax_bframes,-1,"0") AddGadgetItem(#xmax_bframes,-1,"1") AddGadgetItem(#xmax_bframes,-1,"2") AddGadgetItem(#xmax_bframes,-1,"3") AddGadgetItem(#xmax_bframes,-1,"4") AddGadgetItem(#xmax_bframes,-1,"Edit Me") SetGadgetState(#xmax_bframes,2) StringGadget(#PB_Any,10,110,140,20,"B Frame Quantitizer Ratio",#PB_String_ReadOnly) ComboBoxGadget(#xbquant_ratio,155,110,45,200,#PB_ComboBox_Editable) AddGadgetItem(#xbquant_ratio,-1,"100") AddGadgetItem(#xbquant_ratio,-1,"150") AddGadgetItem(#xbquant_ratio,-1,"200") AddGadgetItem(#xbquant_ratio,-1,"Edit Me") SetGadgetState(#xbquant_ratio,1) StringGadget(#PB_Any,10,135,140,20,"B Frame Quantitizer Offset",#PB_String_ReadOnly) ComboBoxGadget(#xbquant_offset,155,135,45,200,#PB_ComboBox_Editable) AddGadgetItem(#xbquant_offset,-1,"50") AddGadgetItem(#xbquant_offset,-1,"75") AddGadgetItem(#xbquant_offset,-1,"100") AddGadgetItem(#xbquant_offset,-1,"125") AddGadgetItem(#xbquant_offset,-1,"150") AddGadgetItem(#xbquant_offset,-1,"Edit Me") SetGadgetState(#xbquant_offset,2) CheckBoxGadget(#xnoasm,10,160,20,20,"Disable Assembler Code") StringGadget(#PB_Any,10,160,140,20,"VHQ Mode",#PB_String_ReadOnly) ComboBoxGadget(#xvhqmode,155,160,45,200) AddGadgetItem(#xvhqmode,-1,"0") AddGadgetItem(#xvhqmode,-1,"1") AddGadgetItem(#xvhqmode,-1,"2") AddGadgetItem(#xvhqmode,-1,"3") AddGadgetItem(#xvhqmode,-1,"4") SetGadgetState(#xvhqmode,1) StringGadget(#PB_Any,10,185,140,20,"Quality",#PB_String_ReadOnly) ComboBoxGadget(#xquality,155,185,45,200) AddGadgetItem(#xquality,-1,"0") AddGadgetItem(#xquality,-1,"1") AddGadgetItem(#xquality,-1,"2") AddGadgetItem(#xquality,-1,"3") AddGadgetItem(#xquality,-1,"4") AddGadgetItem(#xquality,-1,"5") AddGadgetItem(#xquality,-1,"6") SetGadgetState(#xquality,6) CheckBoxGadget(#xbvhq,10,210,140,20,"VHQ for B Frames") CheckBoxGadget(#xqpel,10,235,140,20,"QPel Me") CheckBoxGadget(#xgmc,10,260,140,20,"GMC") CheckBoxGadget(#xinterlaced,10,285,140,20,"Intelaced Encoding") CheckBoxGadget(#xpacked,10,310,140,20,"NO Packed B Frames") SetGadgetState(#xpacked,1) CheckBoxGadget(#xclosed_gop,160,210,140,20,"Disable Closed GOP") SetGadgetState(#xclosed_gop,1) CheckBoxGadget(#xgrey,160,235,140,20,"Grey Encoding") CheckBoxGadget(#xDebug,160,285,140,20,"Debug") CheckBoxGadget(#xvop_debug,160,310,140,20,"Xvop Debug") CheckBoxGadget(#xstats,160,260,140,20,"Stats Encoded frames") CheckBoxGadget(#xlumimasking,10,335,140,20,"LumiMasking") CheckBoxGadget(#xnochromame,160,335,140,20,"Disable Chroma Motion") CheckBoxGadget(#xnotrellis,10,360,140,20,"Disable Trellis") StringGadget(#xcustom,160,360,320,20,"Append custom command") CheckBoxGadget(#full1pass,10,385,180,20,"Full Quality 1' pass") StringGadget(#PB_Any,350,10,100,20,"Min I Quant (1/31)",#PB_String_ReadOnly) ComboBoxGadget(#ximin,455,10,60,60,#PB_ComboBox_Editable) AddGadgetItem(#ximin,-1,"2") AddGadgetItem(#ximin,-1,"Edit Me") SetGadgetState(#ximin,0) StringGadget(#PB_Any,350,35,100,20,"Max I Quant (1/31)",#PB_String_ReadOnly) ComboBoxGadget(#ximax,455,35,60,60,#PB_ComboBox_Editable) AddGadgetItem(#ximax,-1,"31") AddGadgetItem(#ximax,-1,"Edit Me") SetGadgetState(#ximax,0) StringGadget(#PB_Any,350,60,100,20,"Min B Quant (1/31)",#PB_String_ReadOnly) ComboBoxGadget(#xbmin,455,60,60,60,#PB_ComboBox_Editable) AddGadgetItem(#xbmin,-1,"2") AddGadgetItem(#xbmin,-1,"Edit Me") SetGadgetState(#xbmin,0) StringGadget(#PB_Any,350,85,100,20,"Max B Quant (1/31)",#PB_String_ReadOnly) ComboBoxGadget(#xbmax,455,85,60,60,#PB_ComboBox_Editable) AddGadgetItem(#xbmax,-1,"31") AddGadgetItem(#xbmax,-1,"Edit Me") SetGadgetState(#xbmax,0) StringGadget(#PB_Any,350,110,100,20,"Min P Quant (1/31)",#PB_String_ReadOnly) ComboBoxGadget(#xpmin,455,110,60,60,#PB_ComboBox_Editable) AddGadgetItem(#xpmin,-1,"2") AddGadgetItem(#xpmin,-1,"Edit Me") SetGadgetState(#xpmin,0) StringGadget(#PB_Any,350,135,100,20,"Max P Quant (1/31)",#PB_String_ReadOnly) ComboBoxGadget(#xpmax,455,135,60,60,#PB_ComboBox_Editable) AddGadgetItem(#xpmax,-1,"31") AddGadgetItem(#xpmax,-1,"Edit Me") SetGadgetState(#xpmax,0) StringGadget(#PB_Any,350,160,100,20,"Frame Drop Ratio",#PB_String_ReadOnly) ComboBoxGadget(#xdrop,455,160,60,60,#PB_ComboBox_Editable) AddGadgetItem(#xdrop,-1,"0") AddGadgetItem(#xdrop,-1,"Edit Me") SetGadgetState(#xdrop,0) StringGadget(#PB_Any,350,185,100,20,"Pixel Aspect Ratio",#PB_String_ReadOnly) ComboBoxGadget(#xpar,455,185,80,120) AddGadgetItem(#xpar,-1,"1:1") AddGadgetItem(#xpar,-1,"4:3 PAL") AddGadgetItem(#xpar,-1,"4:3 NTSC") AddGadgetItem(#xpar,-1,"16:9 PAL") AddGadgetItem(#xpar,-1,"16:9 NTSC") SetGadgetState(#xpar,0) StringGadget(#PB_Any,400,220,100,20,"Single Pass Option",#PB_String_ReadOnly) StringGadget(#PB_Any,350,245,120,20,"Reaction Delay factor",#PB_String_ReadOnly) StringGadget(#xreaction,475,245,60,20,"16") StringGadget(#PB_Any,350,270,120,20,"Averaging Period",#PB_String_ReadOnly) StringGadget(#xaveraging,475,270,60,20,"100") StringGadget(#PB_Any,350,295,120,20,"Smoothing Buffer",#PB_String_ReadOnly) StringGadget(#xsmoother,475,295,60,20,"100") StringGadget(#PB_Any,350,320,120,20,"Progress",#PB_String_ReadOnly) StringGadget(#xprogress,475,320,60,20,"") StringGadget(#PB_Any,620,220,130,20,"Second Pass Option",#PB_String_ReadOnly) StringGadget(#PB_Any,550,245,80,20,"I frame boost",#PB_String_ReadOnly) StringGadget(#xkboost,635,245,40,20,"10") StringGadget(#PB_Any,550,270,80,20,"I frame reduction thres.",#PB_String_ReadOnly) StringGadget(#xkthresh,635,270,40,20,"1") StringGadget(#PB_Any,550,295,80,20,"I frame reduction amount",#PB_String_ReadOnly) StringGadget(#xkreduction,635,295,40,20,"20") StringGadget(#PB_Any,550,320,80,20,"Overflow control strength",#PB_String_ReadOnly) StringGadget(#xostrength,635,320,40,20,"5") StringGadget(#PB_Any,550,345,80,20,"Max overflow improvement",#PB_String_ReadOnly) StringGadget(#xoimprove,635,345,40,20,"5") StringGadget(#PB_Any,550,370,80,20,"Max overflow degradation",#PB_String_ReadOnly) StringGadget(#xodegrade,635,370,40,20,"5") StringGadget(#PB_Any,550,395,80,20,"High bitrate scenes degradation",#PB_String_ReadOnly) StringGadget(#xchigh,635,395,40,20,"0") StringGadget(#PB_Any,690,245,80,20,"Low bitrate scenes improvement",#PB_String_ReadOnly) StringGadget(#xclow,775,245,40,20,"0") StringGadget(#PB_Any,690,270,80,20,"Container frame overhead",#PB_String_ReadOnly) StringGadget(#xoverhead,775,270,40,20,"24") StringGadget(#PB_Any,690,295,80,20,"Use vbv buffer size",#PB_String_ReadOnly) StringGadget(#xvbvsize,775,295,40,20,"") StringGadget(#PB_Any,690,320,80,20,"VBV max bitrate",#PB_String_ReadOnly) StringGadget(#xvbvmax ,775,320,40,20,"") StringGadget(#PB_Any,690,345,80,20,"VBV peak bitrate over 1 second",#PB_String_ReadOnly) StringGadget(#xvbvpeak ,775,345,40,20,"") StringGadget(#PB_Any,10,410,70,20,"Quant Matrix",#PB_String_ReadOnly) StringGadget(#xqtype,85,410,400,20,"H263") ButtonGadget(#xqmatrix,495,410,20,20,"...") AddGadgetItem(0,-1,"Avs Optimizer") StringGadget(#PB_Any,10,10,80,20,"KSTD",#PB_String_ReadOnly) StringGadget(#kstd,95,10,60,20,"500",#PB_String_Numeric) StringGadget(#PB_Any,10,35,80,20,"MIN",#PB_String_ReadOnly) StringGadget(#MINn,95,35,60,20,"125",#PB_String_Numeric) StringGadget(#PB_Any,10,60,80,20,"SENS",#PB_String_ReadOnly) StringGadget(#sens,95,60,60,20,"50",#PB_String_Numeric) StringGadget(#PB_Any,10,215,820,20,"Set Resizes for Zones - From Sharp to Soft",#PB_String_ReadOnly|#PB_Text_Center) StringGadget(#PB_Any,10,240,100,20,"Max Sharpness",#PB_String_ReadOnly) : ComboBoxGadget(#resizezone1,125,240,705,200,#PB_ComboBox_Editable) StringGadget(#PB_Any,10,265,100,20,"Medium Sharpness",#PB_String_ReadOnly) : ComboBoxGadget(#resizezone2,125,265,705,200,#PB_ComboBox_Editable) StringGadget(#PB_Any,10,290,100,20,"Minimum Sharpness",#PB_String_ReadOnly) : ComboBoxGadget(#resizezone3,125,290,705,200,#PB_ComboBox_Editable) StringGadget(#PB_Any,10,315,100,20,"Medium",#PB_String_ReadOnly) : ComboBoxGadget(#resizezone4,125,315,705,200,#PB_ComboBox_Editable) StringGadget(#PB_Any,10,340,100,20,"Minimum Softness",#PB_String_ReadOnly) : ComboBoxGadget(#resizezone5,125,340,705,200,#PB_ComboBox_Editable) StringGadget(#PB_Any,10,365,100,20,"Medium Softness",#PB_String_ReadOnly) : ComboBoxGadget(#resizezone6,125,365,705,200,#PB_ComboBox_Editable) StringGadget(#PB_Any,10,390,100,20,"Max Softness",#PB_String_ReadOnly) : ComboBoxGadget(#resizezone7,125,390,705,200,#PB_ComboBox_Editable) StringGadget(#PB_Any,360,10,470,20,"Set Filter for Zones - From Sharp to Soft",#PB_String_ReadOnly|#PB_Text_Center) StringGadget(#PB_Any,360,35,140,20,"Max Sharpness",#PB_String_ReadOnly) : ComboBoxGadget(#filterzone1,505,35,325,400,#PB_ComboBox_Editable) StringGadget(#PB_Any,360,60,140,20,"Medium Sharpness",#PB_String_ReadOnly) : ComboBoxGadget(#filterzone2,505,60,325,400,#PB_ComboBox_Editable) StringGadget(#PB_Any,360,85,140,20,"Minimum Sharpness",#PB_String_ReadOnly) : ComboBoxGadget(#filterzone3,505,85,325,400,#PB_ComboBox_Editable) StringGadget(#PB_Any,360,110,140,20,"Medium",#PB_String_ReadOnly) : ComboBoxGadget(#filterzone4,505,110,325,400,#PB_ComboBox_Editable) StringGadget(#PB_Any,360,135,140,20,"Minimum Softness",#PB_String_ReadOnly) : ComboBoxGadget(#filterzone5,505,135,325,400,#PB_ComboBox_Editable) StringGadget(#PB_Any,360,160,140,20,"Medium Softness",#PB_String_ReadOnly) : ComboBoxGadget(#filterzone6,505,160,325,400,#PB_ComboBox_Editable) StringGadget(#PB_Any,360,185,140,20,"Max Softness",#PB_String_ReadOnly) : ComboBoxGadget(#filterzone7,505,185,325,400,#PB_ComboBox_Editable) AddGadgetItem(0,-1,"LAVC") StringGadget(#menttinput,10,20,420,20,"Click on INPUT for choosing FILE to ENCODE",#PB_String_ReadOnly) ButtonGadget(#menbinput,440,20,60,20,"Input") StringGadget(#menttoutput,10,60,420,20,dest.s,#PB_String_ReadOnly) ButtonGadget(#menboutput,440,60,60,20,"Output") ComboBoxGadget(#mencdvd,620,20,60,200) StringGadget(#menString_13,10,100,70,20,"Container",#PB_String_ReadOnly) ComboBoxGadget(#mencontainer,10,125,70,100) AddGadgetItem(#mencontainer,-1,"AVI") AddGadgetItem(#mencontainer,-1,"MP4") SetGadgetState(#mencontainer,0) StringGadget(#menString_17,90,100,70,20,"Size MB",#PB_String_ReadOnly) ComboBoxGadget(#mendimb,90,125,70,200,#PB_ComboBox_Editable) AddGadgetItem(#mendimb,-1,"1/4 CD") AddGadgetItem(#mendimb,-1,"1/2 CD") AddGadgetItem(#mendimb,-1,"1 CD") AddGadgetItem(#mendimb,-1,"2 CD") AddGadgetItem(#mendimb,-1,"3 CD") AddGadgetItem(#mendimb,-1,"1 DVD-R") AddGadgetItem(#mendimb,-1,"1/3 DVD-R") AddGadgetItem(#mendimb,-1,"1/4 DVD-R") AddGadgetItem(#mendimb,-1,"1/5 DVD-R") AddGadgetItem(#mendimb,-1,"1/6 DVD-R") SetGadgetState(#mendimb,2) StringGadget(#menString_21,170,100,60,20,"# Units",#PB_String_ReadOnly) StringGadget(#menncd,170,125,60,20,"1",#PB_String_Numeric) StringGadget(#PB_Any,240,100,180,20,"Choose Audio Trak",#PB_String_ReadOnly) ComboBoxGadget(#menaudiotracks1,240,125,180,200) StringGadget(#menString_57,430,100,90,20,"Set Audio Type",#PB_String_ReadOnly) ComboBoxGadget(#menaudiocodec1,430,125,90,200) StringGadget(#menString_36,530,100,75,20,"Set Audio Bit",#PB_String_ReadOnly) ComboBoxGadget(#menaudiobit1,530,125,75,200,#PB_ComboBox_Editable) StringGadget(#menString_59,615,100,145,20,"Choose Subtitles Trak",#PB_String_ReadOnly) ComboBoxGadget(#mensubtracks1,615,125,145,200) CheckBoxGadget(#mensample,770,100,70,20,"Sample") CheckBoxGadget(#menclean,770,125,70,20,"Clean file") StringGadget(#PB_Any,10,155,70,20,"Denoise",#PB_String_ReadOnly) ComboBoxGadget(#mendenoise,90,155,120,100,#PB_ComboBox_Editable) AddGadgetItem(#mendenoise,-1,"NONE") AddGadgetItem(#mendenoise,-1,"denoise3d=4:3:6") AddGadgetItem(#mendenoise,-1,"hqdn3d=4:3:6") SetGadgetState(#mendenoise,2) StringGadget(#PB_Any,215,155,60,20,"Lumi Mask",#PB_String_ReadOnly) ComboBoxGadget(#menlmask,280,155,45,80,#PB_ComboBox_Editable) AddGadgetItem(#menlmask,-1,"0.0") AddGadgetItem(#menlmask,-1,"0.1") AddGadgetItem(#menlmask,-1,"0.2") AddGadgetItem(#menlmask,-1,"0.3") SetGadgetState(#menlmask,0) StringGadget(#PB_Any,335,155,60,20,"Dark Mask",#PB_String_ReadOnly) ComboBoxGadget(#menbmask,400,155,45,80,#PB_ComboBox_Editable) AddGadgetItem(#menbmask,-1,"0.0") AddGadgetItem(#menbmask,-1,"0.1") AddGadgetItem(#menbmask,-1,"0.2") AddGadgetItem(#menbmask,-1,"0.3") SetGadgetState(#menbmask,0) StringGadget(#PB_Any,455,155,60,20,"Trellis",#PB_String_ReadOnly) ComboBoxGadget(#mentrell,520,155,50,100) AddGadgetItem(#mentrell,-1,"NO") AddGadgetItem(#mentrell,-1,"YES") SetGadgetState(#mentrell,0) StringGadget(#PB_Any,580,155,40,20,"Qpel",#PB_String_ReadOnly) ComboBoxGadget(#menqpel,625,155,53,100) AddGadgetItem(#menqpel,-1,"NO") AddGadgetItem(#menqpel,-1,"YES") SetGadgetState(#menqpel,0) StringGadget(#PB_Any,685,155,65,20,"FourCC",#PB_String_ReadOnly) ComboBoxGadget(#menfourcc,757,155,65,100) AddGadgetItem(#menfourcc,-1,"FMP4") AddGadgetItem(#menfourcc,-1,"XviD") AddGadgetItem(#menfourcc,-1,"DivX") SetGadgetState(#menfourcc,1) GadgetToolTip(#menfourcc,"Choose Fourcc") StringGadget(#PB_Any,10,185,60,20,"Resizer",#PB_String_ReadOnly) ComboBoxGadget(#mensws,75,185,50,260,#PB_ComboBox_Editable) AddGadgetItem(#mensws,-1,"0") AddGadgetItem(#mensws,-1,"1") AddGadgetItem(#mensws,-1,"2") AddGadgetItem(#mensws,-1,"3") AddGadgetItem(#mensws,-1,"4") AddGadgetItem(#mensws,-1,"5") AddGadgetItem(#mensws,-1,"6") AddGadgetItem(#mensws,-1,"7") AddGadgetItem(#mensws,-1,"8") AddGadgetItem(#mensws,-1,"9") AddGadgetItem(#mensws,-1,"10") SetGadgetState(#mensws,2) StringGadget(#PB_Any,135,185,50,20,"A.R.",#PB_String_ReadOnly) ComboBoxGadget(#menAR,190,185,60,200,#PB_ComboBox_Editable) AddGadgetItem(#menAR,-1,"AUTO") AddGadgetItem(#menAR,-1,"1.3333") AddGadgetItem(#menAR,-1,"1.6666") AddGadgetItem(#menAR,-1,"1.7777") AddGadgetItem(#menAR,-1,"1.85") AddGadgetItem(#menAR,-1,"2.00") AddGadgetItem(#menAR,-1,"2.21") AddGadgetItem(#menAR,-1,"2.35") SetGadgetState(#menAR,0) StringGadget(#PB_Any,260,185,60,20,"Set Width",#PB_String_ReadOnly) ComboBoxGadget(#menwidth,325,185,75,200,#PB_ComboBox_Editable) StringGadget(#PB_Any,410,185,105,20,"Set encoding mode",#PB_String_ReadOnly) ComboBoxGadget(#menchoosecodec,520,185,160,200) AddGadgetItem(#menchoosecodec,-1,"1 Pass Automatic") AddGadgetItem(#menchoosecodec,-1,"2 Pass Automatic") AddGadgetItem(#menchoosecodec,-1,"Constant Quality") AddGadgetItem(#menchoosecodec,-1,"Doom9 2005 Final Round") AddGadgetItem(#menchoosecodec,-1,"Fast&Good Quality 1 Pass") AddGadgetItem(#menchoosecodec,-1,"Fast&Good Quality 2 Pass") SetGadgetState(#menchoosecodec,5) StringGadget(#PB_Any,690,185,65,20,"BitRate/CQ",#PB_String_ReadOnly) ComboBoxGadget(#menbitq,760,185,65,80,#PB_ComboBox_Editable) AddGadgetItem(#menbitq,-1,"AUTO") AddGadgetItem(#menbitq,-1,"Edit Me") SetGadgetState(#menbitq,0) StringGadget(#PB_Any,10,215,75,20,"AUDIO Freq",#PB_String_ReadOnly) ComboBoxGadget(#menfreq44,90,215,60,100,#PB_ComboBox_Editable) AddGadgetItem(#menfreq44,-1,"48000") AddGadgetItem(#menfreq44,-1,"44100") SetGadgetState(#menfreq44,0) StringGadget(#PB_Any,160,215,50,20,"Volume",#PB_String_ReadOnly) ComboBoxGadget(#menvolume,215,215,70,100,#PB_ComboBox_Editable) AddGadgetItem(#menvolume,-1,"AUTO") AddGadgetItem(#menvolume,-1,"NONE") AddGadgetItem(#menvolume,-1,"volnorm=1") AddGadgetItem(#menvolume,-1,"volnorm=2") AddGadgetItem(#menvolume,-1,"volume=10") SetGadgetState(#menvolume,0) StringGadget(#PB_Any,295,215,60,20,"VBR Mode",#PB_String_ReadOnly) ComboBoxGadget(#menabr,360,215,55,100) AddGadgetItem(#menabr,-1,"ABR") AddGadgetItem(#menabr,-1,"CBR") SetGadgetState(#menabr,0) StringGadget(#PB_Any,425,215,65,20,"Audio Qual",#PB_String_ReadOnly) ComboBoxGadget(#menaq,495,215,45,200) AddGadgetItem(#menaq,-1,"9") AddGadgetItem(#menaq,-1,"8") AddGadgetItem(#menaq,-1,"7") AddGadgetItem(#menaq,-1,"6") AddGadgetItem(#menaq,-1,"5") AddGadgetItem(#menaq,-1,"4") AddGadgetItem(#menaq,-1,"3") AddGadgetItem(#menaq,-1,"2") AddGadgetItem(#menaq,-1,"1") AddGadgetItem(#menaq,-1,"0") SetGadgetState(#menaq,6) StringGadget(#PB_Any,550,215,65,20,"FrameRate",#PB_String_ReadOnly) ComboBoxGadget(#menofps,620,215,65,200,#PB_ComboBox_Editable) AddGadgetItem(#menofps,-1,"AUTO") AddGadgetItem(#menofps,-1,"25") AddGadgetItem(#menofps,-1,"23.976") AddGadgetItem(#menofps,-1,"24") AddGadgetItem(#menofps,-1,"29.977") AddGadgetItem(#menofps,-1,"30") SetGadgetState(#menofps,0) StringGadget(#PB_Any,695,215,65,20,"GrayScale",#PB_String_ReadOnly) ComboBoxGadget(#menGrays,765,215,50,200) AddGadgetItem(#menGrays,-1,"NO") AddGadgetItem(#menGrays,-1,"YES") SetGadgetState(#menGrays,0) StringGadget(#PB_Any,10,245,45,20,"Deint",#PB_String_ReadOnly) ComboBoxGadget(#mendeint,65,245,200,200,#PB_ComboBox_Editable) AddGadgetItem(#mendeint,-1,"NONE") AddGadgetItem(#mendeint,-1,"kerndeint=10:0:0:0") AddGadgetItem(#mendeint,-1,"ivtc=1") AddGadgetItem(#mendeint,-1,"pullup[=jl:jr:jt:jb:sb:mp]") AddGadgetItem(#mendeint,-1,"divtc[=options]") AddGadgetItem(#mendeint,-1,"phase[=t|b|p|a|u|T|B|A|U][:v]") AddGadgetItem(#mendeint,-1,"telecine[=start]") AddGadgetItem(#mendeint,-1,"tinterlace[=mode]") AddGadgetItem(#mendeint,-1,"tfields[=mode]") SetGadgetState(#mendeint,0) StringGadget(#PB_Any,275,245,60,20,"VFDCT",#PB_String_ReadOnly) ComboBoxGadget(#menvfdct,340,245,45,200) AddGadgetItem(#menvfdct,-1,"0") AddGadgetItem(#menvfdct,-1,"1") AddGadgetItem(#menvfdct,-1,"2") AddGadgetItem(#menvfdct,-1,"3") AddGadgetItem(#menvfdct,-1,"4") AddGadgetItem(#menvfdct,-1,"5") AddGadgetItem(#menvfdct,-1,"6") AddGadgetItem(#menvfdct,-1,"7") AddGadgetItem(#menvfdct,-1,"8") AddGadgetItem(#menvfdct,-1,"9") AddGadgetItem(#menvfdct,-1,"10") SetGadgetState(#menvfdct,0) StringGadget(#PB_Any,395,245,60,20,"IDCT",#PB_String_ReadOnly) ComboBoxGadget(#menidct,460,245,40,200) AddGadgetItem(#menidct,-1,"0") AddGadgetItem(#menidct,-1,"1") AddGadgetItem(#menidct,-1,"2") AddGadgetItem(#menidct,-1,"3") AddGadgetItem(#menidct,-1,"4") AddGadgetItem(#menidct,-1,"5") AddGadgetItem(#menidct,-1,"6") AddGadgetItem(#menidct,-1,"7") AddGadgetItem(#menidct,-1,"8") AddGadgetItem(#menidct,-1,"9") AddGadgetItem(#menidct,-1,"10") SetGadgetState(#menidct,0) StringGadget(#PB_Any,510,245,35,20,"dia",#PB_String_ReadOnly) ComboBoxGadget(#mendia,550,245,45,100,#PB_ComboBox_Editable) AddGadgetItem(#mendia,-1,"-3") AddGadgetItem(#mendia,-1,"-2") AddGadgetItem(#mendia,-1,"-1") AddGadgetItem(#mendia,-1,"1") AddGadgetItem(#mendia,-1,"2") SetGadgetState(#mendia,3) StringGadget(#PB_Any,605,245,45,20,"predia",#PB_String_ReadOnly) ComboBoxGadget(#menpredia,655,245,45,80,#PB_ComboBox_Editable) AddGadgetItem(#menpredia,-1,"0") AddGadgetItem(#menpredia,-1,"1") AddGadgetItem(#menpredia,-1,"2") AddGadgetItem(#menpredia,-1,"3") SetGadgetState(#menpredia,0) StringGadget(#PB_Any,710,245,45,20,"preme",#PB_String_ReadOnly) ComboBoxGadget(#menpreme,760,245,40,200,#PB_ComboBox_Editable) AddGadgetItem(#menpreme,-1,"0") AddGadgetItem(#menpreme,-1,"1") AddGadgetItem(#menpreme,-1,"2") SetGadgetState(#menpreme,0) StringGadget(#PB_Any,10,275,85,20,"Max B-Frames",#PB_String_ReadOnly) ComboBoxGadget(#menmaxbframes,100,275,45,100,#PB_ComboBox_Editable) AddGadgetItem(#menmaxbframes,-1,"0") AddGadgetItem(#menmaxbframes,-1,"1") AddGadgetItem(#menmaxbframes,-1,"2") AddGadgetItem(#menmaxbframes,-1,"3") SetGadgetState(#menmaxbframes,1) StringGadget(#PB_Any,155,275,45,20,"mv0",#PB_String_ReadOnly) ComboBoxGadget(#menmv0,205,275,50,200) AddGadgetItem(#menmv0,-1,"YES") AddGadgetItem(#menmv0,-1,"NO") SetGadgetState(#menmv0,1) StringGadget(#PB_Any,265,275,40,20,"cbp",#PB_String_ReadOnly) ComboBoxGadget(#mencbp,310,275,50,200) AddGadgetItem(#mencbp,-1,"YES") AddGadgetItem(#mencbp,-1,"NO") SetGadgetState(#mencbp,1) StringGadget(#PB_Any,370,275,50,20,"precmp",#PB_String_ReadOnly) ComboBoxGadget(#menprecmp,425,275,45,200,#PB_ComboBox_Editable) AddGadgetItem(#menprecmp,-1,"0") AddGadgetItem(#menprecmp,-1,"1") AddGadgetItem(#menprecmp,-1,"2") AddGadgetItem(#menprecmp,-1,"3") SetGadgetState(#menprecmp,0) StringGadget(#PB_Any,480,275,35,20,"cmp",#PB_String_ReadOnly) ComboBoxGadget(#mencmp,520,275,40,200,#PB_ComboBox_Editable) AddGadgetItem(#mencmp,-1,"0") AddGadgetItem(#mencmp,-1,"1") AddGadgetItem(#mencmp,-1,"2") AddGadgetItem(#mencmp,-1,"3") SetGadgetState(#mencmp,0) StringGadget(#PB_Any,570,275,50,20,"subcmp",#PB_String_ReadOnly) ComboBoxGadget(#mensubcmp,625,275,40,200,#PB_ComboBox_Editable) AddGadgetItem(#mensubcmp,-1,"0") AddGadgetItem(#mensubcmp,-1,"1") AddGadgetItem(#mensubcmp,-1,"2") AddGadgetItem(#mensubcmp,-1,"3") SetGadgetState(#mensubcmp,0) StringGadget(#menString_30,670,275,30,20,"vme",#PB_String_ReadOnly) ComboBoxGadget(#menvme,705,275,45,160,#PB_ComboBox_Editable) AddGadgetItem(#menvme,-1,"0") AddGadgetItem(#menvme,-1,"1") AddGadgetItem(#menvme,-1,"2") AddGadgetItem(#menvme,-1,"3") AddGadgetItem(#menvme,-1,"4") AddGadgetItem(#menvme,-1,"5") SetGadgetState(#menvme,4) StringGadget(#PB_Any,755,275,30,20,"mbd",#PB_String_ReadOnly) ComboBoxGadget(#menmdb,790,275,45,100,#PB_ComboBox_Editable) AddGadgetItem(#menmdb,-1,"0") AddGadgetItem(#menmdb,-1,"1") AddGadgetItem(#menmdb,-1,"2") SetGadgetState(#menmdb,1) StringGadget(#PB_Any,10,305,65,20,"tcplx_mask",#PB_String_ReadOnly) ComboBoxGadget(#mentcplx_mask,80,305,50,200,#PB_ComboBox_Editable) AddGadgetItem(#mentcplx_mask,-1,"0.0") AddGadgetItem(#mentcplx_mask,-1,"0.1") AddGadgetItem(#mentcplx_mask,-1,"0.2") AddGadgetItem(#mentcplx_mask,-1,"0.3") AddGadgetItem(#mentcplx_mask,-1,"0.4") AddGadgetItem(#mentcplx_mask,-1,"0.5") AddGadgetItem(#mentcplx_mask,-1,"0.6") SetGadgetState(#mentcplx_mask,0) StringGadget(#PB_Any,140,305,65,20,"scplx_mask",#PB_String_ReadOnly) ComboBoxGadget(#menscplx_mask,210,305,50,200,#PB_ComboBox_Editable) AddGadgetItem(#menscplx_mask,-1,"0.0") AddGadgetItem(#menscplx_mask,-1,"0.1") AddGadgetItem(#menscplx_mask,-1,"0.2") AddGadgetItem(#menscplx_mask,-1,"0.3") AddGadgetItem(#menscplx_mask,-1,"0.4") AddGadgetItem(#menscplx_mask,-1,"0.5") AddGadgetItem(#menscplx_mask,-1,"0.6") SetGadgetState(#menscplx_mask,0) StringGadget(#PB_Any,270,305,50,20,"vqcomp",#PB_String_ReadOnly) ComboBoxGadget(#menvqcomp,325,305,50,260,#PB_ComboBox_Editable) AddGadgetItem(#menvqcomp,-1,"0.0") AddGadgetItem(#menvqcomp,-1,"0.1") AddGadgetItem(#menvqcomp,-1,"0.2") AddGadgetItem(#menvqcomp,-1,"0.3") AddGadgetItem(#menvqcomp,-1,"0.4") AddGadgetItem(#menvqcomp,-1,"0.5") AddGadgetItem(#menvqcomp,-1,"0.6") AddGadgetItem(#menvqcomp,-1,"0.7") AddGadgetItem(#menvqcomp,-1,"0.8") AddGadgetItem(#menvqcomp,-1,"0.9") AddGadgetItem(#menvqcomp,-1,"1.0") SetGadgetState(#menvqcomp,5) StringGadget(#PB_Any,385,305,55,20,"last_pred",#PB_String_ReadOnly) ComboBoxGadget(#menlast_pred,445,305,45,260,#PB_ComboBox_Editable) AddGadgetItem(#menlast_pred,-1,"0") AddGadgetItem(#menlast_pred,-1,"1") AddGadgetItem(#menlast_pred,-1,"2") AddGadgetItem(#menlast_pred,-1,"3") SetGadgetState(#menlast_pred,0) StringGadget(#PB_Any,500,305,35,20,"qns",#PB_String_ReadOnly) ComboBoxGadget(#menqns,540,305,45,260,#PB_ComboBox_Editable) AddGadgetItem(#menqns,-1,"0") AddGadgetItem(#menqns,-1,"1") AddGadgetItem(#menqns,-1,"2") AddGadgetItem(#menqns,-1,"3") SetGadgetState(#menqns,0) StringGadget(#PB_Any,595,305,80,20,"Manual Crop",#PB_String_ReadOnly) StringGadget(#menCRopman,680,305,100,20,"0:0:0:0") ButtonGadget(#menbcropman,785,305,50,20,"<-Check") StringGadget(#PB_Any,10,340,55,20,"AVS CC",#PB_String_ReadOnly) ComboBoxGadget(#menthreads,70,340,50,100,#PB_ComboBox_Editable) AddGadgetItem(#menthreads,-1,"NO") AddGadgetItem(#menthreads,-1,"YES") SetGadgetState(#menthreads,1) StringGadget(#menmms,130,340,150,20,"mms:") ButtonGadget(#menbmms,285,340,65,20,"Download") StringGadget(#menString_11,510,20,100,20,"Choose DVD drive",#PB_String_ReadOnly) ButtonGadget(#mencheckdrive,690,20,70,20,"Check Drive") ButtonGadget(#menstart,510,60,60,20,"Start") ButtonGadget(#menriponly,580,60,80,20,"Rip Only") ButtonGadget(#menwritecmd,675,60,80,20,"WriteCMD") AddGadgetItem(#menwidth,-1,"Automatic") AddGadgetItem(#menwidth,-1,"720") AddGadgetItem(#menwidth,-1,"704") AddGadgetItem(#menwidth,-1,"688") AddGadgetItem(#menwidth,-1,"672") AddGadgetItem(#menwidth,-1,"656") AddGadgetItem(#menwidth,-1,"640") AddGadgetItem(#menwidth,-1,"624") AddGadgetItem(#menwidth,-1,"592") AddGadgetItem(#menwidth,-1,"576") SetGadgetState(#menwidth,0) AddGadgetItem(#mencdvd,-1,"NONE") AddGadgetItem(#mencdvd,-1,"D:") AddGadgetItem(#mencdvd,-1,"E:") AddGadgetItem(#mencdvd,-1,"F:") AddGadgetItem(#mencdvd,-1,"G:") AddGadgetItem(#mencdvd,-1,"H:") AddGadgetItem(#mencdvd,-1,"I:") SetGadgetState(#mencdvd,0) AddGadgetItem(#menaudiocodec1,-1,"MP3") AddGadgetItem(#menaudiocodec1,-1,"FAAC") AddGadgetItem(#menaudiocodec1,-1,"MP2") AddGadgetItem(#menaudiocodec1,-1,"Copy Original") SetGadgetState(#menaudiocodec1,0) AddGadgetItem(#menaudiobit1,-1,"96") AddGadgetItem(#menaudiobit1,-1,"112") AddGadgetItem(#menaudiobit1,-1,"128") AddGadgetItem(#menaudiobit1,-1,"144") AddGadgetItem(#menaudiobit1,-1,"160") AddGadgetItem(#menaudiobit1,-1,"176") AddGadgetItem(#menaudiobit1,-1,"192") AddGadgetItem(#menaudiobit1,-1,"208") SetGadgetState(#menaudiobit1,2) OwnToolTip(0,#keyframeinterval,"Sets maximum interval between IDR-frames (Default: 250). Larger values save bits, thus improve quality, at the cost of seeking precision. Unlike MPEG-1/2/4, H.264 does not suffer from DCT drift with large values of keyint.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#mode,"Here is how it works, and how to use it:The first pass (pass=1) collects statistics on the video And writes them to a file. You might want to deactivate some CPU-hungry options, apart from the ones that are on by Default.In two pass mode, the second pass (pass=2) reads the stats file And bases ratecontrol decisions on it.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#turbo,"Fast first pass mode. During the first pass of a two or more pass encode it is possible to gain speed by disabling some options with negligible or even no impact on the final pass output quality.0 disabled (Default).If activated reduce subq And frameref to 1, use a diamond ME search And disable all partition analysis modes. Can increase first pass speed up to 4x with about +/- 0.05dB change in the Global PSNR of the final pass compared to a full quality first pass.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#alphadeblocking,"AlphaC0 parameter of deblocking filter (Default: 0). This adjusts thresholds For the H.264 in-loop deblocking filter. First, this parameter adjusts the maximum amount of change that the filter is allowed to cause on any one pixel. Secondly, this parameter affects the threshold For difference across the edge being filtered. A positive value reduces blocking artifacts more, but will also smear details. The Default behavior of the filter almost always achieves optimal quality, so it is best to either leave it alone, Or make only small adjustments. However, If your source material already has some blocking Or noise which you would like to remove, it may be a good idea to turn it up a little bit.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#betadeblocking,"Beta parameter of deblocking filter (Default: 0). Affects the detail threshold. Very detailed blocks are not filtered, since the smoothing caused by the filter would be more noticeable than the original blocking.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#cabac,"Use CABAC (Context-Adaptive Binary Arithmetic Coding) (Default: on). Slightly slows down encoding And decoding, but should save 10-15% bitrate. Unless you are looking For decoding speed, you should not disable it.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#scdsensitivity,"Controls how aggressively to insert extra I-frames (Default: 40). With small values of scenecut, the codec often has to force an I-frame when it would exceed keyint. Good values of scenecut may find a better location For the I-frame. Large values use more I-frames than necessary, thus wasting bits. -1 disables scene-cut detection, so I-frames are inserted only once every other keyint frames, even If a scene-cut occurs earlier. This isn't recommended and wastes bitrate as scenecuts encoded as P-frames are just as big as I-frames, but don't reset the keyint counter.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#numberofreferenceframes,"Number of previous frames used as predictors in B And P-frames (Default: 1). This is effective in anime, but in live-action material the improvements usually drop off very rapidly above 6 or so reference frames. This has no effect on decoding speed, but does increase the memory needed for decoding. Some decoders can only handle a maximum of 15 reference frames.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#pyramid,"Allows B-frames to be used as references For predicting other frames. For example, consider 3 consecutive B-frames: I0 B1 B2 B3 P4. Without this option, B-frames follow the same pattern as MPEG-[124]. So they are coded in the order I0 P4 B1 B2 B3, And all the B-frames are predicted from I0 And P4. With this option, they are coded as I0 P4 B2 B1 B3. B2 is the same as above, but B1 is predicted from I0 And B2, And B3 is predicted from B2 And P4. This usually results in slightly improved compression, at almost no speed cost. However, this is an experimental option: it is not fully tuned And may not always help. Requires bframes >= 2. Disadvantage: increases decoding delay to 2 frames.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#adaptive,"Automatically decides when to use B-frames And how many, up to the maximum specified above (Default: on). If this option is disabled, then the maximum number of B-frames is used.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#numberofbframes,"Maximum number of consecutive B-frames between I And P-frames (Default: 0)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#deblockfilter,"Use deblocking filter (Default: on). As it takes very little time compared to its quality gain, it's not recommended to disable it.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#bframesbias,"Controls the decision performed by b_adapt. A higher b_bias produces more B-frames (Default: 0).","", #TOOLTIP_NO_ICON) OwnToolTip(0,#mingopsize,"Sets minimum interval between IDR-frames (Default: 25). If scenecuts appear within this interval, they are still encoded as I-frames, but do not start a new GOP. In H.264, I-frames do not necessarily bound a closed GOP because it is allowable For a P-frame to be predicted from more frames than just the one frame before it (also see frameref). Therefore, I-frames are not necessarily seekable. IDR-frames restrict subsequent P-frames from referring to any frame prior to the IDR-frame.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#minimumquantitizer,"Minimum quantizer, 10-30 seems to be a useful range (Default: 10).","", #TOOLTIP_NO_ICON) OwnToolTip(0,#maximumquantitizer,"Maximum quantizer (Default: 51)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#bitratevariance,"Allowed variance in average bitrate (no particular units) (Default: 1.0)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#vbvmaximumbitrate,"Maximum local bitrate, in kbits/Second (Default: disabled)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#vbvbuffersize,"Averaging period For vbv_maxrate, in kbits (default: none, must be specified If vbv_maxrate is enabled)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#vbvinitialbuffer,"Initial buffer occupancy, as a fraction of vbv_bufsize (Default: 0.9)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#factoripq,"Quantizer factor between I And P-frames (Default: 1.4)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#factorpbq,"Quantizer factor between P And B-frames (Default: 1.3)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#quantitizercompression,"Quantizer compression (Default: 0.6). A lower value makes the bitrate more constant, While a higher value makes the quantization parameter more constant.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#tempblurfc,"Temporal blur of the estimated frame complexity, before curve compression (Default: 20). Lower values allow the quantizer value to jump around more, higher values force it to vary more smoothly. cplx_blur ensures that each I-frame has quality comparable to the following P-frames, And ensures that alternating high And low complexity frames (e.g. low fps animation) do not waste bits on fluctuating quantizer.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#tempblurqcc,"Temporal blur of the quantization parameter, after curve compression (Default: 0.5). Lower values allow the quantizer value to jump around more, higher values force it to vary more smoothly.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#CReditsquantitizer,"Please use Credits option in Trim/Calc Panel","", #TOOLTIP_NO_ICON) OwnToolTip(0,#bframemode,"Determines the type of motion prediction used for direct macroblocks in B-frames. None: Direct macroblocks are not used. 1 Spatial: Motion vectors are extrapolated from neighboring blocks. (Default) 2 Temporal: Motion vectors are interpolated from the following P-frame. 3 Auto: The codec selects between spatial And temporal For each frame.Spatial And temporal are approximately the same speed And PSNR, the choice between them depends on the video content. Auto is slightly better, but slower. direct_pred=0 is both slower And lower quality.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#weightedprediction,"Use weighted prediction in B-frames. Without this option, bidirectionally predicted macroblocks give equal weight to each reference frame. With this option, the weights are determined by the temporal position of the B-frame relative to the references. Requires bframes > 1.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#i4x4,"Use additional macroblock type i4x4 (Default: enabled). Without this option, PAnd B-frames will use only i16x16 And the inter types specified below.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#i8x8,"Use additional macroblock type i8x8 (Default: enabled). This option has no effect unless 8x8dct is enabled.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#b8x8,"Use additional macroblock types b16x8, b8x16, b8x8 (Default: enabled). Without this option, B-frames will use only types i16x16, i8x8, i4x4, b16x16, skip, direct. See 4x4mv For details.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#p8x8,"Use additional macroblock types p16x8, p8x16, p8x8 (Default: enabled). Without this option, P-frames will use only types i16x16, i8x8, i4x4, p16x16, skip. This option is provided For experimentation only. It is not recommended to disable 8x8mv in a real encode.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#p4x4,"Use additional macroblock types p8x4, p4x8, p4x4 (Default: disabled). Without this option, P-frames will use only types i16x16, i8x8, i4x4, p16x16, p16x8, p8x16, p8x8, skip. Requires 8x8mv.The idea is to find the type And size that best describe a certain area of the picture. For example, a Global pan is better represented by 16x16 blocks, While small moving objects are better represented by smaller blocks.4x4mv is recommended only with subq >= 3.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#adaptivedct,"Adaptive spatial transform size: allows macroblocks to choose between 4x4 And 8x8 DCT. Also allows the i8x8 macroblock type. Without this option, only 4x4 DCT is used.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#mealgo,"Select fullpixel motion estimation algorithm. 1 diamond search, radius 1 (fast) 2 hexagon search, radius 2 (Default) 3 uneven multi-hexagon search 4 exhaustive search (very slow)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#merange,"radius of exhaustive Or multi-hexagon motion search (Default: 16)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#SUBpixrefiniment,"Adjust subpel refinement quality. This parameter controls quality versus speed tradeoffs involved in the motion estimation decision process. Subq=5 can compress up to 10% better than subq=1. ","", #TOOLTIP_NO_ICON) OwnToolTip(0,#chromame,"Takes into account chroma information during subpixel motion search (Default: enabled). Requires subq>=5.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#chromaqpoffset,"Use a different quantizer For chroma as compared to luma. Useful values are in the range <-2-2> (default: 0). ","", #TOOLTIP_NO_ICON) OwnToolTip(0,#avclevel,"Actually not used","", #TOOLTIP_NO_ICON) OwnToolTip(0,#nbthreads,"Split each frame into slices And encode them in parallel (Default: 1). Also allows multithreaded decoding If the decoder supports it (lavc does not). This has a slight penalty to compression. Requires that libx264 was compiled with pthread support; if not, this option will produce a warning and enable slices but not multithreading.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#x264wcmd,"Press button to generate a batch file with x264 settings as show","", #TOOLTIP_NO_ICON) OwnToolTip(0,#profiles,"Choose a Sharktooth' Profile. Could be a very good start for tuning (or not) x264 settings","", #TOOLTIP_NO_ICON) OwnToolTip(0,#matrixfile,"Click on button to load a personalized matrix file","", #TOOLTIP_NO_ICON) OwnToolTip(0,#nofastpskip,"Check http://forum.doom9.org/showthread.php?t=103665","", #TOOLTIP_NO_ICON) OwnToolTip(0,#bime,"Check http://forum.doom9.org/showthread.php?t=104832","", #TOOLTIP_NO_ICON) OwnToolTip(0,#xqmatrix,"Press button for load a custom matrix","", #TOOLTIP_NO_ICON) OwnToolTip(0,#kstd,"Default Value 750. Value=1000*zonerange/StdDeviation","", #TOOLTIP_NO_ICON) OwnToolTip(0,#MINn,"Higher values means more rejected short samples","", #TOOLTIP_NO_ICON) OwnToolTip(0,#sens,"Number of frames for median value","", #TOOLTIP_NO_ICON) OwnToolTip(0,#minimized,"Force all application to be launched minimized","", #TOOLTIP_NO_ICON) OwnToolTip(0,#widthctest,"Make a test agains a width of ... (more width tested less final, BUT is suggest to leave AUTO)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#compper,"Use x% for Compression Test. 5% is usually a good value. Higher values mean more accurate compression test","", #TOOLTIP_NO_ICON) OwnToolTip(0,#avsopt,"Using this fuction all movie will be encoded for finding the best filters setting. Go for tuning in Avs Optimizer. Please be cautios. Don't try to overfiltering","", #TOOLTIP_NO_ICON) OwnToolTip(0,#shut,"Force shutdown after encoding","", #TOOLTIP_NO_ICON) OwnToolTip(0,#wripd,"Use DVDDecrypter to rip dvd. Please put DVDDecrypter.exe into \exe\vsrip folder","", #TOOLTIP_NO_ICON) OwnToolTip(0,#wripf,"Use DVDFabdecrypter to rip dvd. Please put DVDFabDecrypter.exe into \exe\vsrip folder","", #TOOLTIP_NO_ICON) OwnToolTip(0,#maxres,"Set max resolution computed with automatic routines to...","", #TOOLTIP_NO_ICON) OwnToolTip(0,#minres,"Set min resolution computed with automatic routines to...","", #TOOLTIP_NO_ICON) OwnToolTip(0,#menttoutput,"Choose output directory","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menstart,"Click here for start all encoding process (audio/video/muxing)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#mencdvd,"Choose DVD Drive","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menbinput,"Choose input file: mpeg/vob/ts/ifo/d2v/avi/avs","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menboutput,"Choose output directory","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menclean,"Enable this check if you want delete all temporary files","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menString_17,"Choose a size preset or edit it writing how many mb must be the piece","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menString_21,"Number of piece (or CD)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menfreq44,"Choose Audio Frequency output","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menvolume,"Apply volume change (leave auto for an automatic gain)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menabr,"Choose Mp3 encoding type. Average Bit Rate or Constan Bit Rate","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menaq,"Choose Quality form Mp3 encoding. Low value mean more quality","",#TOOLTIP_NO_ICON) OwnToolTip(0,#mendenoise,"Apply a denoise filter","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menmaxbframes,"How many consecutive B Frames are allowed","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menString_30,"Choose width size. Or leave "+Chr(34)+"Automatic"+Chr(34)+" for best choice","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menvme,"motion estimation method. From low to good quality","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menmdb,"Macroblock decision algorithm (high quality mode), encode each macro block in all modes and choose the best. This is slow but results in better quality and file size.","",#TOOLTIP_NO_ICON) OwnToolTip(0,#mendia,"Diamond type & size for motion estimation","",#TOOLTIP_NO_ICON) OwnToolTip(0,#mentrell,"Apply Trellis","",#TOOLTIP_NO_ICON) OwnToolTip(0,#mensws,"0:fast bilinear 1:bilinear 2:bicubic (good quality) (Default) 3:experimental 4:nearest neighbour (bad quality) 5:area 6:luma bicubic/chroma bilinear 7:gauss 8:sincR 9:lanczos 10:natural bicubic spline","",#TOOLTIP_NO_ICON) OwnToolTip(0,#mentcplx_mask,"Temporal complexity masking (default: 0.0 (disabled)). Imagine a scene with a bird flying across the whole scene; tcplx_mask will raise the quantizers of the bird's macroblocks (thus decreasing their quality), as the human eye usually does not have time to see all the bird's details. Be warned that if the masked object stops (e.g. the bird lands) it is likely to look horrible for a short period of time, until the encoder figures out that the object is not moving and needs refined blocks. The saved bits will be spent on other parts of the video, which may increase subjective quality, provided that tcplx_mask is carefully chosen.","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menscplx_mask,"Spatial complexity masking. Larger values help against blockiness, if no deblocking filter is used for decoding, which is maybe not a good idea.Imagine a scene with grass (which usually has great spatial complexity), a blue sky And a house; scplx_mask will raise the quantizers of the grass' macroblocks, thus decreasing its quality, in order to spend more bits on the sky and the house.HINT: Crop any black borders completely as they will reduce the quality of the macroblocks (also applies without scplx_mask). 0.0 disabled (Default) 0.0-0.5 sane range","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menbmask,"Darkness masking is a 'psychosensory' setting that is supposed to make use of the fact that the human eye tends to notice fewer details in very dark parts of the picture. Darkness masking compresses dark areas stronger than medium ones, so it will save bits that can be spent again on other frames, raising overall subjective quality, while possibly reducing PSNR.WARNING: Be careful, overly large values can cause disastrous things.WARNING: Large values might look good on some monitors but may look horrible on other monitors / TV / TFT. 0.0 disabled (Default) 0.0-0.3 sane range","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menlmask,"Luminance masking is a 'psychosensory' setting that is supposed to make use of the fact that the human eye tends to notice fewer details in very bright parts of the picture. Luminance masking compresses bright areas stronger than medium ones, so it will save bits that can be spent again on other frames, raising overall subjective quality, while possibly reducing PSNR.WARNING: Be careful, overly large values can cause disastrous things.WARNING: Large values might look good on some monitors but may look horrible on other monitors. 0.0 disabled (Default) 0.0-0.3 sane range","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menvfdct,"DCT algorithm","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menidct,"IDCT algorithm NOTE: To the best of our knowledge all these IDCTs do pass the IEEE1180 tests. 0:Automatically Select a good one (Default). 1:JPEG reference integer 2:simple 3:simplemmx 4:libmpeg2mmx (inaccurate, do not use For encoding with keyint>100) 5:ps2 6:mlib 7:arm 8:AltiVec 9:sh4","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menmv0,"Try to encode each MB with MV=<0,0> and choose the better one. This has no effect if mbd=0","",#TOOLTIP_NO_ICON) OwnToolTip(0,#mencbp,"Rate distorted optimal coded block pattern. Will Select the coded block pattern which minimizes distortion + lambda*rate. This can only be used together with trellis quantization.","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menprecmp,"Sets the comparison function for motion estimation pre pass (see mbcmp for available comparison functions) (default: 0)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#mencmp,"Sets the comparison function for full pel motion estimation (see mbcmp for available comparison functions) (default: 0)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#mensubcmp,"Sets the comparison function for sub pel motion estimation (see mbcmp for available comparison functions) (default: 0)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menpredia,"diamond type and size for motion estimation pre-pass","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menpreme,"Motion estimation pre-pass 0 disabled 1 only after I-frames (Default) 2 always","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menvqcomp,"Quantizer compression, vrc_eq depends upon this (pass 1/2) (default: 0.5). For instance, assuming the default rate control equation is used, if vqcomp=1.0, the ratecontrol allocates to each frame the number of bits needed to encode them all at the same QP. If vqcomp=0.0, the ratecontrol allocates the same number of bits to each frame, i.e. strict CBR. NOTE: Those are extreme settings and should never be used. Perceptual quality will be optimal somewhere in between these two extremes","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menlast_pred,"Amount of motion predictors from the previous frame 0 (Default) a Will use 2a+1 x 2a+1 macroblock square of motion vector predictors from the previous frame.","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menqns,"Quantizer noise shaping. Rather than choosing quantization to most closely match the source video in the PSNR sense, it chooses quantization such that noise (usually ringing) will be masked by similar-frequency content in the image. Larger values are slower but may not result in better quality. This can and should be used together with trellis quantization, in which case the trellis quantization (optimal for constant weight) will be used as startpoint for the iterative search.0 disabled (Default) 1 Only lower the absolute value of coefficients. 2 Only change coefficients before the last non-zero coefficient + 1. 3 Try all.","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menthreads,"Use AviSynth or not","",#TOOLTIP_NO_ICON) OwnToolTip(0,#mendeint,"Write here your deint/telecide/xxx (or left NONE for no filter)... this string will be written after the denoise. Don't put "+Chr(34)+","+Chr(34)+" after string","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menCRopman,"Write here something like "+Chr(34)+"720:432:0:72"+Chr(34)+" press PAUSE at some time. To break press CTRL + C","",#TOOLTIP_NO_ICON) OwnToolTip(0,#menbmms,"Paste an rtsp or mms string (like mms:and click download for download the streaming. Mplayer.exe is needed in /exe/encoder folder","",#TOOLTIP_NO_ICON) OwnToolTip(0,#pcrop,"Example of use : 1) Check "+Chr(34)+"Enable manual crop"+Chr(34)+", specify crop values And LEAVE "+Chr(34)+"WIDTH"+Chr(34)+" / "+Chr(34)+"HEIGHT"+Chr(34)+" To "+Chr(34)+"AUTO"+Chr(34)+". The movie will be cropped at specified values And automatic resize routines is used. First is applyed crop then resize. 2) Specify WIDTH And HEIGHT To your preferred values And DO NOT CHECK "+Chr(34)+"Enable manual crop"+Chr(34)+". Movie will be resized To specified WIDTH And then AUTOCROP 3) Specify WIDTH And HEIGHT To your preferred values And CHECK "+Chr(34)+"Enable manual crop"+Chr(34)+" And SET ALL CROP. Movie will be cropped And THEN resized To specified WIDTH 4) If you want To use HGAvsOptimizer then you MUST specify already in resize configuration the width/height like LimitedSharpen(1.25,1.25,640,480,smode=4) ,where 640 is width And 480 is height","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_82,"Take a look at Tooltip of "+Chr(34)+"Enable Manual crop"+Chr(34),"",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_83,"Take a look at Tooltip of "+Chr(34)+"Enable Manual crop"+Chr(34),"",#TOOLTIP_NO_ICON) OwnToolTip(0,#customx264,"Write here your custom x264 options to add to x264 command line builded by MkvMagic. This options are applyed to both autosize routines and final encoding. Leave blank for no other options","",#TOOLTIP_NO_ICON) OwnToolTip(0,#compthre,"Specify the threshold % for accept compression test. Es. You write here 75 and check "+Chr(34)+"Only Compression Test"+Chr(34)+" . If Compressione Test will give 74 the encoding is stopped, Else If CT is over 75 the full encoding will start. If you write here 0 only the CT is done regardless of any CT results. If you write here 101 the CT is accepted regardless of any CT results and the encoding restart.","",#TOOLTIP_NO_ICON) OwnToolTip(0,#compcheck,"Enable this check for do ONLY compression test","",#TOOLTIP_NO_ICON) OwnToolTip(0,#eavi,"Choose AviSource if you have installed the Codec build (not only the decoder). And if you are unsure check DirectShowSource","",#TOOLTIP_NO_ICON) OwnToolTip(0,#edirect,"Choose DirectShowSource you have installed only the Decoder (not the Codec)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#framerate,"Choose the framerate of movie,or write yourself","",#TOOLTIP_NO_ICON) OwnToolTip(0,#bx264,"This option is to check if you encode with X264 (1K = 1000)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#bxvid,"This option is to check if you encode with XviD (1K = 1024)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#hours,"How many hours movie is long","",#TOOLTIP_NO_ICON) OwnToolTip(0,#minutes,"How many minutes movie is long","",#TOOLTIP_NO_ICON) OwnToolTip(0,#seconds,"How many seconds movie is long","",#TOOLTIP_NO_ICON) OwnToolTip(0,#screditq,"From this frames the movie will be encoded at fixed quant","",#TOOLTIP_NO_ICON) OwnToolTip(0,#scalcf,"Press here to calc frames based on Hour/Minutes/Second and Frame Rate","",#TOOLTIP_NO_ICON) OwnToolTip(0,#credit,"This is the end frames to be encoded","",#TOOLTIP_NO_ICON) OwnToolTip(0,#addr,"This is how many frames must be added from RIGHT after Resize","",#TOOLTIP_NO_ICON) OwnToolTip(0,#addb,"This is how many frames must be added from BOTTOM after Resize","",#TOOLTIP_NO_ICON) OwnToolTip(0,#addl,"This is how many frames must be added from LEFT after Resize","",#TOOLTIP_NO_ICON) OwnToolTip(0,#addt,"This is how many frames must be added from TOP after Resize","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_81,"This is how many frames must be cropped from RIGHT","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_80,"This is how many frames must be cropped from BOTTOM","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_79,"This is how many frames must be cropped from LEFT","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_78,"This is how many frames must be cropped from TOP","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_77,"If your source have many black frames or spot at start,here you can specify the starter frames for analisys","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_76,"More frames to analyze better result for autocrop. But more time to start encoding","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_75,"This parameter is the "+Chr(34)+"sensitivity "+Chr(34)+"of AutoCrop. More Threshold less sensitivity. Please refere to DOC folder","",#TOOLTIP_NO_ICON) OwnToolTip(0,#greyscale,"This check enable avisynth to apply a GreyScale() filter on the movie","",#TOOLTIP_NO_ICON) OwnToolTip(0,#totalsize,"Total Size base on Preset * Number of Media","", #TOOLTIP_NO_ICON) OwnToolTip(0,#SIzeaudio1,"Size of Audio,based on bitrate and movie lenght (or file choice).","",#TOOLTIP_NO_ICON) OwnToolTip(0,#SIzeaudio2,"Size of Audio,based on bitrate and movie lenght (or file choice).","",#TOOLTIP_NO_ICON) OwnToolTip(0,#bcalcaudiobit1,"Browse for audio file","", #TOOLTIP_NO_ICON) OwnToolTip(0,#bcalcaudiobit2,"Browse for audio file","", #TOOLTIP_NO_ICON) OwnToolTip(0,#calcaudiobit1,"Choose audio bitrate","", #TOOLTIP_NO_ICON) : OwnToolTip(0,#calcaudiobit2,"Choose audio bitrate","", #TOOLTIP_NO_ICON) OwnToolTip(0,#ttoutput,"Choose output directory","",#TOOLTIP_NO_ICON) OwnToolTip(0,#start,"Click here for start all encoding process (audio/video/muxing)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#cdvd,"Choose DVD Drive","",#TOOLTIP_NO_ICON) OwnToolTip(0,#binput,"Choose input file: mpeg/vob/ts/ifo/d2v/avi","",#TOOLTIP_NO_ICON) OwnToolTip(0,#boutput,"Choose output directory","",#TOOLTIP_NO_ICON) OwnToolTip(0,#audioonly,"Before !click! check all audio settings !!!","",#TOOLTIP_NO_ICON) OwnToolTip(0,#sample,"Enable this check if you want to build a sample movie before full movie encoding","",#TOOLTIP_NO_ICON) OwnToolTip(0,#clean,"Enable this check if you want delete all temporary files","",#TOOLTIP_NO_ICON) OwnToolTip(0,#container,"If you choose avi you can mux only XivD + MP3. Not Subs or Audio OGG/AAC or X264 Video Codec. If you choose MKV you can mux all. If you choose MP4 you can choose any video codec and audio OGG/AAC but not AC3,and no Subs. If you choose ES Audio only audio will be processed (usefull for ac3->mp3 conversion) You can also choose Es Video or DVD,these methods are for mpeg2 video encodig.","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_17,"Choose a size preset or edit it writing how many mb must be the piece","",#TOOLTIP_NO_ICON) OwnToolTip(0,#ncd,"Number of piece (or CD)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_28,"Choose Resizer. Every resizer has pro and cons. Use wise. If you don't know what to choose use SimpleResize","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_30,"Choose width size. Or leave "+Chr(34)+"Automatic"+Chr(34)+" for best choice","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_38,"Please read carefully the manual before choice!","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_42,"If you want apply any filter choose on list,all will be applyed in order. On third you can write your own filter configuration,no need to specify movie,Es:Undot(). ANY FILTER WRITTEN HERE MUST BE LOADED ! CHECK DEFAULT.AVS IN FILTER DIRECTORY","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_44,"Hint: is editable if you know what are you doing... do it!","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_63,"This setting will be applied only if MKV is choosen","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_64,"An high DC mean more quality. More quality mean more slowness. Leave "+Chr(34)+"9"+Chr(34)+" for normal encode,"+Chr(34)+"10"+Chr(34)+" for more quality.","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_65,"Choose type of encoding. Multipass,CBR pass,VBR pass,Constant Quality... please refer to manual","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_66,"For best quality leave "+Chr(34)+"Yes"+Chr(34)+". The encoding will last longer but quality has a price.","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_68,"Set GOP size. "+Chr(34)+"AUTO"+Chr(34)+" will be best but not all stand-alone will be compatible","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_69,"Leave interlaced if you want to encode file as interlaced (leave AUTO if don't know what to do)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_70,"Set movie is TOP Field Based (TFF) Or BOTTOM Field Based (BFF). Usually movie are TFF","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_71,"This setting will be applied by encoding application,based on DgIndex reports,if you leave"+Chr(34)+" AUTO"+Chr(34)+". Otherwise feel free to modidy","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_72,"ATTENTION !!! LEAVE "+Chr(34)+"AUTO"+Chr(34)+" if you want bitrate calculed by application based on "+Chr(34)+"Set MB Size Unit"+Chr(34)+" * "+Chr(34)+"Number of Units"+Chr(34)+". If you write something this bitrate will be applyed","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_73,"This will be the maximun bitrate used by encoder","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_74,"If set this will be the Quant used by application for encoding movie","",#TOOLTIP_NO_ICON) OwnToolTip(0,#ntsc,"If needed apply a ConvertFPS(xxx) to source audio/video","",#TOOLTIP_NO_ICON) OwnToolTip(0,#pal,"Check source framerate and if needed apply ConvertFPS().Set also the muxing flag for DVD Authoring","",#TOOLTIP_NO_ICON) OwnToolTip(0,#wfilter1,"Click here to check the QMF Script","",#TOOLTIP_NO_ICON) OwnToolTip(0,#wfilter2,"Click here to check the QMF Script","",#TOOLTIP_NO_ICON) OwnToolTip(0,#x264dqbit,"Set X264 Compression test against ","", #TOOLTIP_NO_ICON) OwnToolTip(0,#xvidqbit,"Set XviD Compression test against a Quantitizer of","", #TOOLTIP_NO_ICON) OwnToolTip(0,#mp3cbr,"Set Lame for CBR, ABR Encoding or Quality (-V) encoding","", #TOOLTIP_NO_ICON) OwnToolTip(0,#aacengine,"Choose AAC Encoder.","", #TOOLTIP_NO_ICON) OwnToolTip(0,#frames,"How many frames the movie has","",#TOOLTIP_NO_ICON) OwnToolTip(0,#String_92,"Do NOT specify source (movie). Like: Undot(). TIPS: If you don't want the autocrop to be applyed write here converttoyv12(movie). Remember to write crop parameter/resize after here!","", #TOOLTIP_NO_ICON) OwnToolTip(0,#String_91,"Remember to specify the source (movie). Like: Undot(movie)","", #TOOLTIP_NO_ICON) OwnToolTip(0,#writeavs,"Click on Wr button to write the avisynth script without encoding. Please note that aspect ratio will be falsed","", #TOOLTIP_NO_ICON) OwnToolTip(0,#dimb,"Choose a preset or write the dimension. Like 400 for final 400 MB movie file","",#TOOLTIP_NO_ICON) OwnToolTip(0,#audiobit1,"Choose audio bitrate or quality. Even if greyed you can choose from list !","", #TOOLTIP_NO_ICON) OwnToolTip(0,#audiobit2,"Choose audio bitrate or quality. Even if greyed you can choose from list !","", #TOOLTIP_NO_ICON) OwnToolTip(0,#audiocodec1,"Choose audio codec. More settings, as channel, format...are in "+Chr(34)+"Extra Settings"+Chr(34)+" panel","", #TOOLTIP_NO_ICON) OwnToolTip(0,#audiocodec2,"Choose audio codec. More settings, as channel, format...are in "+Chr(34)+"Extra Settings"+Chr(34)+" panel","", #TOOLTIP_NO_ICON) OwnToolTip(0,#x264cqt,"Choose how compressione test should do. Against a CRF (default) or QP (not recommed) or Bitrate","",#TOOLTIP_NO_ICON) OwnToolTip(0,#aacpass,"Number of passes of encoder. Used only for NeroAACEnc","",#TOOLTIP_NO_ICON) OwnToolTip(0,#freeau,"What you write here is written in avs script passed to BePipe. Be cautius","",#TOOLTIP_NO_ICON) OwnToolTip(0,#aacfor,"Force encoding in LC or HE mode","",#TOOLTIP_NO_ICON) OwnToolTip(0,#aacch1,"Select number of channel to encode for first audio tracks","",#TOOLTIP_NO_ICON) OwnToolTip(0,#aacch2,"Select number of channel to encode for second audio tracks","",#TOOLTIP_NO_ICON) OwnToolTip(0,#freq48,"Force frequence of encoding. Better leave auto","",#TOOLTIP_NO_ICON) OwnToolTip(0,#tempo,"Force Tempo (as SoudTouch specification)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#pitch,"Force Pitch (as SoudTouch specification)","",#TOOLTIP_NO_ICON) OwnToolTip(0,#aacencmode,"Select AAC encoding mode: Costant Bit Rate or Average Bit Rate","",#TOOLTIP_NO_ICON) OwnToolTip(0,#vfr,"If isn't possible determine a specific way to deinterlace, allow MkvMagic to build a Variable Frame Rate MKV","",#TOOLTIP_NO_ICON) OwnToolTip(0,#savesetting,"Click here for saving default value to mkvmagic.ini. This value will be loaded at next restart","",#TOOLTIP_NO_ICON) EndIf EndIf EndProcedure ; IDE Options = PureBasic v4.00 (Windows - x86) ; CursorPosition = 617 ; FirstLine = 597 ; Folding = - ; UseIcon = exe\MkvMagic.ico ; Executable = MkvMagic.exe ; IDE Options = PureBasic v4.00 (Windows - x86) ; CursorPosition = 27 ; FirstLine = 18 ; Folding = -