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)

black prince 02-16-2003 09:45 PM

Guide to convert DVD to KVCD
 
How to Backup DVD to KVCD

Introduction:

I backup my purchased DVDs to KVCD for my laptop and use it as a movie player. The quality is very good even with movies over 3 hours. This guide covers a limited example (NTSC, 352 x 240, full-screen). For other variations of this, like PAL, check the forum to get other settings.

Before Getting Started:

You need to test your stand-alone DVD player to see if the KVCD, KSVCD, and KDVD formats will work. Download from the link below and burn with VCDEasy or Nero. This will help you determine which formats will play, if any, on your DVD player.
Let's go...


Download and Install Software

SoftwareMin.VersionDownload Site
DVD Decrypter  
DVD2AVI1.77.3http://arbor.ee.ntu.edu.tw/~jackei/dvd2avi/
Headac3he0.24-a12http://forum.gleitz.info/attachment....chmentid=67825
FitCD2.23http://www.afterdawn.com/software/vi...ools/fitcd.cfm
CalcuMatic http://www.kvcd.net/forum/viewtopic.php?t=5145
CQMatic http://www.kvcd.net/forum/viewtopic.php?t=5145
TMPGEnc2.521.58.169http://www.Tmpgenc.net/e_download.html
KVCD Templates http://www.kvcd.net/dvd-models.html
MPlex0.91http://www.kvcd.net/downloads/mplex.exe
VCDEasy1.1.4http://www.VCDEasy.com/VCDEasy.zip
Nero6.0http://www.nero.com/en/631934351031098.php
VideoLan Client0.8.3http://www.videolan.org/vlc/download-windows.html
AviSynth2.54http://www.avisynth.org/
Avisynth Filters http://www.avisynth.org/warpenterprises/
- MPEG2DEC3.dll  
- asharp.dll 
- undot.dll 
- unfilter.dll 
- vsfilter.dll 
- STMedianFilter.dll  


Step 1 - Ripping


Step 2 - Frameserve

Using DVD2AVI:

Go to File>open>(select a vob, e.g. vts_01_1.vob, file from Step 1)
dvd2avi will use the rest of the files
Go to Option>Preview (play 1 or 2 minutes of the video)
Watch the “Video Type” field and use the table below to set Video>Field Operation:

(1) Video Type(2) Field Operation
NTSC at 5% or higherNone (use decomb in your avs script)
FILM at 95% or lowerNone (use decomb in your avs script)
FILM only (implies 100%)Forced FILM
FILM at 96% or higherForced FILM
  • Go to Audio>Track Number>Track 1 (this usually is the English audio channel)
  • Go to Audio>Dolby Digital>Demux (this creates an .ac3 file)
  • Go to File>Save Project>(your video .d2v file)
  • When done close DVD2AVI

Step 3 - Video

Creating AVS script file:

The script below is an example for resolution 352x240, NTSC, full screen. Cut and paste this in a file named "movie.avs" or some name ending with .avs. Change the directory names for filters and the .d2v files below to your own. To change the BicubicResize parameters use FitCD to adjust these settings and AddBorders.

Code:

LoadPlugin("c:\DVD BACKUP\Filters25\MPEG2Dec3.dll")
LoadPlugin("c:\DVD BACKUP\Filters25\asharp.dll")
LoadPlugin("c:\DVD BACKUP\Filters25\UnDot.dll")
LoadPlugin("c:\DVD BACKUP\Filters25\UnFilter25\UnFilter.dll")
LoadPlugin("c:\DVD BACKUP\Filters25\vsfilter.dll")
LoadPlugin("c:\DVD BACKUP\Filters25\STMedianFilter.dll")

Mpeg2Source("F:\Temp\movie.d2v")

undot()
Limiter()
asharp(1, 4)
BicubicResize(336, 222, 0, 0.6, 0, 2, 720, 476)
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))

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) ")

AddBorders(8, 9, 8, 9)
Limiter()

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

Using CalcuMatic:
  • Video>Source>(locate your .d2v file)
  • Audio>Bitrate>128
  • Media>No. of Disks>1
  • Media>Target>80 min CD
  • VCD/SVCD Mux Overhead>(click button)
  • Calculate>(click button)
  • Results>AVG Bitrate>(write this down)
  • Results>Video Size>(write this down)
  • Results>Audio Size>(write this down)
  • close and go to Tmpgenc.
Setting up Tmpgenc:
  • Video Source>(locate your .avs script file)
  • Load>KVCD-CQ-352X240-_NTSCFilm_-Plus.mcf
  • Settings>Video>Rate Control Mode>Max Bitrate>1800
  • Settings>Video>Rate Control Mode>Min Bitrate>(from CalcuMatic [0.57*AVG])
  • Settings>Advanced>Field Order>Top Field First (Field A)
  • Settings>Advanced>Source Aspect Ratio>4:3 525 Line (NTSC)
  • Settings>Advanced>Source Range>Cut Editing>Cut except Currently Selected Area
  • File>Save Project>Save As Type>TmpGenc Text Project (*.tpr)
  • Close Tmpgenc.
Using CQMatic: http://www.kvcd.net/forum/viewtopic.php?t=5145


Step 4 - Audio


Using Headac3he:

You can adjust your audio file size based on the resulting video file size. If your video target file size is bigger than prediction reduce the audio to less than 128kb or if greater than increase above 128kb. Your Video and Audio file size must fit the target CD size, about 794MB. The remainder CD space is overhead used by Nero (about 12MB). This will all fit using overburn in Nero.
  • Select Source File> (locate your audio.ac3 file from Step 2)
  • Select Destination Format> choose type as .mp2
  • Resample>44.1khz
  • Booster>(check)
  • Options>(click twice)
  • Select Channel mode> (dual channel)
  • Select Bitrate> (choose the bitrate you want. I start with 128kb, but you can
  • adjust this depending on the room left after creating the video file)
  • Click Start
  • When finished close Headac3he (you are now ready to Multiplex)

Step 5 - Multiplex


Using MPlex:
  • Files>Input mpeg video file>(locate your *.m1v file)
  • Files>Input mpeg audio file>(locate your *.mp2 file)
  • Settings>Program Stream type>VCD (check)
  • Settings>Program Stream type>VBR(check)
  • Settings>Program Stream type>Write Program End Code(check)
  • Settings>Program Stream type>Multiplex Video (check)
  • Settings>Program Stream type>Multiplex Audio (check)
  • Settings>Program Stream type>Forced Mux Rate>0
  • Settings>Program Stream type>Start Second:>0
  • Settings>Program Stream type>End Second:>99999
  • Settings>Program Stream type>Max Size (MB)>794
  • Files>Multiplex Now!

Step 7 - Playing your Movie

After using MPlex the file created should be "movie00.mpg". Use VideoLan Client to play your newly created mpeg-1 movie for testing. It's free (PowerDVD and WinDVD are not free) and plays just about anything.


Step 8 - Burning your movie to CD-R


Since VCDEasy does not support my burner, I create an .cue and .bin file with VCDEasy and finish burning with Nero.

VCDEasy:
  • Video Types> VCD 2.0
  • ASPI>Nero
  • Bin Output file>(specify dir and file name)
  • GO>(this creates .cue and .bin files)
Nero:
  • Disc Image>(select .cue file)
  • NEXT>(click)
  • When finished test your creation.

Final Comments:

This may seem like a long process and with some movies it may well be. But the video quality is worth the effort. After doing several backups it gets easier. Please post your comments about the ease of using this guide and any corrections needed.

-black prince


If this article/guide is as helpful as a magazine or book, then consider a small donation to support what we do here. Or sign up as a Premium Member for only $20. We manually migrated several forums to The Digital FAQ Archives, thus rescuing these sites from online oblivion. The page you're reading now might have been lost, had we not saved it! Your donation goes to the upkeep of this information, as well as our ability to preserve future sites. Thanks!


urban tec 02-16-2003 11:53 PM

Nice work Black Prince, very clear and easy to understand, a good guide.

jorel 02-17-2003 12:01 AM

8O

i can't resist:
the (first) post after your tutorial!


really cool!!!!
8) 8) 8)

i want to thank you black prince,
but the words "run out" of my head.
thank you friend , i think that you made it all
for everybody but in special for me,cos i "bore" you too much,
asking about this tutorial!
my intentions was the best:
:)
BIG thank you black prince!

:D :D :D

we follow you!


editing:
second post: urban tec was faster,i was reading and "hipnotized"! 8O

TCC 02-18-2003 03:04 AM

I'm having trouble doing the video portion. This is the error I'm getting when trying to load the .avs into TMpegEnc.
http://www.digitalfaq.com/archives/error.gif

And this is the .avs file I created by copying and editing it to my specs.

LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\MPEG2DEC.dll”)
LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\LegalClip.dll”)
LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\Sampler.dll”)
LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\DustV5.dll”)
LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\TemporalCleaner.dll”)
LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\GripFit_preview.dll”)
LoadPlugin("C:\WINDOWS\Desktop\VCD Filters\DecombLegacy.DLL")
mpeg2source(D:\kvcd.d2v)
#
LegalClip()
#Telecide() #Use based on Step 2 if needed
#Decimate(5) #Use based on Step 2 if needed
GripCrop(352, 240, overscan=2)
GripSize()
SpaceDust()
TemporalCleaner()
LegalClip()
#Sampler(length=24)

What am I doing wrong here??? :(

kwag 02-18-2003 03:08 AM

Hi TCC,

Open your .avs with notepad, and check the first line of you script. I think you have a stray character there that's not supposed to be there :D

Edit: I see your problem. You're supposed to use " instead of “ as double quotes. Change all your “ for " :D

-kwag

jorel 02-18-2003 03:10 AM

Quote:

Originally Posted by TCC
I'm having trouble doing the video portion. This is the error I'm getting when trying to load the .avs into TMpegEnc.
http://www.digitalfaq.com/archives/error.gif

And this is the .avs file I created by copying and editing it to my specs.

LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\MPEG2DEC.dll”)
LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\LegalClip.dll”)
LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\Sampler.dll”)
LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\DustV5.dll”)
LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\TemporalCleaner.dll”)
LoadPlugin(“C:\WINDOWS\Desktop\VCD Filters\GripFit_preview.dll”)
LoadPlugin("C:\WINDOWS\Desktop\VCD Filters\DecombLegacy.DLL")
mpeg2source(D:\kvcd.d2v)
#
LegalClip()
#Telecide() #Use based on Step 2 if needed
#Decimate(5) #Use based on Step 2 if needed
GripCrop(352, 240, overscan=2)
GripSize()
SpaceDust()
TemporalCleaner()
LegalClip()
#Sampler(length=24)

What am I doing wrong here??? :(


editng:
Kwag is right (like ever)

see in the pic:
unexpected character <-----error (use " instead of “ )

:wink:

JeffS 02-18-2003 05:33 AM

It looks like when you copy and pasted the script you got exactly what
was on the website. This included SmartQuotes, vs. regular double quotes. Open your avs script in notepad, and retype the " character after
deleting the ones there. the Smart Quotes, look like they have a little
tail on them pointing in the direction their facing. These are not recognized by the computer, as being a quote mark.

good luck
-Jeff

Perfect Cell 02-18-2003 10:02 AM

Video and audio sync
 
Hi, it´s me again... :roll:

I´m trying to make a KVCD from Harry Potter ( The Philosopher Stone )DVD but I´m stuck. First of all, the movie is fullscreen 4:3 and 152 min, so I tried to put in 2 cd´s with 352x480. I use this resolution to make room to a higher CQ.

IN DVD2AVI the movie it´s 99% FILM and Progressive. So I tried to make the "Force Film" trick but I ended with a jumping movie ( every 3 seconds the jump occurs ). After that, I tried to make a 29,97 fps movie without "Force Film", and the movie was ok, without jumps, but in the action scenes a big horizontal line started to appear in the areas in motion.

So I read, read and read many faqs, fóruns and find some answers. I put the original project.d2s in GordianKnot to see the type of frames. The Harry Potter DVD has 3 progressives frames and 2 interlaced frames, so the wise choise it´s to use the IVTC in the Avisynth script.

So I tried this new method ( using telecide with my original 29,97 fps project ), and the horizontal lines in the areas in motion totally disapear, but the audio was desync from the video. When I watch the video in my player, the video "run" to be in sync with audio, and the effect it´s very ugly. :cry:

My audio was made with the original 29,97 fps project , and with 48 KHz, but I don´t think the problem is the 48Khz from the audio, because I made some avi to kvcd conversions and it played very good ( final KVCD with 23,97 fps NTSC 544x480 48KHz).

So someone can help me? I´ll try this night to make a sample with a 44KHz to see if the problem continues, but I like to have some other tips to find what´s going wrong with my kvcd´s. :?:

The .avs script I was using is this:

LoadPlugin("C:\Encodes\plugins\MPEG2DEC.dll")
LoadPlugin("C:\Encodes\plugins\blockbuster.dll")
LoadPlugin("C:\Encodes\plugins\legalclip.dll")
LoadPlugin("C:\Encodes\plugins\sampler.dll")
LoadPlugin("C:\Encodes\plugins\dustv5.dll")
LoadPlugin("C:\Encodes\plugins\GripFit_preview.dll ")
LoadPlugin("C:\Encodes\plugins\TemporalCleanerOld. dll")
LoadPlugin("C:\Encodes\plugins\MSharpen.dll")
LoadPlugin("C:\Encodes\plugins\DecombLegacy.dll")

Mpeg2Source("c:\harry.d2v")

Telecide()
Decimate(cycle=5)

LegalClip()

GripCrop(source_anamorphic = false, 352, 480, overscan=2)
GripSize()

#faerydust()
SpaceDust()
#pixiedust()

temporalcleaner()

Blockbuster(method="noise", variance=.3, seed=1)
MSharpen()

GripBorders()

LegalClip()

#Sampler(length=24)

Thanks in advance for all your help ! :P

Perfect Cell 02-19-2003 09:49 AM

Problem Solved ( ? )
 
I make 4 new samples with the video ( all of them was IVTC ): one with 23.97 fps ( normal bitrate from the templates ), one with 23.97 fps ( but with min bitrate set as 1150 ), a third video sample with 29.97 fps ( normal bitrate ) and a fourth with 29.97 and min. bitrate set as 1150 .

I make 2 new audio samples for the 23.97 fps and 29.97 fps. And I make another copy from the audio source for a 48KHZ and a 44KHZ.

So in the end I was with 4 video samples and 4 audio samples.

1) video sample with 23.97 ( bitrate min 300 max 2500 )
2) video sample with 23.97 ( bitrate min 1150 max 2500 )
3) video sample with 29.97 ( bitrate min 300 max 2500 )
4) video sample with 29.97 ( bitrate min 1150 max 2500 )

5) audio sample with 23.97 48KHz
6) audio sample with 23.97 44KHz
7) audio sample with 29.97 48KHz
8) audio sample with 29.97 44KHz

What I was trying to do is to see if the problem was in the conversion form 29.97 to 23.97 or the problem was in the min bitrate or in the audio.

I muxed the video and the audio samples and every 23.97 sample was a failure ( jumping video ), but the samples with 29.97 was perfect.

So I make my 2 KVCD with the video FPS set to 29.97, use the telecide to get the interlaced frames out of the video, and make a very good conversion from my DVD source. :P

TCC 02-19-2003 11:32 AM

In the above guide it says that the GOP structure should be 1-24-2-1-24 but I've seen posts about 1-5823-2-1-24. What does the 24 and 5823 do to the video if anything :?: Which is better to use :?:

Thanks

Perfect Cell 02-19-2003 11:39 AM

The 5823 it´s the Kwag name in numbers ( see your telephone ).

In really you can´t use more than 24 before the max GOP 24 stops you.
You can try other small numbers like 12 for example, but never below 7.

black prince 03-09-2003 01:48 AM

@All,

This Guide has some new updates, e.g. MovieStacker, Tok, etc.
Check it out :D

-black prince

Holomatrix 03-14-2003 07:37 AM

Great guide :) This will help alot of people out.

outi 03-23-2003 06:28 AM

tok always gives me the following error message:

"unrecognized exception!
d:\...\...\pie1.avs, line 13"

the script's this here:
#==============================================#
# -= AviSynth script by MovieStacker v1.1.1 =- #
#==============================================#

LoadPlugin("D:\Download\MovieStacker_v1.1.1\MovieS tacker\Filters\MPEG2Dec.dll")
LoadPlugin("D:\Download\MovieStacker_v1.1.1\MovieS tacker\Filters\TemporalCleanerOld.dll")
LoadPlugin("D:\Download\MovieStacker_v1.1.1\MovieS tacker\Filters\BlockBuster.dll")
LoadPlugin("D:\Download\MovieStacker_v1.1.1\MovieS tacker\Filters\DustV5.dll")
LoadPlugin("D:\Download\MovieStacker_v1.1.1\MovieS tacker\Filters\LegalClip.dll")
LoadPlugin("D:\Download\MovieStacker_v1.1.1\MovieS tacker\Filters\Sampler.dll")

Mpeg2Source("D:\dvdtemp\kvcd\pie1.d2v")
LegalClip()
BilinearResize(496, 398, 0, 0, 720, 576)
SpaceDust()
TemporalCleaner(ythresh=5, cthresh=10)
BlockBuster(method="noise", detail_min=1, detail_max=7, variance=0.3, seed=1)
AddBorders(16, 89, 16, 89)
LegalClip()

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

please help, i'm a total german newbie ;)

grover 03-23-2003 08:16 AM

I'm getting the same error. I've done a couple of KVCDs before using other methods, but I really want this way to work. Followed the instructions to the T. Still getting... First a popup error saying " " is not a valid integer value" and then on the video tab tmpeg is saying "unrecognized exception!" then it references the mpeg2source line of the .avs file. Like I said, did everything by the book, used moviestacker for the script, and I get the error every time! Help!
-grover

jorel 03-23-2003 08:25 AM

hi grover,
welcome!

"german"??
your system is pal-g, right?


don't know but it seems strange:
AddBorders(16, 89, 16, 89)
do you got this values in MovieStacker? :?

open the prog again and adjust the "blocks tv overscan"
and click in resize again!
the value is the same?

as i worte ,i think you use pal system...this values(89) is strange for me!
:)

kwag 03-23-2003 12:52 PM

Quote:

Originally Posted by outi
tok always gives me the following error message:

"unrecognized exception!
d:\...\...\pie1.avs, line 13"

Hi outi,

Make sure you used DVD2AVI version 1.76 ONLY when you made your .d2v file. Don't use version 1.77.x.

-kwag

Rassilon 04-14-2003 03:11 AM

Re: Guide to convert DVD to KVCD
 
Quote:

Originally Posted by black prince
Converting DVD to KVCD


---[QUESTION 1]---

(1) Video Type........................ (2) Field Operation

NTSC at 5% or higher............ None (use decomb in your avs script)
FILM at 95% or lower............ None (use decomb in your avs script)
FILM only (implies 100%)..... Forced FILM
FILM at 96% or higher.......... Forced FILM


---[QUESTION 2]---

When done view directory where your movie.mpg’s were created. You’ll notice
their numbered, e.g. movie00.mpg, movie01.mpg, etc. bbMPEG split
the movie and created files according to the file size 794MB for each CD.
Play the movie.mpg to see if audio and video is in sync. I use zoomplayer,
Bsplayer or radlight. If you don’t have any of these, use Windows Media
Player (WMP). Next, your ready to burn this great creation.

-black prince

Hi Black Prince,
Q1: Where do you get the % reading from when you preview the video. All I get is the video type, not a %age. Also, How and where do you put the Decomb and is this why I get a comb effect in my finished KVCD's when there is a lot of movement in my DVD's. Could you maybe give an example of a decombed script?

Q2: Also, why is it that files are split (Or created) at 794Mb instead of 694Mb when an 80Min (700Mb) CD Is specified :?

Thanks.

-Rassilon

totonho03 04-14-2003 02:39 PM

Hello all:

I can not find the DVD2AVI v1.76 software. I have tried both Doom9 and VCD help, and others, but it appears that the download site is either down or the links are not working. Have you folks run into this problem as well?
Thanks

Rassilon 04-14-2003 05:13 PM

Quote:

Originally Posted by totonho03
Hello all:

I can not find the DVD2AVI v1.76 software.
----[SNIP]-----
Have you folks run into this problem as well?
Thanks

Hi totonho03.

I too had this problem, I just did a search using www.anzwers.com.au and found some more links (This was the only search engine that I know of that actually found v1.76). Here are 2 links for you all out there that are still looking for v1.76 of DVD2AVI.

http://home.wanadoo.nl/gamecopyfreak/content/files.html
http://www.cdmediaworld.com/hardware....shtml#DVD2AVI

-Rassilon

totonho03 04-14-2003 07:38 PM

Hi Rassilon:

Thank you very much for the tip. I was able to download the file from wanadoo, now I have to keep on downloading the rest of the files in accordance to the guides found in this forum.

Thank you, muchas gtacias, muito obrigado, etc, etc

Regards

Totonho03 :P

totonho03 04-15-2003 03:49 PM

DVD to KCVD
 
Dear sirs:
I am trying to follow black prince's guide, and I am doing fine until I reach step4. What happens here is that Movie Stacker is not responding at all, it just sits there with no action. I have uninstalled and re-installed this program with the same results. Any ideas on how to get over this issue?

Thanks

Totonho03

Rassilon 04-15-2003 11:49 PM

Re: DVD to KCVD
 
Quote:

Originally Posted by totonho03
Dear sirs:
I am trying to follow black prince's guide, and I am doing fine until I reach step4. What happens here is that Movie Stacker is not responding at all, it just sits there with no action. I have uninstalled and re-installed this program with the same results. Any ideas on how to get over this issue?

Thanks

Totonho03

Hi Totonho03,

Does Movie Stacker load at all? Because from my short experience with it, it doesn't appear to to much at all, just load and sit there.. :?

If it is loading, you should see the "MPEG Resize & AviSynth Script" screen. At the bottom LH quadrant of the program screen you should see something that resembles black prince's AviSynth script. For the novice user like myself, I have found that the best way to use Movie Stacker is to select "Load" presets (Bottom of the screen in the middle) and load the appropriate preset (I used KVCDx3_528x480.pst), then click on Source (Almost at the top of the left hand corner). Select your movie source (The d2v file you made with DVD2AVI), then Save Script (Bottom Right Hand Corner). Remember where you save thid script as you will need this in your next step. :)

I have inserted black prince's example in for the script, but the pictures became artifacted, skin times tended towards yellow and black screens were green.. :( So far I've found the default to be OK except for a comb effect when there is movement and I'm investigating the decomb filter. :?

If Movie Stacker is crashing (Rather than just sitting there doing nothing), then I can't help you.. :(

I hope that this has helped. :)

-Rassilon

totonho03 04-16-2003 10:49 AM

Hi Rassilon:
Thank you for your reply. I was able to run MovieStacker, and actually I was able to perform the compression, but unfortunately, I run into another problem. All of a sudden, I have no audio. I have already upgraded all audio drivers, but still receive the message stating that there is no audio hardware or that the hardwae is not responding. Do not know what caused that, and am trying to restore the audio in my computer, but so far, nothing that I do restores the audio.
Thanks

Totonho03

totonho03 04-19-2003 05:29 PM

Hello all:

I am sorry to bother again, but I am really confused with this KVCD. I have been trying to follow Black prince's guide, and I am running into problems. To begin with, I get errors like floating decimal points, then I starting reading about the scripts- sorry, but but due to my ingnorance in these matters, I became more confused with this-, but nevertheless, loaded a couple of filters, except that I do not know where to place these filters. I am assuming that Moviestacker is where they should go, except that I do not know where and how to intall them. And once intalled, How do you manually set them within Moviescrypt, do you type them as depicted in kwags Code? Is that all you do? type that is, and TOK may recognize it automatically
Last week, I was able to go all the way to Tmpgenc, and tried burning it using Nero, except that Nero did not recognize the format that I had saved. (I erased everything and tried again, and now I am getting floating decimal errors, as well as other problems that I did not record)
As Rassilon asked a couple of days ago, where do you find the "decomb" in the avs script?

I am going to once again follow the guide, to the letter, and come back to the forum for help. Again, I do not mean to be a pain, but would like to be able to burn KVCDs. As you can detect, I am really a newie, and your help is greatly appreciated,

Thanks and Happy Holidays

P.S.- Is there a guide for Moviestacker?
Black Prince calls for Avisynth in his guide, but is it being used by another software?

totonho03 04-19-2003 10:50 PM

Hello again:
I did try to back up again, and have problems. This is my set up:

My script is:

LoadPlugin("F:\DVD Projects\1 Programs\Movie Stacker\Filters\MPEG2Dec.dll")
LoadPlugin("F:\DVD Projects\1 Programs\Movie Stacker\Filters\TemporalCleanerOld.dll")
LoadPlugin("F:\DVD Projects\1 Programs\Movie Stacker\Filters\GripFit_preview.dll")
LoadPlugin("F:\DVD Projects\1 Programs\Movie Stacker\Filters\DustV5.dll")
LoadPlugin("F:\DVD Projects\1 Programs\Movie Stacker\Filters\LegalClip.dll")
LoadPlugin("F:\DVD Projects\1 Programs\Movie Stacker\Filters\Sampler.dll")

Mpeg2Source("F:\DVD Projects\Movies\2 DVD2AVI ac3 .dv2 out\gcapril19pm.d2v")
LegalClip()
GripCrop(528, 480, overscan=2, dest_anamorphic=true)
GripSize(resizer="BicubicResize")
SpaceDust()
TemporalSmoother(radius=2, strength=3)
TemporalCleaner(ythresh=5, cthresh=10)
GripBorders()
LegalClip()

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

Mi TOK log is
===============================================
ToK Log: F:\DVD Projects\Movies\2 DVD2AVI ac3 .dv2 out\gc19appm1.avs
===============================================
Resolution (fps):528x480 (29.970 fps)
Total Frames: 1824
Total Time : 00:01:01
-------------------------------------------------------------

Audio Size: 109,305,216
Required Video Size: 641,970,236

Factor: 59.940
Desired Sample Size: 10,710,214

-------------------------------------------------------------
Prediction: 1st Group of Passes
-------------------------------------------------------------

Next CQ: 70.000. Sample Size: 5,800,370
NextCQ: 129.253 >=90, so check is needed
Next CQ: 90.000
Sample Size: 104,070

NextCQ: 9,262.221 >=90 once again, a more detailed check is needed
Next CQ: 90.000
Sample Size: 10,407

Final CQ: 90.000
Total Time For Predicition: 00:01:22

Total Time (all operations): 00:01:22

Finished
===============================================

After running TOK, I receive the following error message:

Sampler:sampler must be>=2
F\dvdProject..........\.....\videoavs, line28.
This appears at the tmpg software, and keps on running it over and over..........

I have run different .acs set ups with the same message. When running Decrypter, I used files and only the files for the main movie. I have also used Control A to highlight all files, but the results were the same. I am obviously doing sameting wrong, but do not know what. The DVD I am trying to back up is not a movie, it is a Brazlian concert, taped in NTSC format.

Thanks for your help

bman 04-20-2003 01:27 AM

Just remove Sampler() from avs script .
Close ToK .
Open Tok again , Load your avs script and click START .
bman

totonho03 04-25-2003 02:08 PM

Hello bman

Thank you for your advice. I am removing the sampler line from the scrypt with the # character.
Since I sent my last posting, I have not being able to burn a kvcd. Just to recap: I am doing fine up to TOK, and then run into problems when I hit the start command. Do not know if the problems are caused by moviestacker, TOK or the TMPGenc programs. One doubt that I have: when using TOK, should I try to load TMPGenc parameters prior to using TOK? or are the parameters automatically set by TOK.
What I am presently doing is erasing everything and re-loading the programs again. Then I will try it KVCD again, and if I run into problems I will once again post them
Tx.

Totonho03

FractalAB 04-25-2003 08:17 PM

I'm having a problem with ToK as well. When it does it's test of the avs script, TMPGEnc cannot read the file. The error is consistently dies on the following line found in the video.avs script that ToK uses to test the file for quality settings.

LoadPlugin("")

TMPGEnc continues to display that it cannot read the plugin ""

Is there a work around to this? I have successfully frame served TMPGEnc the D2V file through avisynth to resize it, but it would nice if I could get the quality setting through ToK before doing the projecct.

Best regards,
FractalAB

totonho03 05-03-2003 09:06 PM

Hi FractalAB

Quote:

I'm having a problem with ToK as well. When it does it's test of the avs script, TMPGEnc cannot read the file. The error is consistently dies on the following line found in the video.avs script that ToK uses to test the file for quality settings.

LoadPlugin("")

TMPGEnc continues to display that it cannot read the plugin code
Perhaps you have already resolved this problem, but just in case: I had a similar problem, and found that, due to deleting some files and re-installing some others, in my case, the path to the filters were not correct. Once I corrected such paths, the program worked with no problems. Again, sorry for sending this late, and hopefully your problem is already corrected.
Regards

Totonhoo3

CheronAph 05-04-2003 01:46 AM

Quote:

Originally Posted by FractalAB
I'm having a problem with ToK as well. When it does it's test of the avs script, TMPGEnc cannot read the file. The error is consistently dies on the following line found in the video.avs script that ToK uses to test the file for quality settings.

LoadPlugin("")

TMPGEnc continues to display that it cannot read the plugin ""

Is there a work around to this? I have successfully frame served TMPGEnc the D2V file through avisynth to resize it, but it would nice if I could get the quality setting through ToK before doing the projecct.

Best regards,
FractalAB

You have not specified a shortcut to your plugins, your script should look something like this,

LoadPlugin("E:\KVCD Converting\Filters\Mpeg2dec.dll")
LoadPlugin("E:\KVCD Converting\Filters\GripFit_Preview.dll")
LoadPlugin("E:\KVCD Converting\Filters\LegalClip.dll")
LoadPlugin("E:\KVCD Converting\Filters\STMedianFilter.dll")
LoadPlugin("E:\KVCD Converting\Filters\UnFilter.dll")
LoadPlugin("E:\KVCD Converting\Filters\Convolution3D.dll")
LoadPlugin("E:\KVCD Converting\Filters\DustV5.dll")
LoadPlugin("E:\KVCD Converting\Filters\textsub.vdf")

AviSource("E:\-=[ DIGITAL WAREZ ]=-\-=[ VIDEOS ]=-\Evil_Dead_2.divx5.kalbshirn.ShareReactor.avi")
ConvertToYUY2()

LegalClip()
Sharpen(0.65)
GripCrop(704, 576, overscan=4)
TextSub("E:\KVCD Converting\KVCD CACHE\Subtitles\Evil Dead 2 - Fin - 25fps - 1987.sub")
GripSize(resizer="bilinearResize")
STMedianFilter(10, 50, 0, 0, 10, 50)
SpaceDust()
unfilter(50,50)
mergechroma(blur(1.58))
mergeluma(blur(0.3))
Convolution3D(preset="movieLQ")
GripBorders()
LegalClip()

xistan 05-05-2003 05:44 AM

Hi,

Following the steps in this guide, in the prediction stages of ToK the AVS-script seems corrupt. In TMPG the preview screen states something about "division by zero" on the last line of the AVS-script. Seems to be an error message from Avisynth.

I don't have access to my computer at this time, so I can't post the failing script. I remember that the script contains a line:

interval = round((FrameRate/25)/60)/10

or something similar. This variable is later used in the last line which I dont remember but is something like

SelectFrames(round(blabla/interval)....

which could be the reason. I don't really know if this is normal or not, but it seems to be an error to me...

/C

nathan 06-03-2003 10:22 AM

I CANT OPEN HEADACH3E !
 
IT KEEPS TELLING ME THAT IT IS MISSING DLL.S
IS THERE ANOTHER PROGRAMME I CAN USE TO CONVERT FROM WAV. TO MP2?

kwag 06-03-2003 10:37 AM

Re: I CANT OPEN HEADACH3E !
 
Quote:

Originally Posted by nathan
IT KEEPS TELLING ME THAT IT IS MISSING DLL.S
IS THERE ANOTHER PROGRAMME I CAN USE TO CONVERT FROM WAV. TO MP2?

Hi athan,

LOOSE YOUR CAPS :!:

You can use TMPEG's built in audio encoder. Just open your WAV and convert to .MP2. But quality will never be the same as with HeadAC3he.

-kwag

Red-M 06-04-2003 01:54 PM

Hi,

The DLL's are at this link: http://mitglied.lycos.de/darkav/svcdguide/svcd.html , you have to put them in the same folder where you extracted Headach3e.



Red

mrj03 07-03-2003 09:21 PM

Quote:

Originally Posted by Red-M
Hi,

The DLL's are at this link: http://mitglied.lycos.de/darkav/svcdguide/svcd.html , you have to put them in the same folder where you extracted Headach3e.



Red

Could someone please post the SAMPLER.DLL file for me...

thanks....

ovg64 07-04-2003 09:57 PM

Quote:

Originally Posted by mrj03
Quote:

Originally Posted by Red-M
Hi,

The DLL's are at this link: http://mitglied.lycos.de/darkav/svcdguide/svcd.html , you have to put them in the same folder where you extracted Headach3e.



Red

Could someone please post the SAMPLER.DLL file for me...

thanks....

First one file Sampler here:http://www.jungleweb.net/~sansgrip/avisynth/

newbieman 07-06-2003 10:01 AM

Tok Problems !
 
Hello

At first a big thanks at kwag for the good guide !

But I have a problem with the avs script.
I am from germany. and i would make a copy from the dvd "The Foreigner".

I have the Problem with the moviestacker. I don't know what to do in the program. I looked at the site:http://www.kvcd.net/forum/viewtopic.php?t=3483

and i copy the script from this site.

LegalClip()

unfilter(50,50)
GripCrop( X, Y )
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0, 8, 32)
# SpaceDust() # Optional - for some "not so clean" DVDs.
temporalsmoother(1,2)
mergechroma(blur(1.50))
mergeluma(blur(0.2))
# Convolution3d or DCTFilter for extreme worse cases.
GripBorders()
LegalClip()

But it doesn't work. AH and this with the filters, i dont know what i must do. I have the Moviestacker v1.1.1 and the AviSynth 2.08 !

Please help me. Thanks

Newbieman from Germany

newbieman 07-06-2003 10:10 AM

sorry i forgot
 
Sorry i forgot.


the filters are in c:\dvd_kvcd\MovieStacker_v1.1.1\MovieStacker\Filte rs
the d2v file is here: f:\neu_video_ts\video.d2v

I used the DVD2AVI ver. 176
MovieStacker_v1.1.1
ToK_0.0.5.3
AviSynth_208

i hope you can help me !

thx

And i would do in pal !!


I have a another question !

The Sound is save to : video AC3 T02 3_2ch 384Kbps DELAY 0ms.mp2
But where is the video save to ? : my video.d2v is only 300 kb big !

getsome831 07-18-2003 04:04 PM

Is ToK suppose to only generate .m1v files while predicting, but then suck up the headac3he audio and combine them before it starts on the final .mpg? Sorry, i'm a total noob.

-g


All times are GMT -5. The time now is 09:29 PM  —  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.