digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Encoding Guide: KVCD For Newbies (http://www.digitalfaq.com/archives/encode/2683-encoding-guide-kvcd.html)

DivXerouS 02-18-2003 09:19 PM

Encoding Guide: KVCD For Newbies
 
A somwhat of a newbie here, I've been reading a lot of threads and many people say that KVCD's
Quote:

"are the way to go",
sooo after researching a little, I'm gonna try it out myself. I have been converting, screwing around for almost a year now and know TMPGEnc pretty good, inside and out, have been making XSVCD's for a while now and would like to further enhance the quality while keeping the movie on 1 CD which I think is amazing.

Considering I've never tried out KVCD;s, (actually I did but I guess I was doing something, and gave up on that) this is a completely new and different concept for me, I was looking at the guides and one was for PAL which I don't need, and the other one lost me when it started talking about AVISynth, which is another program I've been hearing about but never learned how to use it, and also will be a very new concept to grasp.

I went to the Templates page, and to begin with, WHICH template should I download ? Im confused..., their are soo many. Here are some of the specs of my movie.

__________________________________________________ ___________


VIDEO
640x480 [FullScreen DvDRip BTW]
29.970 FPS
Number of Frames - 66645 / Length [37.03]
Decompressor - 3ivx D4

AUDIO
Their is a program, which comes with AVI2VCD called Decompressor, after learning that TMPGEnc doesn't process compressed Audio to well, Sync, jerkiness..etc problems, and after experiencing some myself, I've been using Decompressor to Uncompress Audio.

41,000KHZ
2 Stereo
16 Bit
PCM Uncompressed

__________________________________________________ ___________

My movie is in actuality 80 Minutes which includes the credits
[Ninja Resurrection]

BUT I cut out the credits, and now I have 2 Parts around 37 Minutes each...I hope that doesn't complicate matters even more...

Now after thinking a little I decided to download the 90 Minute Template 704x480.

__________________________________________________ ___________

I would really like it someone helped me or guided me in some way to begin, start and make my first KVCD.

:ole:

kwag 02-18-2003 09:33 PM

Hi DivXerouS,

First take a look at the KVCD guide on tha main page at www.kvcd.net
I asume you already have some experience with AviSynth :?:
So I'll give you a script that you can try with KVCDx3, and see if you like the quality produced. This is a basic (good) script that will let you fit ~2 hour movies on one CD with KVCDx3 528x480 MPEG-1 with file prediction:


Code:

LoadPlugin("C:\encoding\mpeg2dec.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")
LoadPlugin("C:\encoding\legalclip.dll")
LoadPlugin("C:\encoding\sampler.dll")
LoadPlugin("C:\encoding\dustv5.dll")
LoadPlugin("C:\encoding\temporalcleanerold.dll")

mpeg2Source("YourFile.d2v")
LegalClip()
GripCrop( width=528, height=480, overscan=2 )
GripSize()
SpaceDust()
TemporalCleaner()
GripBorders()
LegalClip()
#Sampler(length=24)

The filters links are here: http://www.kvcd.net/forum/viewtopic.php?t=2553
and file prediction tutorial is here: http://www.kvcd.net/forum/viewtopic.php?t=2102

Your results should look something like this: http://www.kvcd.net/forum/viewtopic....ght=red+planet look for a sample in that thread :wink:

-kwag

DivXerouS 02-18-2003 09:46 PM

WOW I guess you don't know

Quote:

"What Sleep 8O"
is eh...? :lol:

I will reply back after reading some more...thanks for the quick reply and the links... and No I have NO experience using AviSynth what so ever...none...will reply soon...


P.S- are your templates designed for low motion movies or high as well, I was reading somewhere about Mpeg-1 VS Mpeg-2 and how Mpeg-1 is superior in low bitrates compared to Mpeg-2, so I was wondering if High action movies will look just as good as the low motion movies...I remember you showed me sample of the submarine movie with Harrison Ford and I was very impressed and hope to get the same results... :D

kwag 02-18-2003 09:58 PM

Quote:

Originally Posted by DivXerouS

P.S- are your templates designed for low motion movies or high as well, I was reading somewhere about Mpeg-1 VS Mpeg-2 and how Mpeg-1 is superior in low bitrates compared to Mpeg-2, so I was wondering if High action movies will look just as good as the low motion movies...I remember you showed me sample of the submarine movie with Harrison Ford and I was very impressed and hope to get the same results... :D


Yes, MPEG-1 is better than MPEG-2 for low bit rates. I prefer MPEG-1 any time :D
But for DVDs, how about ~6 hours full DVD quality 720x480 with KDVD like this: http://www.kvcd.net/kdvd-v2-sample.m2v
Does that look ok to you :mrgreen:
That's the quality you get on one DVD-R for 6 hours using KDVD :lol:
Read here: http://www.kvcd.net/forum/viewtopic....=asc&start=540

-kwag

DivXerouS 02-19-2003 09:58 PM

Very impressive,:D...ok I did some reading as to "What" KVCD is...and it sounds pretty interesting, BUT I don't understand as to what GOP Structure and Quantize Matrix/Matrices is/are, but it seems that you have managed to alter and tweak them to get the most out of the program...am I correct no ?...

I'm also trying to get a copy of "Mpeg Dymystified" to get more info, as you mentioned in one of your supporting arguments and criticisms,...now before I begin, I'm still a little confused about the templates that you have...

My movie that I will be converting is 640x480, FullScreen DvDRip and is almost a little bit lower then 80 minutes....so I have decided on converting it using the 704x480 Average 90 Minute Per CD which I think is a good choice, but I guess that is for Anamorphic/Widescreen, so considering the Pixel size, would I have to resize the movie in order to make it compatible with the template ?...please clarify a little bit on this, and please reccomend which Template YOU think would be better...

P.S:- Reading about file prediction from this website-
http://www.kvcd.net/forum/viewtopic.php?t=2102

P.S:- You still didn't answer my original question in the last post about whether or not High Action movies will look just as good as Low Action Movies...? :D

:? Confused like a mafluckpucka... :roll:

kwag 02-19-2003 10:19 PM

Quote:

Originally Posted by DivXerouS
I don't understand as to what GOP Structure and Quantize Matrix/Matrices is/are, but it seems that you have managed to alter and tweak them to get the most out of the program...am I correct no ?...

Yes. They've been heavily modified and optimized :)
Quote:


I'm also trying to get a copy of "Mpeg Dymystified" to get more info, as you mentioned in one of your supporting arguments and criticisms,...
The book is "Video Demystified". You can get that at amazon.com
Quote:


My movie that I will be converting is 640x480, FullScreen DvDRip
640x480 DVD RIP 8O What DVD is that :?: DVDs are 720x480(576) :!: Clarify this before I can suggest a template :idea:

-kwag

DivXerouS 02-20-2003 02:38 PM

Ninja Scroll Resurrection, Anime, Audio In Original Japenese with English Subtitles... well technically it's not a DVD format considering their usually Anamorphic/Widescreen, but that's the format it was PUT on the DVD...you know what I'm talkin about...


P.S:- I actually downloaded it off an FTP Server... :D

heyitsme 02-20-2003 02:46 PM

is this dvdrip a divx? Seems like it is divx given the resolution and the reason you had to decompress the audio. I am sure kwag will agree with me, the best template for your original res, would be the kvcdx3. You dont want use a template that used a higher res than the original.

Branden

DivXerouS 02-20-2003 03:26 PM

Yes your are correct, I had to install some XviD & DivX codecs for it to work...which KVCDx3 template would be best...?

In my opinion, I think the KVCDx3, Mpeg-1, NTSC Film, 528x480 would be a good choice, but IF I do decide to use this, how would I resize the movie, or would the settings in the template resize it itself... :?

kwag 02-20-2003 03:44 PM

Quote:

Originally Posted by DivXerouS
how would I resize the movie, or would the settings in the template resize it itself... :?

The settings in the script I posted above will do the resize for you automatically.

-kwag

DivXerouS 02-20-2003 09:22 PM

OK...so I just load up the Script in AviSynth and let it do the rest...then I just load the file up in TMPGEnc....?

Which template would I use then...?

You gotta take it a little slow...remember now I'm a begginner*

kwag 02-20-2003 09:24 PM

Quote:

Originally Posted by DivXerouS
Which template would I use then...?

Load the KVCDx3 :wink:

-kwag

DivXerouS 02-20-2003 09:33 PM

DAMN...now I will have to learn how to use AviSynth, GOD knows how long that'll take...I'll get back to you when I get the basics...

kwag 02-20-2003 09:35 PM

Quote:

Originally Posted by DivXerouS
DAMN...now I will have to learn how to use AviSynth, GOD knows how long that'll take...I'll get back to you when I get the basics...

It's simple. You just install AviSynth 2.07, and then you can open the .avs with TMPEG :!:

-kwag

DivXerouS 02-21-2003 02:38 PM

You know it's amazing, how some programs exist and are just impressive but you just never get a chance to try em out...Learned the basic steps, and I have to say this program is very good and kind of easy to use IF you know what your doing...now I have extracted the Audio and converted it to mp2 using headache and by using the settings from one of the guides...now in your script I need to put in the name of my d2v file, how would I convert to D2V from AVI except...ok I'm stuck after converting the audio...elaborate a little*


P.S:- I only found AviSynth 1.0 Beta from the Authors website...? please put a link for the newest version if you can... :D

kwag 02-21-2003 04:01 PM

Quote:

Originally Posted by DivXerouS
how would I convert to D2V from AVI except...ok I'm stuck after converting the audio...elaborate a little*

Just use AviSource("Yourfile.avi") instead of mpeg2dec("Yourfile.d2v") :wink:
Quote:



P.S:- I only found AviSynth 1.0 Beta from the Authors website...? please put a link for the newest version if you can... :D
http://sf.net/projects/avisynth2

-kwag

DivXerouS 02-21-2003 10:44 PM

So this is what it should look like right....

Quote:

LoadPlugin("C:\encoding\mpeg2dec.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")
LoadPlugin("C:\encoding\legalclip.dll")
LoadPlugin("C:\encoding\sampler.dll")
LoadPlugin("C:\encoding\dustv5.dll")
LoadPlugin("C:\encoding\temporalcleanerold.dll")

AviSource("Ninja Resurrection [1].avi")
LegalClip()
GripCrop( width=528, height=480, overscan=2 )
GripSize()
SpaceDust()
TemporalCleaner()
GripBorders()
LegalClip()
#Sampler(length=24)
but when I change the extension to .AVS from .txt it says

Quote:

Load Plugin: Unable to load "C:\encoding\mpeg2dec.dll"
[Pathname of my file.avs LIne 1
do I need a filter or am I doing something wrong...? or do I just load the .AVS file directly into TMPGEnc...?

black prince 02-21-2003 10:50 PM

@DivXerouS,

Yes, just load the .AVS file directly into TMPGEnc :wink:

-black prince

DivXerouS 02-21-2003 11:04 PM

I did it says the file will be 3.33 MB's...I loaded the template and then loaded the .AVS file and it says that the file is only 11 Secs, and the MB settings are greyed out, as well as the media type settings....

WTF is going on ?

kwag 02-21-2003 11:13 PM

Hi DivXerouS,

Do you have all the DLLs in your "C:\encoding\" directory :?:

DivXerouS 02-22-2003 05:04 PM

Hmm...I don't even seem to have that folder in my C:\...plus where can I download the .dll's...?

Shouldn't AVISynth Automatically install the .dll's...? downloaded the AviSynth 2.0 Version. :?

kwag 02-22-2003 05:06 PM

Hi DivXerouS,

Download "MovieStacker". All DLL's are included in the package :wink:

-kwag

DivXerouS 02-23-2003 10:46 AM

sorry for the late reply, I've been kinda busy...well anyway, I downloaded MovieStacker as you suggested and looks like a pretty cool program. I also saw your templates which were included with the program, very cool. BUT now here's the problem (yet again) I loaded your KVCDx3 template and saved the script file. Now when I load it up in TMPGEnc, it seems to not respond... Is their a manual for using the program correctly, cuz this is also a new program for me... :?

DivXerouS 02-23-2003 11:34 AM

Since TMPGEnc freezes up when I try to load the .AVS script file, I've decided to resize using VirtualDubMod (first time resizing BTW), well everything goes well, until it gives the following error

Quote:

AviSynth Open Failure
Unrecogonized Exception
(Path name of my file.avs, Line 17)

now I'm not sure as to what is wrong, but I guess it's not loading right... I used the KVCDx3 580x480 presesttings from MovieStacker. Here's the script :-

Quote:

#==============================================#
# -= AviSynth script by MovieStacker v1.0.0 =- #
#==============================================#

LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\Mpeg2Dec.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\TemporalCleanerOld.dll ")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\GripFit_preview.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\BlockBuster.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\DustV5.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\LegalClip.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\Sampler.dll")

AviSource("C:\WINDOWS\Desktop\-= (.) =-\Video\Ninja Resurrection [1].avi")
LegalClip()
GripCrop(528, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="BilinearResize")
SpaceDust()
TemporalCleaner(ythresh=5, cthresh=10)
BlockBuster(method="noise", detail_min=1, detail_max=7, variance=0.3, seed=1)
GripBorders()
LegalClip()

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

if's it's not the script it's probably the program...I'm going to have to find another way to resize now... problem after problem... :cry:

kwag 02-23-2003 01:12 PM

Get rid of this path: C:\WINDOWS\Desktop\-= (.) =-\Video\
and put your stuff in a place like C:\Movies\Temp\ or something like that.

-kwag

DivXerouS 02-23-2003 05:47 PM

Done* but why should I do that though ?

DivXerouS 02-23-2003 05:55 PM

now when I try to load up the .AVS file into either VirtualDubMod or TMPGEnc, it seems to just crash, with the red warning and I have to hit the close button...? :cry:

kwag 02-23-2003 06:56 PM

Quote:

Originally Posted by DivXerouS
Done* but why should I do that though ?

Because of these characters: -= (.) =-

-kwag

kwag 02-23-2003 06:57 PM

Quote:

Originally Posted by DivXerouS
now when I try to load up the .AVS file into either VirtualDubMod or TMPGEnc, it seems to just crash, with the red warning and I have to hit the close button...? :cry:

What is the red warning :?:

DivXerouS 02-23-2003 07:53 PM

Program has performed an illegal operation

both of them give the same error...?

kwag 02-23-2003 08:09 PM

Quote:

Originally Posted by DivXerouS
Program has performed an illegal operation

both of them give the same error...?

Try a script just like this:

Code:

#==============================================#
# -= AviSynth script by MovieStacker v1.0.0 =- #
#==============================================#

LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIESTACKER V1.0.0\MOVIESTACKER\Filters\Mpeg2Dec.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIESTACKER V1.0.0\MOVIESTACKER\Filters\TemporalCleanerOld.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIESTACKER V1.0.0\MOVIESTACKER\Filters\GripFit_preview.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIESTACKER V1.0.0\MOVIESTACKER\Filters\BlockBuster.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIESTACKER V1.0.0\MOVIESTACKER\Filters\DustV5.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIESTACKER V1.0.0\MOVIESTACKER\Filters\LegalClip.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIESTACKER V1.0.0\MOVIESTACKER\Filters\Sampler.dll")

AviSource("C:\YourPath\YourMovie.avi")

That is, remove everything below the AviSource line, and see if it opens in TMPEG. If it does, then it's a problem or interaction with your avi and one of the filters.

-kwag

DivXerouS 02-23-2003 08:15 PM

I'm a complete ass, the previous script I created had the pathname of the file where it was previously located, so thus both the programs were crashing, BUT I created a new script and it seems to have the same line 17 error, tried moving the file to a different path, still the same problem, now I will try your script and get back to you... :roll:

DivXerouS 02-23-2003 08:59 PM

I removed everything below the AVI Source line and what you know...it works...so I guess their is something wrong with the AVI, so I scanned it for errors using VirtualDubMod and no errors, now when I load it in TMPGEnc, instead of loading it right away, it seems to be

Quote:

Judging field order
what does that mean...? I've never had it done that before, on top of that it takes a while for it to Judge field order and actually load it up.

Well anyway just to check IF something is wrong with the filters I'm gonna try each of them 1 by 1 to see up will where it will load up... :(

DivXerouS 02-25-2003 08:53 PM

Well it seems that IF I change the settings and leave them up till

Quote:

#==============================================#
# -= AviSynth script by MovieStacker v1.0.0 =- #
#==============================================#

LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\Mpeg2Dec.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\TemporalCleanerOld.dll ")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\GripFit_preview.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\BlockBuster.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\DustV5.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\LegalClip.dll")
LoadPlugin("C:\WINDOWS\DESKTOP\PROGRAMS\KVCD\MOVIE STACKER V1.0.0\MOVIESTACKER\Filters\Sampler.dll")

AviSource("C:\Yusuf\Movies to Convert\Ninja Resurrection [1].avi")
LegalClip()
GripCrop(528, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="BilinearResize")

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


and take everything out after Temporal cleaner which it says I need something for it to work...it loads up fine in VirtualDub...so I guessyour gonna have to tell me some Manual way to do all that...

BTW, I have a 450MHZ K-6 Processor, Windows 98 Second Edition, No Graphics Card, it's a dinosaur but it runs pretty well.

So what should I do now...? do you think I should just continue with the resizing and we could move on to the next step from their*? :?

DivXerouS 03-14-2003 02:54 PM

Hello... !? Anyone alive...

rendalunit 03-14-2003 03:01 PM

Quote:

Originally Posted by DivXerouS
BTW, I have a 450MHZ K-6 Processor, Windows 98 Second Edition, No Graphics Card, it's a dinosaur but it runs pretty well.

:?: no graphics card? <- you lost me there :roll:

dazedconfused 03-14-2003 04:43 PM

Ren, I'd assume DivXerouS meant that he's using on-board graphics rather than a separate pci or agp card :?:

I'm certainly no pro :oops: , but isn't it generally recommended to have at least a P3 1GHz or equivalent to run the programs necessary for "KVCD-ing"? How much memory do you have DivXerous? I've seen a few programs lock-up or run poorly on a friend's PC that has similar specs to yours with only 128MB memory. Perhaps that pet dinosaur of yours is just a wee bit too....well...prehistoric, for the task at hand? :cry: :wink: Hope you figure something out. Good luck.
-d&c

rendalunit 03-14-2003 05:21 PM

DivXerouS,

Do you get an error when encoding a DVD source?

Maybe the cpu settings in TMPGenc are causing the problem :?: Try unchecking SSE and MMX.

ren

DivXerouS 03-15-2003 02:28 PM

This project is scrapped, PC is just too old to handle such complicated projects you are right, 56.0 MB Ram...I'm really sorry I had a very nasty hardrive problem, and the technician told me that the PC cannot handle video encoding/ processing too well, hardrive got burned twice, very nasty...but the thing is that I can still encode using basic TMPGEnc templates that come with the program...hopefully when I get an upgrade I will be able to make a KVCD... :(

*Delete this topic*


All times are GMT -5. The time now is 02:35 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.