Quantcast How to Convert MPEG-2 File to KVCD ? - digitalFAQ.com Forums [Archives]
  #1  
06-18-2004, 08:16 AM
Joo Nova Joo Nova is offline
Free Member
 
Join Date: Jun 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
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:couldnt open file
c:\KVCD\TESTE\SCRIPT.AVS, Line 13


Whats wrong???

Help me please

Thanks
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-18-2004, 08:20 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #3  
06-29-2004, 08:00 AM
Dam0 Dam0 is offline
Free Member
 
Join Date: Jun 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4  
06-29-2004, 10:28 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dam0
i too have same error. i have installed ver 1.77.3 dvd2avi cause i cant find 1.76 anywhere.
www.yahoo.com -> "dvd2avi 1.76" -> dozens of links whith half providing a link !!!

Quote:
any help will be very welcome.
regards,
1/ Any time you change the dvd2avi version you have to erase the dv2 and redo it from scratch.
2/ always put a complete path in the mpeg2source line
mpeg2source("C:\KVCD\moviename.d2v") for instance.
Reply With Quote
  #5  
06-29-2004, 05:12 PM
Dam0 Dam0 is offline
Free Member
 
Join Date: Jun 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
how to convert a .bin file to a kvcd mpeg? salty3142 Video Encoding and Conversion 2 06-06-2004 09:40 PM
How to Convert old MPEG files to KVCD? nighthawk Video Encoding and Conversion 24 06-01-2004 07:26 PM
KVCD with DTS Audio file? convert this file to mp2? andybno1 Video Encoding and Conversion 10 05-29-2003 11:30 AM
how to convert VCD Mpeg to KVCD? TCC Video Encoding and Conversion 5 02-16-2003 06:09 PM
Encoding: How to convert mpeg to kvcd Fly Video Encoding and Conversion 13 02-14-2003 10:47 PM

Thread Tools



 
All times are GMT -5. The time now is 04:07 AM  —  vBulletin Jelsoft Enterprises Ltd