digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   DVD2SVCD: Easy and Fast KVCD Guide by Bazzy (http://www.digitalfaq.com/archives/encode/10210-dvd2svcd-easy-fast.html)

bazzy2004 06-10-2004 01:28 PM

Easy and Fast KVCD Guide.. by Bazzy
 
http://www.asimshah.ho8.com/kvcdguides/

First Guide by Moi :lol:
Thought i would make for the beginners, and advanced users can also tweak and make changes...

Hope it Helps... :wink:

Bazzy

edited... i hope it help too!
for that great guide, download the tools needed in the links:

DVD2SVCD: http://www.dvd2dvd.org/ (D2S install ROBA if choosed)

D2SRoBa: http://home.tiscali.no/tylohome/

DVD2KVCD: http://home.tiscali.no/tor1234/BurnOut.exe

TMPGEnc: http://www.pegasys-inc.com

CCE 2.50, 2.66 or above: http://www.cinemacraft.com/eng/home.html
observations: CCE250 run faster than CCE266 or above in Athlons,
you can find demo versions of 250 and 266 in
http://www.doom9.org/index.html?/software.htm
http://www.doom9.org/software2.htm#mpeg2encs

FACAR: http://www.geocities.com/r6d2_stuff/
*recomendations: "Overscan & Horizontal resolution finder",
Helps you measure/tune your TVs's overscan and know its horizontal resolution
http://www.geocities.com/r6d2_stuff/

congrats Bazzy :!: :bowdown: :drunkard: (jorel)

password 06-11-2004 02:33 AM

thanx bazzy for the guide and the jerky movies tip ( i encoded a 528x480 movie and it was jerky but thanx to your settings it worked) but i was going to ask you is it the same way for dvd sources cause i saw you used a .avi ? and where do you get facar and facar detectborders? thanx

Dialhot 06-11-2004 04:06 AM

Quote:

Originally Posted by password
is it the same way for dvd sources cause i saw you used a .avi ?

And that is a big error in this guide ! ( :bowdown: excelent guide btw).

You MUST'NT use the MA script for a divx :!:
I did scripts especially for that and you should take them there :
http://www.kvcd.net/forum/viewtopic.php?t=7221

Quote:

and where do you get facar and facar detectborders? thanx
You don't need that if you use a script with gripcrop.

password 06-11-2004 04:32 AM

Phil i tried using your scripts and even adding the filters recomended but it no one can help me cause it does not create the "TMPGEnc_Project_file_KVCD.tpr" (its blank and dvd2kvcd stops cause it has nothing to do) i even uninstalled dvd2svcd even deleted the folder, resetted my computer, and reinstalled dvd2svcd. i added the dvd2kvcd plugin and i switched to tmpgenc 2.52x from 2.59x plus and it wont work like it did before. ERRRRRRRRRRRRR!!!!!!!!! :angryfire: somebody please help!!!!!!!!!!
thanx

bazzy2004 06-11-2004 08:22 AM

yeh.. same process for dvd
 
yeh i used the avi just as an example.. but its mainly the same procedure...

bazzy2004 06-11-2004 08:26 AM

facar
 
facar is found at the following...

website - http://www.geocities.com/r6d2_stuff/

download - http://www.geocities.com/r6d2_stuff/...CAR_1.06.7.zip

i m also working on the kdvd guide...

bazzy...

password 06-11-2004 11:41 AM

thanx bazzy im doing charlies angles full throttle at 528x480 ( P.S. it is full screen ) but it says its encoding to 480x480. o well. any suggestions? thanx

bazzy2004 06-11-2004 12:03 PM

yeh..
 
dont worry about tht... it says svcd 480x480, but if u use the original ma script with no changes... it will be 528x480, due to the gripcrop... but if u are good at this kind of stuff.. u can edit the script after copy pasting to get 528x480

i am working on it now.. if it succeeds i will post n tell u how to, nevertheless... use the original ma script which is loaded when u choose tht size in the plugin.. tht is if u cant wait :wink:

password 06-11-2004 12:50 PM

thanx again bazzy. what r un working on? o well i will still wait cause you have a solution to every problem i have (a step ahead of me and getting me out of every hole i step in to) :D thanx

bazzy2004 06-11-2004 01:30 PM

trying to...
 
i am trying making a 704x480 skvcd.. but i am also trying to edit the pasted facar scipt, so the the size is 704, and not 720, if it works, then u can also make 528x480 using facar script... because normally.. the facar script works to the the size dvd2svcd shows (svcd 480x480/576, vcd 320x240/288, etc...)

also keeping in mind tht u will have the correct resizing n cropping on your tv... with the whole picture showing, and the best compression to quality ratio possible...

hope u understood...

password 06-11-2004 03:53 PM

thanx bazzy

password 06-11-2004 03:54 PM

bazzy u said "also keeping in mind tht u will have the correct resizing n cropping on your tv... with the whole picture showing, and the best compression to quality ratio possible... " how do i do that (expecialy if it does every thing automatic)? and does it make a difference that i do mpeg1(never use mpeg2)? also what resolutions and/or settings do you recommend for full screen and wide screen? thanx

bazzy2004 06-11-2004 06:19 PM

re..
 
the thing is... you dont do tht... facar script does that, automatically.
thts what i was trying to explain. it uses the correct overscan, and adds the borders according to the size of the source...

with lower bitrates, mpeg 1 works best... but if u decide to use mpeg 2.. u will notice more blockiness.. but it doesnt hurt to try

i have made both kvcds and also skvcds, and both work fine.. but i have to admit, i have the best results from kvcds.

best resolutions for widescreen and fullscreen.. hmmm, theres no right answer... becuz..

if you have a widescreen source... facar will resize it in the give resolution and will appear correct on the tv, also counts for fullscreen..

but for fullscreen, i would use lower resolutions.. 352x480/576 is a good choice, and for widescreen, i would use 528x480.

hope it helps...

jorel 06-14-2004 05:41 PM

Re: facar
 
Quote:

Originally Posted by bazzy2004
facar is found at the following...

website - http://www.geocities.com/r6d2_stuff/

download - http://www.geocities.com/r6d2_stuff/...CAR_1.06.7.zip

i m also working on the kdvd guide...

bazzy...

bazzy,that a look in that pictures:
http://img12.imageshack.us/img12/675...doverscan1.jpg
http://img18.imageshack.us/img18/384...doverscan3.jpg
see that the first picture using fitcd overscan1,show the same as the second picture from fitcd overscan3...same details within the borders without loose parts of the scenes(pictures)
now see that using Facar:
http://img12.imageshack.us/img12/9291/facar1.jpg
see that i'm loosing part of the picture within the borders(the chickens on the left and in the right are loose).
i posted the same in the doom9 Facar thread:
http://forum.doom9.org/showthread.ph...972#post510972
waiting for r6d2 answers! :wink:

bazzy2004 06-14-2004 05:57 PM

Yes, i notice that also, it should work correctly... or might be something wrong with the script. But i dont understand what... lets look forward to r6d2's answer...

thanx for letting me know.

:D

jorel 06-15-2004 05:21 AM

Quote:

Originally Posted by bazzy2004
Yes, i notice that also, it should work correctly... or might be something wrong with the script. But i dont understand what... lets look forward to r6d2's answer...

thanx for letting me know.

:D

@ bazzy and all
after slow comparisons i got this conclusion:

what we gain in the right/left using fitcd overscan(1,2 or 3), we loose in the top/bottom.
compare the size of the black borders in top/bottom of Facar...
have less black bordes and with fitcd overscan have more.
means that with overscan we don't get real gain and the black borders in right/left from Facar are "invisibles" in the tv(4:3)
....resuming my "explanation":

fitcd overscan ---> less black borders in right/left from fitcd overscan (that are invisibles in tv, then are irrelevants) and true loose in top/bottom(too big black borders)
you loose more in top/bottom than gain in left/right.

FACAR ---> less black borders in top/bottom with facar(the real gain)and "invisibles" left/right borders in tv!

ps: in the end what we can think or feel as "loose" using Facar is the "true gain"!
that pictures are some more prooves, only need atention in all details!

i posted the same in the Facar thread in d9!

i only change the default 0.05 to 0.03 in OverscanH/OverscanV in Facar to get perfect results in my tv after long tests!

:!:

bazzy2004 06-15-2004 05:57 AM

ok so let me get this right...

with fitcd, u dont lose any pictures from the sides.. but this infact increases the borders on the top and bottom, so u get a smaller picture overall, with 2 huge black borders

correct ?

n with facar.. is actually cuts the overscan from left and right, while keeping the correct size borders on top and bottom. so we increase the compression, while getting rid of the normally unseen area of the picture on tv.

correct ?

but both ways have advantages and disadvantages

advantage with fitcd - u have the whole picture on the screen
disadvantage - u have huge black borders on top and bottom, small picture size

advantage with facar - u have a good sized picture, no huge top n bottom borders. n removes the unseen overscan part of image which is not normally seen on tv.
disadvantages with facar - the part of picture removes from left and right might result in loss of important picture during the movie.. (but i guess it would not be so bad... since it would normally not be seen)

conclusion - facar has my vote.. and it works pretty well, nice job r6d2 - n also thanx to Jorel for bringing this point up... hope i have been correct... n of some help...

:)

jorel 06-15-2004 06:18 AM

8)
you're correct in everything bazzy, include about r6d2 nice job :!:
...(wow, someone understood what i mean) :lol:
your explanations are really clever than mine. Facar have my vote too.
i only change OverscanH/OverscanV to 0.03 for my personal taste
....or better, for the taste of my tv .
(i did technics adjusts of height/width in my tv to get extreme details in the borders)
:)

DKruskie 06-15-2004 08:30 AM

I tried to install the dvd2kvcd plugin and keep getting this
Autolt Error
Line 1223:
RunWait, "C:\\DVD2SVCD\\\\D2K\\AutXtra.exe" *clipboard
Error: Unable to run program(Ensure that backslashes have been used properly)

Does anyone know what causes this?




David

password 06-15-2004 01:49 PM

DKruskie i had the same problem. so what worked for me, is that i also installed kvcdlite. but you double click it and close every thing that pops up. then it will install d2k folder to the directory with to .ini files. if all goes well, double click dvd2kvcd plugin and your on your way to make a awsome quality kvcd. :D
P.S. what cause this it because it's trying to run something from a folder that doesn't exist (d2k)

bazzy2004 06-15-2004 01:50 PM

download the lite version...
put it in the dvd2svcd folder
run it, select the tmpgenc .exe file, click ok, then close the lite version

bada bing bada boom...

the plug in should be working fine...

hope it works for u

kwag 06-15-2004 02:17 PM

Quote:

Originally Posted by jorel
FACAR ---> less black borders in top/bottom with facar(the real gain)and "invisibles" left/right borders in tv!

FACAR is cropping too much the sides :!:
There's a lot of movie area lost.
It's incorrectly scaling/resizing the image.

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

FitCD 1 block overscan
http://www.digitalfaq.com/archives/error.gif

For that resolution, it should use 2 blocks overscan, which would add another 16 black pixels (8 on each side), and when played back on the TV, it would be streched correctly and flush with the edges.

The FACAR size will stretch to the edges, but the cropping has already killed part of the movie on the sides.


-kwag

DKruskie 06-15-2004 04:02 PM

Thanks password and bazzy that did the trick :D





David

bazzy2004 06-15-2004 05:29 PM

@kwag

sorry u maybe not understood, its true, tht facar looses some of the picture, but thts totally its point!

wen u watch a dvd movie on your tv, that part of the picture is indefinately not seen, so facar removes tht totally.. so u save space, becuz u r not encoding the full picture.

if u go on the facar website it says

"as seen on tv"

meaning u see the same picture, thats you would on tv wen u put a dvd in. (as it is meant for dvd sources)

as u can see Fitcd does the same thing, but that overscan which it tries to put in, is not enough.. the facar way is a lot more presice.

Overall... best for kvcds, kdvds, ksvcd and wotever else k___ u can get :lol:

Dialhot 06-15-2004 05:54 PM

Quote:

Originally Posted by bazzy2004
as u can see Fitcd does the same thing, but that overscan which it tries to put in, is not enough.. the facar way is a lot more presice.

I don't want to be rude but according to the snapshot done by Kwagn you're definitely wrong there ! The border added (the cut part if you prefer) by FACAR is far too big :!:

A correct overscan is generally 16 pixels widh. Here I can tell easily that the border is at least 32 px large :-(

But I also agree that the one used by Kwag is to thin and some of the picture he encodes will probably be cut by the overscan of the TV.

kwag 06-15-2004 05:54 PM

Quote:

Originally Posted by bazzy2004
@kwag

sorry u maybe not understood, its true, tht facar looses some of the picture, but thts totally its point!

wen u watch a dvd movie on your tv, that part of the picture is indefinately not seen, so facar removes tht totally.. so u save space, becuz u r not encoding the full picture.

Right, when you watch the DVD. Wrong if you watch a properly encoded movie :!:
You only crop the necessary pixels, in order to maintain the correct aspect ratio when resizing, then you add blocks overscan so when you playback on the TV the picture is stretched flush with the edges, and you only loose a very minimal amount of pixels.
Quote:


if u go on the facar website it says

"as seen on tv"

meaning u see the same picture, thats you would on tv wen u put a dvd in. (as it is meant for dvd sources)
Sure, as seen on TV, is loosing A LOT of video, unless you follow the correct crop/resize/overscan techniques, and then you see "More of what's seen on TV" :lol:
Quote:


as u can see Fitcd does the same thing, but that overscan which it tries to put in, is not enough.. the facar way is a lot more presice.

Overall... best for kvcds, kdvds, ksvcd and wotever else k___ u can get :lol:
As I said. That movie with 2 blocks overscan wil look far better, because with 2 blocks overscan, there are far less pixels to encode, while still preserving the correct and accurate aspect ratio.

So FACAR people better read and learn the correct math here ;)
http://www.uwasa.fi/~f76998/video/conversion/

-kwag

aceituna2000 06-15-2004 06:09 PM

Dear bazzy2004:
When I open DVD2KVCD, after the first screens, instead of AVI2VCD, I get DVD2VCD, and it loads .IFO files instead of .AVIs.
What do I have to do?

aceituna2000 06-15-2004 06:35 PM

I found it! I was too anxious.

When you do the last preview before encoding: should it look stretched, like the previous ones, or should it look with the correct aspect ratio?

Dialhot 06-15-2004 07:38 PM

The preview in DVD2SVCD never gives correct aspect ratio. So don't bother.

aceituna2000 06-15-2004 09:34 PM

Ok, though itīs a strange preview. Thanks, Phil.

I started encoding and something strange happened: in the DVD2KVCD screen I selected a 528X480 resolution. But the Tmpgenc settings show a destination resolution of 480x576, aspect ratio of 1:1, and a source of 4:3 aspect ratio, video arrange method=Full screen.
Is this normal?!

bazzy2004 06-16-2004 08:09 AM

if u want to use 528x480/576 then dont change to using the facar script, use the original ma script that is already written.

that should work - in simple words - after u have finished with the plugin - dont change anything in the frameserver tab

:D

aceituna2000 06-16-2004 08:39 AM

You mean that I donīt have to make any copy & paste ?
Thank you.

jorel 06-16-2004 11:00 AM

Phil, Kwag, bazzy and all.
it's hard to me explain but i will try why i posted about it:
frist...the image that Kwag posted i did here and are with 80% of the real size cos the site to post don't acept more resolution.

second: the new Moviestacker IS buggy and give me wrong results.

Phil, like you posted the preview in d2s can show wrong ARs.
i use the script from d2s when in "edit as part of video encoding" open the script and you can change what is needed, click save (but don't click OK),load the script in vub and see the AR,that's the right way to see how the script will work before encode in d2s.

using overscan1 from fitcd you see the chickens in left/right but you don't see in the tv and it give big blackborders on top/bottom.
#LanczosResize(704,352,0,0,720,480)#overscan1
#AddBorders(8,64,8,64)

using overscan2 from fitcd you see less from the chickens on right/left cos the borders cut a little that chickens and have more blackborders in top/bottom.
#LanczosResize(688,352,8,0,704,480)#overscan2
#AddBorders(16,64,16,64)

using overcan3 from fitcd you see the chickens on right/left in tv but the blackborders on top/bottom are TOO BIG!
LanczosResize(672,336,0,0,720,480)#overscan3
AddBorders(24,72,24,72)

using Facar,you loose the chickens on right left but you get
:arrow: LESS blackborders on top/bottom!

then to see EXACT like i see the dvd IN tv, i only change the OverscanH/OverscanV to 0.03 in Facar cos i did adjusts in my tv to show the "max" in top-bottom-left-right....and i see the encode using facar exact like the dvd...
:arrow: for this reason this scenes from chicken run was choosed to do the tests!!!
(yes, i really bore with little details) :lol:

in my opinion and was that i was trying to show to Phil a long time:
using overscan(1,2,or 3) you loose more in top/bottom than gain in left/right...you have less area of the movie in the screen.

i'm still unclear? please comments!
:wink:

bazzy2004 06-16-2004 11:27 AM

exactly Jorel - im with u all the way :!: :D :!: :wink:

kwag 06-16-2004 12:11 PM

Quote:

Originally Posted by jorel
using overscan1 from fitcd you see the chickens in left/right but you don't see in the tv and it give big blackborders on top/bottom.
#LanczosResize(704,352,0,0,720,480)#overscan1
#AddBorders(8,64,8,64)

Exactly :!: :D
Because 1 block is not enough for a 704x480 target, so you loose part of the picture in the overscan in the TV.
Quote:


using overscan2 from fitcd you see less from the chickens on right/left cos the borders cut a little that chickens and have more blackborders in top/bottom.
#LanczosResize(688,352,8,0,704,480)#overscan2
#AddBorders(16,64,16,64)
Of course, and that's what you are missing, because look :arrow: 704 + 16 pixels on each side = 672, and that's what you cropped the picture to, which is wrong :!:
You lost 720-672= 48 pixels, which is really 3 blocks overscan, but you "cropped" it, instead of precise (small) crop, followed by 2 blocks overscan

You should have these values, taken from FitCD:
1-block overscan:
Code:

BilinearResize(688,352,8,0,704,480)
AddBorders(8,64,8,64)

2-blocks overscan:
Code:

BilinearResize(672,336,0,0,720,480)
But with 3 blocks overscan:
Code:

BilinearResize(656,336,9,0,702,480)
AddBorders(24,72,24,72)

And THERE, with 3 blocks, you loose (cut) off a lot on the sides :!:
So the ideal settings for your 704x480 target is 2 blocks overscan, and there you won't loose a thing. Of course, that is the case if your film pixels in your original are 720x480, which is not.

Looking at your screenshots, I assume the vertical resolution (active film area) is 384. Right :?:
If that is the case, ALL of the settings you use are incorrect :!:

For an active film pixel area of 720x384, your (correct) resizing and cropping should be the following:

0-blocks overscan:
BilinearResize(704,288,8,48,704,384)
AddBorders(0,96,0,96)


1-block overscan:
BilinearResize(688,288,16,48,688,384)
AddBorders(8,96,8,96)


2-blocks overscan:
BilinearResize(672,272,4,48,712,384)
AddBorders(16,104,16,104)


And again, with the last setting of 2 blocks overscan, your picture is resized and only cropped by 712,384 which means you preserved almost all of your film pixel area, and when played back on the TV, it will be stretched flush TOP and BOTTOM. ;)

There are two ways to do encodings: The correct way maintaining as much pixels by cropping just the amount necessary to keep the original aspect after encoding, and the incorrect way. FACAR is incorrect, and not following the proper crop/resize math.

Here, read this too, which is not as accurate as FitCD or MovieStacker, but is close enough to get the correct theory as to aspect ratio factors that have to be taken into consideration when doing aspect conversions (encoding):
http://www.digitalfaq.com/archives/i.../2003/12/1.jpg

-kwag

jorel 06-16-2004 01:56 PM

Kwag..first:
please,use the "enter key" in the middle of the phrases,cos are too large too read!
:lol:
second: excuse me, i need to call my wife:
"El, please,... do 2 galoons of coffee, the night will be long"

remainders:
a long time ago (means loooooong) i wrote that MovieStacker and Fitcd was giving me wrong ARs.
as you wrote:" ...and that's what you cropped the picture to, which is wrong"
if the scripts that i posted are worng, fitcd is guilty!

but using the scripts that you posted i still have more blackborders in top/bottom than Facar
and the worse: :arrow: loose parts of the scenes in top/bottom of the movie!!!!!!!

from Facar: http://img12.imageshack.us/img12/6264/facar.jpg

from Kwag 2-blocks overscan script: http://img12.imageshack.us/img12/9195/k23.jpg

i did something wrong? please correct me please! :?

edited>
sorry,i forgot to post...
source: informations from ifoedit,
video: Mpeg2 720x480 (NTSC) (NTSC 525/60) (16:9) (pan & scan letterboxed)

Facar script used : atributs of the picture is 720x480 (paint)
ResizeTo=0 global ResizeMethod=3 DebugMode=0
GammaCorrection=1.0 Hue=0 Saturation=1.0 Brightness=0 Contrast=1.0
DetectedTop=0 DetectedHeight=480
OverscanH=0.03 OverscanV=0.03 BlockOptimization=1 AsoTV=1#--->personal taste 0.03 just like that picture posted
global Bicubic_b_Value=0 global Bicubic_c_Value=0.6
DestinationWidth=720
DestinationHeight=360
DestinationTop=60
DestinationBottom=60
LoadPlugin("C:\Arquivos de programas\DVD2SVCD\Avisynth2.5 Plugins\SimpleResize\SimpleResize.dll")
# Import("C:\Arquivos de programas\DVD2SVCD\Avisynth2.5 Plugins\FACAR\qmf15b1.avs")
# Import("C:\Arquivos de programas\DVD2SVCD\Avisynth2.5 Plugins\FACAR\QMF_functions.avs")
Import("C:\Arquivos de programas\DVD2SVCD\Tylo\RoBaConditional.avs")
Import("C:\Arquivos de programas\DVD2SVCD\Avisynth2.5 Plugins\FACAR\FACAR.avs")
# Import("C:\Arquivos de programas\DVD2SVCD\Avisynth2.5 Plugins\FACAR\PostResize.avs")

Karl script used: atribute of the picture 704x480(paint)
BilinearResize(672,272,4,48,712,384)
AddBorders(16,104,16,104)

:wink:

Dialhot 06-16-2004 04:18 PM

Quote:

Originally Posted by jorel
Karl script used: atribute of the picture 704x480(paint)
BilinearResize(672,272,4,48,712,384)
AddBorders(16,104,16,104)

These values are erroneous (as you can see on the picture, you are cutting image from top and bottom, that means that then height of the crop (272) is to small.

I don't know how Karl obtained this but these are the values computed by Moviestacker :

BilinearResize(672, 320, 4, 48, 712, 384)
AddBorders(16, 80, 16, 80)

kwag 06-16-2004 04:22 PM

The only way we can get the correct values is if jorel gives us the exact film pixel area of that movie :roll:

-kwag

jorel 06-16-2004 04:33 PM

Quote:

Originally Posted by kwag
The only way we can get the correct values is if jorel gives us the exact film pixel area of that movie :roll:

-kwag

ok .. i want to do using your way
how can i do that? please, post all to get the correct values.
:wink:

Phil, i'm testing your script posted! :wink:

jorel 06-16-2004 04:43 PM

Phil...it's still wrong, take a look:

from Facar: http://img12.imageshack.us/img12/6264/facar.jpg

Phil script:
BilinearResize(672, 320, 4, 48, 712, 384) # Phil1 script
AddBorders(16, 80, 16, 80)
http://img4.imageshack.us/img4/3022/Phil1.jpg
loosing big details and blackborders in top/bottom are too big!


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