![]() |
3 Duvidas com o DIKO
1 Vmesquita tem como configurar a versão free di diko alterar o tamanho da legenda ?
2 Se eu for colocar mais um video pra carregar tipo batch encoder, pra quando um terminar o outro começar tem como definir pra cada um configurações individuais como tamanho da media, etc.. ? 3 Sobre o overscan, os divx que eu encodo eu sempre uso overscan de 2 a 3, queria muito saber como c faz isso no DIKO, tipo vc falou que tem que alterar o script, mas eu naum sei se eu posso adicionar o GripCrop ou alterar o Widescreen no script, eu naum sei como c faz direito será que vc pode alterar pra mim kra (c naum for pedir de mais), aki está o script : standard.avs (oque vc falou pra alterar em um post passado..) function AddAudio(clip v1) { v2 = Blankclip() v1 = AudioDub(v1,v2) return v1 } Function DivXResize(clip c, int WIDTH, int HEIGHT, int OVERSCAN, string RESIZER, int widescreen) { ratio=((c.width()+.0)/(c.height()+.0))+.0 halfheight43=(round(c.width()/1.33333)-c.height())/2 halfheight43=(widescreen==1)&&(ratio>1.7777) ? (round(c.width()/1.77777)-c.height())/2 : halfheight43 #Crop to fullscreen it this has been asked fullscreen_cropper=round ((c.width()-(c.height()*1.33333) ) /2) f_c_mod=fullscreen_cropper % 2 fullscreen_cropper=( f_c_mod == 1) ? (fullscreen_cropper+1) : fullscreen_cropper c= (widescreen == 2) ? c.crop(fullscreen_cropper,0,(c.width()-2*fullscreen_cropper),0): c #What would be the height keeping the aspect ratio if width was 640/320-NTSC or 768/384-PAL(4:3) no_borders_height1=c.height() #4:3 (option 0 and 2) no_borders_height1=(HEIGHT == 480) ? (640*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 240) ? (320*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 576) ? (768*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 288) ? (384*c.height())/(c.width()) : no_borders_height1 #anamorphic (option 1) no_borders_height1=(HEIGHT == 480)&&(widescreen==1)&&(ratio>1.7777) ? (848*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 240)&&(widescreen==1)&&(ratio>1.7777) ? (424*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 576)&&(widescreen==1)&&(ratio>1.7777) ? (1024*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 288)&&(widescreen==1)&&(ratio>1.7777) ? (512*c.height())/(c.width()) : no_borders_height1 #Now how much we have to shrink to make it fit inside a macroblock? mod16height=no_borders_height1 % 16 #If the rest is <=8, subtracts the rest, else, completes to 16. completion= (mod16height <= 8) ? (-mod16height) : (16-mod16height) no_borders_height2=no_borders_height1+completion #finally resize c=Eval( RESIZER + "(c," + string(WIDTH) + "," + string(no_borders_height2) + ")" ) #add lateral overscan c=letterbox(c,0,0,overscan*8,overscan*8) return(c) } Function DivXBorders(clip c, int HEIGHT, int OVERSCAN) { halfheight43=(HEIGHT-c.height())/2 c=addborders(c,0,halfheight43,0,halfheight43) #Add vertical overscan c=letterbox(c,overscan*8,overscan*8,overscan*8,ove rscan*8) return(c) } converttoyv12() BlindPP(cpu=4) Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1) Convolution3D(1, 6, 12, 6, 8, 2.8, 0) DivXResize(WIDTH, HEIGHT, 0, "LanczosResize",WIDESCREEN) Undot() TemporalSoften(2,7,7,3,2) DCTFilter(1,1,1,1,1,1,0.5,0) #Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623) DivXBorders(HEIGHT,OVERSCAN) converttoyuy2() AddAudio() MonitorFilter PS: Lembrando que a faixa preta teria que ser como nos videos encodados pelo tmpgenc, que naum corta pedaço dele e deixa ele num tamanho e qualidade legal ! VLW ! |
Re: 3 Duvidas com o DIKO
Quote:
Quote:
Quote:
|
Re: 3 Duvidas com o DIKO
Quote:
DivXResize(WIDTH, HEIGHT, 0, "LanczosResize",WIDESCREEN) e colocar no lugar disso isso aki : GripCrop(m_width, 480, overscan=3,source_anamorphic=false,dest_anamorphic =false) GripSize(resizer="LanczosResize") GripBorders() ? |
Mais ou menos. Troque a linha:
Code:
DivXResize(WIDTH, HEIGHT, 0, "LanczosResize",WIDESCREEN)Code:
GripCrop(WIDTH, HEIGHT, overscan=OVERSCAN,source_anamorphic=false,dest_anamorphic=false)Code:
DivXBorders(HEIGHT,OVERSCAN)Code:
GripBorders() |
vou tentar e posto o resultado, aproposito, tenho videos aki que tem 20fps o diko naum aceita entaum eu converto pra 23.976 mas ai fica muito desincronizado, oq eu faço vmesquita ?
|
Bom, vc pode fazer comprar a versão Gold do DIKO que lida com isso automaticamente ou fazer a conversão manual. O DIKO Freeware não suporta framerates estranhos.
|
Quote:
o overscan não funciona no D.I.K.O Segue a baixo o script alterado que eu usei : (scripts/standard.avs) function AddAudio(clip v1) { v2 = Blankclip() v1 = AudioDub(v1,v2) return v1 } Function DivXResize(clip c, int WIDTH, int HEIGHT, int OVERSCAN, string RESIZER, int widescreen) { ratio=((c.width()+.0)/(c.height()+.0))+.0 halfheight43=(round(c.width()/1.33333)-c.height())/2 halfheight43=(widescreen==1)&&(ratio>1.7777) ? (round(c.width()/1.77777)-c.height())/2 : halfheight43 #Crop to fullscreen it this has been asked fullscreen_cropper=round ((c.width()-(c.height()*1.33333) ) /2) f_c_mod=fullscreen_cropper % 2 fullscreen_cropper=( f_c_mod == 1) ? (fullscreen_cropper+1) : fullscreen_cropper c= (widescreen == 2) ? c.crop(fullscreen_cropper,0,(c.width()-2*fullscreen_cropper),0): c #What would be the height keeping the aspect ratio if width was 640/320-NTSC or 768/384-PAL(4:3) no_borders_height1=c.height() #4:3 (option 0 and 2) no_borders_height1=(HEIGHT == 480) ? (640*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 240) ? (320*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 576) ? (768*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 288) ? (384*c.height())/(c.width()) : no_borders_height1 #anamorphic (option 1) no_borders_height1=(HEIGHT == 480)&&(widescreen==1)&&(ratio>1.7777) ? (848*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 240)&&(widescreen==1)&&(ratio>1.7777) ? (424*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 576)&&(widescreen==1)&&(ratio>1.7777) ? (1024*c.height())/(c.width()) : no_borders_height1 no_borders_height1=(HEIGHT == 288)&&(widescreen==1)&&(ratio>1.7777) ? (512*c.height())/(c.width()) : no_borders_height1 #Now how much we have to shrink to make it fit inside a macroblock? mod16height=no_borders_height1 % 16 #If the rest is <=8, subtracts the rest, else, completes to 16. completion= (mod16height <= 8) ? (-mod16height) : (16-mod16height) no_borders_height2=no_borders_height1+completion #finally resize c=Eval( RESIZER + "(c," + string(WIDTH) + "," + string(no_borders_height2) + ")" ) #add lateral overscan c=letterbox(c,0,0,overscan*8,overscan*8) return(c) } Function DivXBorders(clip c, int HEIGHT, int OVERSCAN) { halfheight43=(HEIGHT-c.height())/2 c=addborders(c,0,halfheight43,0,halfheight43) #Add vertical overscan c=letterbox(c,overscan*8,overscan*8,overscan*8,ove rscan*8) return(c) } converttoyv12() BlindPP(cpu=4) Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1) Convolution3D(1, 6, 12, 6, 8, 2.8, 0) GripCrop(WIDTH, HEIGHT, overscan=OVERSCAN,source_anamorphic=false,dest_ana morphic=false) GripSize(resizer="LanczosResize") Undot() TemporalSoften(2,7,7,3,2) DCTFilter(1,1,1,1,1,1,0.5,0) #Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623) GripBorders() converttoyuy2() AddAudio() MonitorFilter |
Vc colocou o overscan em 3 na configuração do DIKO?
|
Quote:
pelo que parece, infelizmente o D.I.K.O não suporta overscan |
Não é o DIKO que não suporta overscan, se fosse isso, ninguém até hj teria conseguido usar e este não é o caso. No caso deste script modificado, o Overscan está sendo feito pelo GripCrop (como vc pediu), verifique o movie0.avs se possui uma linha "OVERSCAN=3". Ou então poste o movie0.avs gerado pelo DIKO para eu ver.
|
Nao sei se alguem ja teve esse problema, mas quando vou usar o DIKO, na hora q ele abre o DOS, aparece uma msg dizendo assim: "unable to open first coverted micro dvd sub" isso quer dizer oq???
Obrigado! |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.