![]() |
Illegal resolution
For some strange reason I'm getting this illegal resolution when DVD2SVCD calls up TMPGEnc. Its says..The resolution of the video is illegal
The Windows size needs to be set between 8x8 and 4088x4088 The width and height of the windows needs to be multiple of 8 Then at the bottom of TMPGEnc it shows this.. DVD2SVCD(Mpeg-1 804x56 23.976 fps CQ_VBR 25 I also seen this in the video window of tmpgenc.. Script error: expected a, or ) (C:\Program Files\DVD2SVCD\Movie\AviSynth_Script_file.avs,line 15,column 0 ) Here is the avisynth script I was using LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1\Mpeg2dec \mpeg2dec.dll") LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1\INVERS~1 \decomb.dll") mpeg2source("C:\PROGRA~1\DVD2SVCD\Movie\DVD2AV~1.D 2V") Telecide() Decimate(5) LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\LegalClip\Legalclip.dll") Legalclip() BicubicResize(3336,224,0.0,0.6) LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\STMedianFilter\STMedianFilter.dll") STMedianFilter(10, 30, 0, 0, 10, 30) LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\UnFilter\UnFilter.dll") Unfilter(50,50) temporalsmoother(1,2) LoadPlugin("C:\.Program Files\DVD2SVCD\Avisynth2 Plugins\MergeChroma\MergeChroma.dll") mergechroma(blur(1.5) LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\MergeLuma\MergeLuma.dll") mergeluma(blur(0.3)) AddBorders(8,8,8,8) Legalclip() Its seems if I do any script other than simpleresize or bicubic or bilinear with unfilter it fails.. David |
8O
BicubicResize(3336 :?: 8O 3336 :?: do you copy it right DKruskie,or this is the value in the script? :? |
oops my bad..copied it wrong supposed to be 336 not 3336..sorry
David |
Re: Illegal resolution
Quote:
Try to add ConvertToRGB24() at the end of your script. |
yeah, try the line as Dialhot post but
i never got problems like this and never put this lines in the script! and my scripts have unfilter. a good hint is install the avisynth 208! :wink: |
Tried it with ConvertToRGB24()..didnt work got the same error..was I supposed to put it before the LegalClip() or after?..I tried it before the LegalClip()
I already have avisynth 208 installed..came with DVD2SVCD 113b2 David |
Re: Illegal resolution
Quote:
:lol: ztr |
I see the error.
You have "mergechroma(blur(1.5) :arrow: should be "mergechroma(blur(1.5)) |
[AVISYNTH_LegalClip,STMedianFILTER,UnFilter,MergeCh roma,MergeLuma]
0=LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\LegalClip\LegalClip.dll") 1=LegalClip() 2=SimpleResize(^TargetWidth,^TargetHeight) 3=LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\STMedianFilter\STMedianFilter.dll") 4=STMedianFilter(10,30,0,0,10,30) 5=LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\UnFilter\UnFilter.dll") 6=Unfilter(^Horizontal,^Vertical) 7=temporalsmoother(1,2) 8=LoadPlugin("C:\.Program Files\DVD2SVCD\Avisynth2 Plugins\MergeChroma\MergeChroma.dll") 9=MergeChroma(blur(1.5)) 10=LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\MergeLuma\MergeLuma.dll") 11=MergeLuma(blur(0.3)) 12=AddBorders(0,^BorderTop,0,^BorderBottom) LegalClip() !UnFilter.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\UnFilter\UnFilter.dll ^Horizontal=50 ^Vertical=50 !LegalClip.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\LegalClip\LegalClip.dll !STMedianFilter.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\STMedianFilter\StMedianFilter.dll !MergeChroma.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\MergeChroma\MergeChroma.dll !MergeLuma.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\MergeLuma\MergeLuma.dll I know you have to provide values for Simpleresize, bicubicresize bilinearresize and unfilter..like unfilter (^Horizontal,^Vertical) ^Horizontal=50 ^Vertical=50 But how would you do the values to in your script for mergechroma,mergeluma,stmedianfilter? just wondering. David |
Started using moviestacker and tok..they work a helluva lot better :D
David |
Quote:
if you want i can change the script to put the values... or better, you can "transpose" the script from MovieStacker to dvd2svcd too. ... really better: MovieStacker and ToK! :) |
Quote:
|
Quote:
That means that, following with codec pack you have installed, you will need or not this line. |
For reason now not even the simpleresize and unfilter will work in DVD2SVCD..I wonder if it is the build I'm using 113b2 is at fault or if I put the filters In the wrong place. This driving me nutz. I put all my filters in the Avisynth2 plugins part of DVD2SVCD is this correct place? or should I put them somplace else?
Jorel wrote: if you want i can change the script to put the values... Sure I would like that David |
Dialhot
I tried putting it at the end too..not working either David |
Quote:
as i posted, remove this version,use the "old"... i got problems with 113 too! no matter where you put the filters, don't need special place or folder.! the important is the right direction to the filters in the script! and reading your script seems all is in the right direction! i can redo the script for you,using the same directions changing only the adjusts that you want,ok? wait for me. later i post it friend. :wink: ps: wait a little cos i need a new keyboard, mine is mad! 8O the "shift" key ever fail and some more stranges things! :roll: i edit this post 3 times, this keyboard is driving me mad! :( |
That would be awesome..thanks :D
David |
Quote:
this is your script with STF adjusts to test. :!: before all, copy(backup) your dvd2svcd.ini in another folder :!: backup means security. copy all like posted within the lines, include the title :!: see the * before and after STF... this is for change the values of STF, test please. edit the dvd2svcd.ini and change this line in the middle of the script: Avisynth Setup=LegalClip,STMedianFILTER*,UnFilter,MergeChro ma,MergeLuma to: Avisynth Setup=LegalClip,*STMedianFILTER*,UnFilter,MergeChr oma,MergeLuma and copy this new script to the final of the dvd2svcd.ini and save. important: close the dvd2svcd.ini after saved cos sometimes if this file is open, the prog breaks :!: start dvd2svcd. don't need to choose the script in the frameserver tab no more. it will be there automatic :!: test changing the STF values and encode a little sample. -------------------------------------------------------------------------------------- [AVISYNTH_LegalClip,*STMedianFILTER*,UnFilter,Merge Chroma,MergeLuma] 0=LoadPlugin(!mpeg2dec.dll) 1=LoadPlugin(!Legalclip.dll) 2=Legalclip() 3=SimpleResize(^TargetWidth,^TargetHeight) 4=LoadPlugin(!STMedianFilter.dll) 5=STMedianFilter(^sf,^se,^tf,^tm,^hf,^he) 6=LoadPlugin(!unfilter.dll) 7=Unfilter(^Horizontal,^Vertical) 8=TemporalSmoother(1,2) 9=LoadPlugin(!MergeChroma.dll) 10=MergeChroma(blur(1.5)) 11=LoadPlugin(!MergeLuma.dll) 12=MergeLuma((blur(0.3)) 13=AddBorders(0,^BorderTop,0,^BorderBottom) 14=LegalClip() !Legalclip.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\LegalClip\LegalClip.dll !UnFilter.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\UnFilter\UnFilter.dll ^Horizontal=50 ^Vertical=50 !STMedianFilter.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\STMedianFilter\StMedianFilter.dll ^sf=10 ^se=30 ^tf=0 ^tm=0 ^hf=10 ^he=30 !MergeChroma.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\MergeChroma\MergeChroma.dll !MergeLuma.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\MergeLuma\MergeLuma.dll -------------------------------------------------------------------------------------- if all is ok,we can put the merge choices too! waiting your test and answers. :!: edited: we forgot the position number and " = " before the last legalclip. edited again: big errors, my mistake! :oops: now is correct :!: :wink: |
Got it copied and ran it..got the same illegal error but this time it said
DVD2SVCD(mpeg-1 1004x56 23.976fps CQ_VBR25) saying it cant load legalclip in avisynth script line 3, but I noticed the last LegalClip() wont remain in the ini after I posted and have tried several times to add it and save. here is a copy of dvd2svcd ini, maybe there is something wrong in here? [Settings] XPos=54 YPos=99 UseDVDRip=0 UsevStrip=0 UseInternalRip=1 Save diskspace=0 iDCT=0 DVD2AVI Pause=0 WavConv=5 BitRate=9 tooLame Mode=1 Autodetect Azid Gain=1 NoOfpasses=5 CCE Image Quality=17 CCE Anti noise value=2 CCE Anti noise=0 CBR=0 One Pass VBR=0 Multi Pass VBR=1 Dont Delete Files=1 Create VAF=1 QFactor=60 Linear quantizer scale=1 Zigzag scanning order=1 Use2Streams=0 Pri1Audio1=28 Pri1Audio2=139 Pri2Audio1=139 Pri2Audio2=139 Sub1=28 Sub2=139 Sub3=139 Sub4=139 Sub5=139 Sub6=139 Sub7=139 Sub8=139 Azid Gain Offset=6 Rip subtitles=0 Min. Delay. Between Subtitles=100 SVCD subtitles=0 Permanent subtitles=1 PAL Y-Pos=-1 NTSC Y-Pos=-1 MinsHigh1=50 MinsHigh2=63 MinsHigh3=102 MinsHigh4=125 MinsHigh5=170 NumCd1=1 NumCd2=1 NumCd3=1 NumCd4=1 NumCd5=1 NumCd6=1 CDSize 1=800 CDSize 2=800 CDSize 3=800 CDSize 4=800 CDSize 5=800 CDSize 6=800 MaxBitrate=2300 MinBitrate=500 MaxAvg=0 MinAvg=1600 Adjust Audio Bitrate=0 Use Min. Avg.=0 Force Film=0 Movie Offset=2 CDOverlap=0 Data Preparer=DVD2SVCD Use I-Author=0 Use VCDImager=0 No images=1 Use VCDXBuild=0 Length of Chapters=120 Use TitlePicture=0 Use ChangeCD Picture=0 Avisynth Bicubic b Value=0 Avisynth Bicubic c Value=0.75 SmartDeinterlace Mode=2 SmartDeinterlace Treshold=10 SmartDeinterlace Denoise=1 SmartDeinterlace Blend=0 SmartDeinterlace Fast=1 Edit Avisynth Script file=0 UseAVI2SVCD=0 UsePVA2SVCD=0 UseDVD2SVCD=1 UseCDOverlap=0 FirstRun=0 Use CDMage=0 RunPerCDImage=0 RunFinal=0 RunPerCDImage Params= RunFinal Params= bbMPEG videoDelay Adjustment=344 bbMPEG audioDelay Adjustment=344 bbMPEG audio1Delay Adjustment=344 Use MPEGAV=0 FixedChapters=0 DVDChapters=1 ForceIAuthorSupport=1 TMPGEnc Rate Control Mode=3 ResizeMethod=2 Auto Intra DC=0 DC component precision=0 Avisynth Setup=LegalClip,STMedianFILTER*,UnFilter,MergeChro ma,MergeLuma Frames pr spread=25 Spread=100 CCE Timecode=01:00:00:00 Prediction Size=0.999 UseMPEG1=1 UseMPEG2=0 Convert to Canopus codec=0 Convert to Divx4=0 Use Frameselection=0 New Default Folder=0 DVD2SVCD Level=1 Eject DVD=1 Luminance Gain=0 Luminance Offset=0 Audio1Downsampling=1 Audio2Downsampling=1 Audio1BitRate=7 Audio2BitRate=9 Folder Structure Source= Folder Structure Video= Folder Structure Audio= Folder Structure Muxed= Folder Structure Subs=Subs Intra=8,16,19,22,26,27,29,34,16,19,22,26,27,29,34, 37,19,22,26,27,29,34,37,38,22,26,27,31,36,37,38,40 ,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,2 9,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79 NonIntra=16,18,20,22,24,26,28,30,18,20,22,24,26,28 ,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,3 4,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38, 40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44 Matrice Preset=KVCD Use deafult Matrice=0 LFEDownmixLR6Ch=-3 LFEDownmixLFE6Ch=0 CenterDownmix6Ch=0 SurroundDownmix6Ch=0 DynamicCompression6Ch=1 StereoDownmixType6Ch=0 RearChannelFiltering6Ch=0 DialogNorm6Ch=0 LFEDownmixLR2Ch=-3 LFEDownmixLFE2Ch=0 CenterDownmix2Ch=-1 SurroundDownmix2Ch=-1 DynamicCompression2Ch=1 StereoDownmixType2Ch=0 RearChannelFiltering2Ch=0 DialogNorm2Ch=0 No Audio Conversion=0 Flip Vertival=0 Add ResampleAudio=0 Resize To=2 Use CCE=0 Use TMPGEnc=1 Use ProCoder=0 ProCoder CBR VBR Type=2 ProCoder Quality=3 ProCoder Field Order=2 Procoder Close GOPs=0 ProCoder Frames In GOP=15 ProCoder Distance IP=0 Procoder Use Sequence Header=1 ProCoder Picture Structure=1 Procoder DC Precision=1 CCE Safe Mode=0 RoBa Multi Pass=0 RoBa Visibel=0 CCE Bias=20 CCE Field Order=2 Progressive=1 DVD Compliant=0 Restrict auto I frame insertion=0 Close all GOPs=0 Intra DC=2 M GOP=3 MN GOP=5 SEQ Header=1 Constrained Parameter Set=1 TMPGEnc Motion search precision=5 TMPGEnc Field Order=2 TMPGEnc Num of passes=2 OffsetFixed CQ Value=30 OffsetFixed CQ_VBR Value=25 Use fixed CQ Value=0 Output YUV data as Basic YCbCr not CCIR601=0 Use floating point DCT=1 No motion search for still picture part by half pixel=0 Soften block noise=0 Soften Intra=35 Soften NonIntra=35 TMPGEnc GOP I Pictures=1 TMPGEnc GOP P Pictures=15 TMPGEnc GOP B Pictures=2 TMPGEnc SEQ Headers=1 TMPGEnc Max frames in GOP=15 TMPGEnc Close GOPs=0 TMPGEnc Detect Scene Change=0 Enabled Padding=1 TMPGEnc VBVBuffer=40 Use CCE Template=0 CCE Template= SubOutputPalette0=clBlack SubBlendPalette0=0 SubOutputPalette1=clWhite SubBlendPalette1=15 SubOutputPalette2=$001E1E1E SubBlendPalette2=15 SubOutputPalette3=clGray SubBlendPalette3=15 Resize Subtitles=100 CVD subtitles=0 External PAL Y-Pos=480 External NTSC Y-Pos=400 SubStreamIDOffset=1 External Subtitle Font Name=Verdana External Subtitle Font Size=18 External Subtitle Font Style=0 bbMPEG MPEG1=0 bbMPEG VCD=1 bbMPEG MPEG2=0 bbMPEG SVCD=0 bbMPEG DVD=0 bbMPEG VBR=1 bbMPEG Pad VCD=0 bbMPEG Write PEC=1 bbMPEG Add Scan Offsets=0 bbMPEG Align Sequence Headers=0 bbMPEG Use Private Stream 2=0 bbMPEG Computed Bitrate=1 bbMPEG TimeStamps=0 bbMPEG Pulldown=2 bbMPEG MuxRate=0 bbMPEG Pack Size=2324 bbMPEG Packets Pack=1 bbMPEG Video Buffer=46 bbMPEG Audio 1 Buffer=4 bbMPEG Audio 2 Buffer=4 PBCType=0 Use LastCD Picture=0 Use EntrySVD=0 Save XML=1 Save Movie Info=1 ProcessPriority=1 Automatic Shutdown=0 Anamorphic Aspect=1 [Executables] vStrip Executable=C:\Program Files\DVD2SVCD\vStrip\vStrip.exe DVD2AVI Executable=C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.exe SubMux Executable=C:\Program Files\DVD2SVCD\WinSubMux\WinSubMux.exe Pulldown Executable=C:\Program Files\DVD2SVCD\pulldown\pulldown.exe BeSweet Executable=C:\Headac3he0.23a\Headac3he0.23a\SweetH ead.exe MPEG51 Executable=C:\Program Files\DVD2SVCD\MPEG5.1\pub_enc.exe bbMPEG Executable=C:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe VCDImager Executable=C:\Program Files\DVD2SVCD\VCDImager\VCDImager.exe VCDXBuild Executable=C:\Program Files\DVD2SVCD\VCDImager\VCDXBuild.exe Title Picture=C:\Program Files\DVD2SVCD\DefaultTitlepicture.bmp Change CD Picture=C:\Program Files\DVD2SVCD\DefaultChangeCD.bmp Last CD Picture=C:\Program Files\DVD2SVCD\DefaultLastCD.bmp PVA Executable= CDMage Executable= RunPerCDImage Executable= RunFinal Executable= VFAPI Executable=C:\Program Files\DVD2SVCD\VFAPI\Reader\VFAPIConv-EN.exe ProCoder Frameserver Executable=C:\Program Files\DVD2SVCD\VFAPI\Reader\VFAPIConv-EN.exe MadPlay Executable=C:\Program Files\DVD2SVCD\MADPlay\madplay.exe AVS2 MPG2Dec DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\Mpeg2dec\mpeg2dec.dll AVS2 Dividee MPEG2Dec=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\Mpeg2dec\mpeg2dec.dll AVS2 InverseTelecine DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\InverseTelecine\decomb.dll AVS2 Subtitle DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\Avisynth Subtitler.dll AVS2 BMP Loader DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\Avisynth BMP Loader.dll AVS2 SimpleResize DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\SimpleResize\SimpleResize.dll AVS2 LegalClip DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\LegalClip\LegalClip.dll AVS2 STMedianFilter DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\STMedianFilter\STMedianFilter.dll AVS2 UnFilter DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\UnFilter\UnFilter.dll AVS2 MergeChroma DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\MergeChroma\MergeChroma.dll AVS2 MergeLuma DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\MergeLuma\MergeLuma.dll AVS2 GripFit_preview DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\GripFit_preview\GripFit_preview.dll AVS2.5 MPG2Dec DLL=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\Mpeg2dec\mpeg2dec3.dll AVS2.5 Dividee MPEG2Dec=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\Mpeg2dec\mpeg2dec.dll AVS2.5 InverseTelecine DLL=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\InverseTelecine\decomb.dll AVS2.5 Subtitle DLL=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\Avisynth Subtitler.dll AVS2.5 BMP Loader DLL=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\Avisynth BMP Loader.dll AVS2.5 SimpleResize DLL=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\SimpleResize\SimpleResize.dll CCE Executable= TMPGEnc Executable=C:\Program Files\TMPGEnc\TMPGEnc.exe ProCoder Executable= I-Author Executable= [Folders] vStrip Folder=C:\Program Files\DVD2SVCD\Movie DVD2AVI Folder=C:\Program Files\DVD2SVCD\Movie Audio Folder=C:\Program Files\DVD2SVCD\Movie CCE Folder=C:\Program Files\DVD2SVCD\Movie Pulldown Folder=C:\Program Files\DVD2SVCD\Movie Subpictures Folder=C:\Program Files\DVD2SVCD\Movie\subs bbMPEG Folder=C:\DVD I-Author Folder=C:\Program Files\DVD2SVCD\Movie PVA Folder=C:\Program Files\DVD2SVCD\Movie TMPGEnc Folder=C:\Program Files\DVD2SVCD\Movie ProCoder Folder=C:\Program Files\DVD2SVCD\Movie [AVISYNTH_SimpleResize] 0=LoadPlugin(!SimpleResize.dll) 1=SimpleResize(^TargetWidth,^TargetHeight) 2=AddBorders(0,^BorderTop,0,^BorderBottom) !SimpleResize.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\SimpleResize\SimpleResize.dll [AVISYNTH_BicubicResize] 0=BicubicResize(^TargetWidth,^TargetHeight,^b_valu e,^c_value) 1=AddBorders(0,^BorderTop,0,^BorderBottom) ^b_value=0.0 ^c_value=0.6 [AVISYNTH_BilinearResize] 0=BilinearResize(^TargetWidth,^TargetHeight) 1=AddBorders(0,^BorderTop,0,^BorderBottom) [AVISYNTH_LegalClip,STMedianFILTER*,UnFilter,MergeC hroma,MergeLuma] 0=LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\LegalClip\LegalClip.dll") 1=LegalClip() 2=SimpleResize(^TargetWidth,^TargetHeight) 3=LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\STMedianFilter\STMedianFilter.dll") 4=STMedianFilter(^sf,^se,^tf,^tm,^hf,^he) 5=LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\UnFilter\UnFilter.dll") 6=Unfilter(^Horizontal,^Vertical) 7=temporalsmoother(1,2) 8=LoadPlugin("C:\.Program Files\DVD2SVCD\Avisynth2 Plugins\MergeChroma\MergeChroma.dll") 9=MergeChroma(blur(1.5)) 10=LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\MergeLuma\MergeLuma.dll") 11=MergeLuma(blur(0.3)) 12=AddBorders(0,^BorderTop,0,^BorderBottom) ^sf=10 ^se=30 ^tf=0 ^tm=0 ^hf=10 ^he=30 ^Horizontal=50 ^Vertical=50 David |
sorry David,
i was thinking that the problem of illegal error was gone! :oops: then i change the script...i forgot the probelm ...but answer please: after you choose the new script you could change the values of STF filters in the frameserver tab? :?: give a little time to read your full dvd2svcd.ini and i will try to see if have something wrong there ,ok? :wink: |
hey,
i think that i found some. :roll: i forgot the number before legalclip. :oops: 14=legalclip() i'm editing to correct the script! you can copy and save again please :!: :wink: |
It sounds like the same issue I was having http://www.kvcd.net/forum/viewtopic.php?t=4066 Can you view the error on video using tpmge when encoding begins?
|
no friend,
when i copy your script i don't see the error in the last legalclip. please,try again,the script was corrected now. :wink: you got pm :!: |
Yes I change the values of STMedianFilter now :D
Testing it right now. David |
Well tested the script and for some reason I'am still getting the illegal resolution..Darnnit..1004x56 I wonder if my copy dvd2svcd 113b2 is a bad dowload? I am gonna uninstall it and redownload it and see if this hrelps.
David |
DKruskie
:roll: we forgot to load the mpeg2dec.dll in the script... is here like in your full dvd2svcd.ini : C:\Program Files\DVD2SVCD\Avisynth2 Plugins\Mpeg2dec\mpeg2dec.dll hints for script: ^ = Numerical ! = Filename § = Text ? = Boolean then we have to load it! another error....a big mistake: dvd2svcd script dont use the " . the prog use the " ! " in the script to load the dlls too. see this original from the dvd2svcd.ini : [AVISYNTH_SimpleResize] 0=LoadPlugin(!SimpleResize.dll) 1=SimpleResize(^TargetWidth,^TargetHeight) 2=AddBorders(0,^BorderTop,0,^BorderBottom) !SimpleResize.dll=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\SimpleResize\SimpleResize.dll :!: the big script posted will be edited again, i found all errors,wait a little :!: ... ... ... i'm back after 2 editions. now the script is edited and ok, no more errors. you can try again friend David :!: read all again with atention please. i change some words for new instructions, and see: the script is really different. we take the best of it now :!: :D post the result please. (2 days without sleep) 8O yes, my photo! :lol: |
well got another illegal error. 804x56
Script error: expected a, or ) (C:\Program Files\DVD2SVCD\Movie\AviSynth_Script_File.avs, line 15, column 0)...here is the avs script from DVD2SVCD LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1\Mpeg2dec \mpeg2dec.dll") mpeg2source("C:\PROGRA~1\DVD2SVCD\Movie\DVD2AV~1.D 2V") LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\Mpeg2dec\mpeg2dec.dll") LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\LegalClip.dll") Legalclip() SimpleResize(352,180) LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\STMedianFilter.dll") STMedianFilter(10,30,0,0,10,30) LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\UnFilter.dll") Unfilter(50,50) TemporalSmoother(1,2) LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\MergeChroma.dll") MergeChroma(blur(1.5)) LoadPlugin("C:\Program Files\DVD2SVCD\Avisynth2 Plugins\MergeLuma.dll") MergeLuma((blur(0.3)) AddBorders(0,30,0,30) LegalClip() David |
Duh..I see the problem in mergeluma, too many ( 's before value..gonna test it again
David |
Fixed the mergeluma problem..then I found one more error needed a
LoadPlugin(!SimpleResize.dll)..now it works perfect after testing :D ..need just a liitle more help..how to do the values for mergechroma and mergeluma. |
Quote:
There is a file called "Readme.txt" in the DVD2SVCD directory that gives all explanation about how to do a proper .ini file :idea: |
Yes I have read the readme txt in dvd2svcd and shows a very simple example but nothing about other filters, I just got done reading stuff at the avisynth website so now I know how to do the values I need. :) ..I'm just a newbie with working with avisynth and felt a little over my head on some of this stuff :? , and I very much appreciate all that Jorel has done for me on this .
David |
Quote:
I understand that everyone has to start one day but... I really don't see any difficulty there. The most important is to understand the principle, not to copy "dumbly" what Jorel gave to you. What will you do when Jorel will be on vacation ? BTW, it's not very important, just a 2 cent thought. The most important is that you manage to encode your video. |
Quote:
|
Complete inexperience :dunce: with this kind of stuff.
David |
take it easy boys,you all know,
i really love this place and people here. if is needed, we stay in this thread for a year, and you will got what you need. :!: i'm not expert in nothing, but will help at the end,when all will work :!: you know too: my poor english is ugly,but we can find the road. :wink: everyone that want to help will be great :!: :D i learn (just a little)use dvd2svcd in doom9 reading tons.... the help there is too short for newbys.... :roll: nights without sleep reading and making scripts that break my head, i have tons of scripts working with adjusts, but no one with mergeluma/chroma,we have to make and we will. :wink: back to script... David...your question: how to do the values for mergechroma and mergeluma :?: we will do it friend, first we need solve initial errors and make the STF adjusts works. STF is ok? the adjusts are working? no more errors in the script? :) |
Quote:
Just take the line where you have "11=MergeLuma(Blur(0.3)) and change it by "11=MergeLuma(Blur(^LumaValue))" and add a line "^LumaValue = 0.3" at the end of your .ini file. Same for MergeChroma. That's all. No need of hours of reading, no need of 2 kilometers long post, just need to think. But I wonder you don't have any skills in programing either, and in that case, I'm apologize for my lack of patience :roll: |
Jorel..nope no more errors in script..samples I encoded worked perfect. I figured out how to do the values for merchroma and mergeluma last night after doing some reading at the avisynth website..but the end result was perfect. I used a result like dialhot suggested, except I used MergeChroma(blur(^chroma)) and MergeLuma(blur(^Luma)) then just added the values ^chroma=1.5 and ^Luma=0.3. I also had figured out that my direction for the filters were wrong, I had it using for example AVS2 UnFilter DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\UnFilter\Unfilter.dll was causing the errors when it was supposed to be AVS2 UnFilter DLL=C:\Program Files\DVD2SVCD\Avisynth2 Plugins\UnFilter.dll. Neeedles to say I wouldnt have gotten this far without your patience and help on this script :!: Thank You :!: :!:
David |
Quote:
You finally understood the "philosophy" of the .ini file. Now you will be abble to include whatever new filter you want by yourself. Isn't this great ? :-) :-) |
Quote:
you help me and David in a big and faster step. :D No need of hours of reading? you don't need but i have horrible english and have to read tons and in slow motion. :lol: maybe you will have the same difficulty if you post some in the portuguese forum. than you will understand what i'm trying to say. you read one page in english in 1 minute, i in 5 minutes and with a big dictionary! :oops: read the thread from the first page, you'll see some problems in the script before this all works! the worse: in daylight,the internet in Brasil is slow, sometimes i need minutes to load a page and spend much money too,...than when everybody is sleeping, i'm here reading and learning some. and i stay 2 or 3 days without sleep, only to stay here reading. in daylight i do some tests and encodes. now here is 13:03 and everyday in the midnight...i'm here. compare with your local time. you wrote too: "no need of 2 kilometers long post,..." sorry ,i'm trying do do the best that i can with my short knowledge! :oops: and he is very short. hey, we need to use the "enter" key in the middle of the phrases cos all are too large :!: thank you Dialhot :wink: David, all is ok now! i'm happy too friend. :D |
Quote:
Quote:
(that's perhaps why nobody answer me on the Italian forum :-)) Quote:
Quote:
Quote:
|
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.