How to convert MPEG-2 file to KVCD ?
Hi
I need to put an archive of MPEG-2 (svcd) of 1,4 GB in a only CD. Then I was creating an KVCD. I am using: DVD2AVI for creat the Project (creat file "projeto.d2v") and VirtualDub, with script below: ###################################Optimal script ### ############################ ## DLL Section ## LoadPlugin("C:\KVCD\AviSynth 2.5\plugins\MPEG2Dec3.dll") LoadPlugin("C:\KVCD\AviSynth 2.5\plugins\Grip.dll") LoadPlugin("C:\KVCD\AviSynth 2.5\plugins\STMedianFilter.dll") LoadPlugin("C:\KVCD\AviSynth 2.5\plugins\asharp.dll") LoadPlugin("C:\KVCD\AviSynth 2.5\plugins\unfilter.dll") LoadPlugin("C:\KVCD\AviSynth 2.5\plugins\undot.dll") # ## Main section and static filters ### # Mpeg2Source("c:\KVCD\TESTE\Projeto.d2v") # undot() Limiter() asharp(1, 4) GripCrop(352, 240, overscan=1,source_anamorphic=false)# Use anamorphic=true para filmes 16:9 e false para 4:3 GripSize(resizer="BicubicResize") STMedianFilter(3, 3, 1, 1 ) MergeChroma(blur(1.5)) MergeLuma(blur(0.1)) # ## Linear Motion Adaptive Filtering ## # ( Portions from AviSynth's manual ) # This will apply variable temporalsoften # and variable blur. # Both filters are active at all times, and work inversely proportional to the # activity, measured from current frame to next frame. ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") # GripBorders() #LetterBox( Your_Values_Here ) Limiter() ## Functions ### function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2} #vobsub("VTS_01_0.sub") # #Sampler(length=24) # But when I run the VirtualDub, appear the Message: "Avisynth open failure" Mpeg2source:couldnīt open file c:\KVCD\TESTE\SCRIPT.AVS, Line 13 Whatīs wrong??? Help me please Thanks |
You surely miss a YV12 decompressor (codec) on your PC.
Generally we all use the Xvid codec for that is does this correctly and can be used for reading xivds also (of course) :-)) Install it on you PC. If that is not the problem, then you can have done a mistake in the DVD2AVI version. Use 1.76 |
i too have same error. i have installed ver 1.77.3 dvd2avi cause i cant find 1.76 anywhere.
since installing new version, i get new error :-( evaluate: unrecignised exception! (moviename.avs, line 27) now line 27 says; mpeg2source(moviename.d2v) any help will be very welcome. regards, Dam0 |
Quote:
Quote:
2/ always put a complete path in the mpeg2source line mpeg2source("C:\KVCD\moviename.d2v") for instance. |
thanks for the tips :-)
i tried Google last night with no luck, but yahoo worked fine BTW i have full addy for the dv2 file , just thought id shorten it for forum. ok ive redone the dv2 file with dvd2avi 1.76, and now i get a diff error :-( Grrr says " i dont know what "m_width" means " im using the script given by vmesquita... ################################################## ################ # Using Kwag?s Motion Adaptive Filtering to get more compression # ################################################## ################ ############## # Parameters # ############## myanamorphic=true # change to false if on step 6 you had 4:3 instead of 16:9 #Use 720 or 352 to KDVD, 528 352 to K(S)VCD subtitle="VTS_01_0.sub" # Add a# in the beginning of this line if you don't need #subtitles or change for the name of the sub file created on step 7. movie="name_of_the_project_DVD2AVI.d2v" myoverscan=1 # Test values from 0 to 3 here. Bigger files produce more quality but #a value too big will cause undesirable black borders on your TV. MaxTreshold = 1.50 nf = 0 # Current frame. ################ ## Functions ### ################ function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } ########## # Script # ########## MPEG2Source(movie) #Resize, over scan and borders undot() Limiter() asharp(1, 4) GripCrop(m_width,480,overscan=myoverscan,Source_an amorphic=myanamorphic,dest_anamorphic=false) GripSize(resizer="BicubicResize") STMedianFilter(8, 32, 0, 0 ) MergeChroma(blur(MaxTreshold)) MergeLuma(blur(0.1)) ## Linear Motion Adaptive Filtering ## # # ( Portions from AviSynth's manual ) - This will apply temporalsoften to # very static scenes, and apply variable blur on moving scenes. # We also assign a variable - and this is why a line break is inserted: SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \ unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \ TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") # # # GripBorders() #Subtitles # ############ VobSub(subtitle) # Add a # in the beginning of this line if you don't need #subtitles. converttoyuy2() sorry about long post. Dam0 edit/ i added a value for m_width and now it works fine:-) TY for the help Dam0 |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.