digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Guide to convert DVD to KVCD (http://www.digitalfaq.com/archives/encode/2654-guide-convert-dvd.html)

kwag 07-18-2003 04:37 PM

Hi getsome831,

Yes. But you must have already encoded your audio to .mp2, and add it to ToK. Then when it finished the encode ( the .m1v ), it will multiplex the .m1v and the .mp2 into a .mpg fie.

-kwag

keigan1888 08-28-2003 06:19 PM

hi all

i'm trying to follow your guide but i'm stuck at TOK section i've put script on moviestacker and it saves as avs file, when i open avisynth script in TOK i get error **invalid floating point error**

Where am i going wrong ???

sorry if it a daft question it my first KVCD

i'm using this file as requested in guide

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
Mpeg2Source("Your_D2V_Source_Here")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(Your_GripCrop_Parameters_Here)
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()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####


Is this correct ??

thanks in advance :oops:

smitdawg 09-07-2003 11:24 AM

Same problem... "Invalid Floating Point" when i try to load up the avs

LoadPlugin("E:\Video Manipulation\Video Software\DVD to KVCD\MovieStacker\MovieStacker\Filters\MPEG2Dec.dl l")
LoadPlugin("E:\Video Manipulation\Video Software\DVD to KVCD\MovieStacker\MovieStacker\Filters\TemporalCle anerOld.dll")
LoadPlugin("E:\Video Manipulation\Video Software\DVD to KVCD\MovieStacker\MovieStacker\Filters\GripFit_pre view.dll")
LoadPlugin("E:\Video Manipulation\Video Software\DVD to KVCD\MovieStacker\MovieStacker\Filters\BlockBuster .dll")
LoadPlugin("E:\Video Manipulation\Video Software\DVD to KVCD\MovieStacker\MovieStacker\Filters\DustV5.dll" )
LoadPlugin("E:\Video Manipulation\Video Software\DVD to KVCD\MovieStacker\MovieStacker\Filters\LegalClip.d ll")
LoadPlugin("E:\Video Manipulation\Video Software\DVD to KVCD\MovieStacker\MovieStacker\Filters\Sampler.dll ")

Mpeg2Source("C:\FERNLOTH\FERNLOTH.d2v")
LegalClip()
GripCrop(352, 240, overscan=1)
GripSize(resizer="LanczosResize")
GoldDust()
TemporalCleaner()
BlockBuster(method="noise", detail_max=7, seed=1)
GripBorders()
LegalClip()

Sampler(length=24)
## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size * .98 ##


---------------------------
not sure what to do

danny 09-10-2003 11:23 AM

Headac3he: http://darkav.de.vu/

this is an old one but there is a new version with the dlls(drivers)

it is not in the main site http://darkav.de.vu/ even though it has the name with a link but it takes you to the old version and drivers

i went to doom9.org to get it however, question is those this new version contain the all the drivers needed?

i see alot of people having errors also, this is a good guide and i want it too work

danny 09-10-2003 03:33 PM

Damn, now Headac3he2a the new version is not even running.

After i put the ac3 file and then the output to be mp2 and do the stuff what blank prince tells you to do, Windows XP gives me an error saying that it is responding and closes it, i removed the Headac3he2a and installed over and over but it still doesnt want to run

whats happening?

jorel 09-10-2003 04:38 PM

Quote:

Originally Posted by danny

whats happening?

what's happening?
you download the wrong version!

what is the CPU of your pc :?:
athlon xp,p4..... :?: :?:

danny 09-11-2003 09:04 AM

Quote:

Originally Posted by jorel
Quote:

Originally Posted by danny

whats happening?

what's happening?
you download the wrong version!

what is the CPU of your pc :?:
athlon xp,p4..... :?: :?:


it is an athlon processor and it runs at 950 mhz, thank you. i guess i will try a different one , i will come back with the results

im guessing athlon xp all are 1ghz of speed

danny 09-11-2003 08:38 PM

damn, i solved the first problem but now im getting this one, sorry for the Image for being so large, i forgot to shrink it


http://www.digitalfaq.com/archives/error.gif


it keeps giving me that the AC3 file is corrupt, i ran DVD2AVI to create a different AC3 file but it keeps giving me the same thing.

Dialhot 09-12-2003 03:24 AM

The solution of your problem is probably here :

http://www.kvcd.net/forum/viewtopic....t=ac3fix#31661

danny 09-12-2003 07:34 AM

thank you so much bro, i will give it a go and see whats up

birdiestremph 09-16-2003 11:44 PM

once done encoding movie skips minutes at a time.
 
Hi, I followed the post above, its really helpful and it was really nice to post it!! I am having a problem though, when I go into Tok it loads tmpg.exe three times, the first time it is only open for a short time and no errors, the second time it is open for a short time but gives me an error of:

Division by zero, line 31.

it says this error is in the script file that is generated by this process. The error is not in the script file that i use for this process. I am using the default kvcd script file included with movie stacker.

The biggest problem is that my result movie skips huge parts of the movie(maybe 30 seconds to a minute) and then plays about 3 seconds. It keeps doing this through the whole movie. Anyone know whats up??

Here is the script file im using btw(its the default one):

#================================================= =====#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#================================================= =====#

LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\STMedianFilter.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\UnFilter.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\LegalClip.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Sampler.dll")

Mpeg2Source("C:\dvd\office.d2v")
LegalClip()
BilinearResize(496, 446, 4, 0, 712, 480)
STMedianFilter(10, 50, 0, 0, 10, 50)
UnFilter(50, 50)
TemporalSmoother(1, 2)
MergeChroma(blur(1.58))
MergeLuma(blur(0.3))
AddBorders(16, 17, 16, 17)
LegalClip()

Sampler(length=24)
## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size * .98 ##

Anerboda 09-16-2003 11:56 PM

When you're using ToK you don't need this line:
Quote:

Sampler(length=24)
Remove it from your script or put a # in front of it so it looks like this:
#Sampler(length=24)
Now load your script into ToK and try again.
The reason you don't need it is because ToK use it's own sampler function.
Anerboda

birdiestremph 09-17-2003 12:25 AM

hmm
 
thanks so much, everything seems to be working now :)

birdiestremph 09-17-2003 12:28 PM

hmm
 
One more problem, this one is probably small :) Tok outputs the video file fine now, but it outputs it as a .m1v file. This file is unreadable by nero, I tried changing the extension to .mpg by hand. Nero will then recognize the file, but cant analyze it for burning ... thanks again for any help.

kwag 09-17-2003 03:43 PM

A .m1v is a VIDEO stream. It doesn't contain audio. You must encode your audio to .mp2, and multiplex your .m1v and .mp2 together, to create a .mpg.

-kwag

birdiestremph 09-17-2003 03:57 PM

hmm
 
thanks bud, I was so impressed with the quality of the video output. These boards have been so helpfull too, you guys are awesome.

Drisanna 09-25-2003 08:54 AM

Re: Guide to convert DVD to KVCD
 
Quote:

Originally Posted by black prince
Converting DVD to KVCD


Go to Bitrate and make sure your max bitrate is correct for the
resolution you picked (e.g. 352x240 with max bitrate 1800)
-black prince

First I want to thank you very much for your extremely helpful guide. It has taken me from "WTH???" to making very nice quality KVCDs.

Is there a place where I can get a list of the "correct" maximum bit rates for the available resolutions? If this has already been asked and answered, I apologize for missing it. Thanks in advance for your help.

CheronAph 09-25-2003 11:04 AM

Hi Drisanna and welcome, I always use the suggested bitrates min 64 max 3000 for every template! Check, http://www.kvcd.net/portal/articles.php?lng=en&pg=20

Drisanna 09-25-2003 11:18 AM

Thanks so very much for your prompt response. I'll set mine up that way and let it fly. :)

DragonZeal 10-26-2003 01:16 PM

I'm having a problem with kvcd when I'm following this guide.
I always result in an 180Mb file. I think it has something to do with sampler.
Can somebody help me?


All times are GMT -5. The time now is 05:56 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.