digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Creating KVCDs within DVD2SVCD guide? (http://www.digitalfaq.com/archives/encode/3969-creating-kvcds-dvd2svcd.html)

Swin 06-13-2003 04:38 PM

Creating KVCDs within DVD2SVCD guide?
 
Hi,

I (along with rezidew) started asking questions in a previous thread about KVCD and DVD2SVCD and the possibility of a guide to help us - er lesser mortals - in the what I belive will end up as a rather simple task.

Thanks go to jorel who supplied and wonderful set of links that may help out newbies such as myself in the art of creating KVCD's that can be see below.

But the question remains - is there anyone who can provide us with a simple dumb arse idiots guide to doing this?

I will look into this over the coming days/weeks/months/years and will post back here if I can come up with some simple Step-by-step instructions on how to achieve this. The truth IS out there - it's just not in one place!

Quote:

Download the compatibility test and burn in cdrw,test your player:
http://www.kvcd.net/forum/viewtopic.php?t=2464

Last best Kwag's script:
http://www.kvcd.net/forum/viewtopic.php?t=3483

MovieStacker:
http://www.kvcd.net/forum/viewtopic.php?t=3740

ToK:
http://www.kvcd.net/forum/viewtopic.php?t=3096

Wonderful guides and tuts:
Converting DVD to KVCD : http://www.kvcd.net/forum/viewtopic.php?t=2885

KVCD From Scratch: http://www.kvcd.net/forum/viewtopic.php?t=3097

Guide to convert Divx to KVCD : http://www.kvcd.net/forum/viewtopic.php?t=2331

Download progs, filters...and more:
http://www.kvcd.net/forum/viewtopic.php?t=2553

One other thing - kwag - if you out there - is it possible to supply the samples in the link above in PAL resolutions and frame rates???

Many thanks.

Swin

kwag 06-13-2003 04:56 PM

Re: Newbie - Creating KVCD's within DVD2SVCD guide?
 
Quote:

Originally Posted by Swin

One other thing - kwag - if you out there - is it possible to supply the samples in the link above in PAL resolutions and frame rates???

Wish I could :!:, but I'm in NTSC land, and all my material is NTSC :roll:

-kwag

Swin 06-13-2003 06:07 PM

Right then, as I'm in PAL land maybe we can do a bit of a trade. I'm just trying out DVD2SVCD now to convert a few AVI files that I have. Maybe I can use this process to write the idiots guide and then convert some PAL DVD's into a similar set of bin's that you have produced for NTSC configs, whilst you and others help achive my own goal - i.e to get this to work!

So far this is what I've done....

Am using
DVD2SVCD ver 1.1.3 build 3 Beta 7
AVISYNTH 2.52
TMPGEnc 2.51 Plus
  • 1) Taken DVD2SVCD and loaded there standard VCD.INI settings. Altered the setting to select and AVI source rather than DVD on the Misc Tab
    2) Changed the Matrix (on the Matrix tab of DVD2SVCD) to that for the KVCD
    3) Altered the GOP (in the Encoder Tab -> Advanced Settings) to read - 1-12-2-1-24
    4) Set the "Motion Search Precision" on the Encoder tab to "Motion Estimate Search (Fast)"
    5) Set the "Rate Control Mode" on the Encoder Tab to "CQ (Constant Quality)" and left the Offset CQ Value at 80.
    Looks like I made a mistake here as the AVI is small so instead I am choosing a FIXED CQ value of 100. DVD2SVCD just seems to be looping with ever increasing values otherwise.
    6) Downloaded the necessary filters from www.avisynth.org/~warpenterprises for the AVI Synth script that you have prepared at http://www.kvcd.net/forum/viewtopic.php?t=3483 and edited the script to point to where I have placed these filters.
    7) Selected the "Edit as part of Video Encode" on the Frameserver tab of DVD2SVCD.
    8) Hit GO! (in this insance I also set the option on th CD Image tab to "Not make an image" as these are short AVI's and will be colating them later via VCDEasy).
    9) When the Script file pops up I pasted your script in the box and edited the relevant parts - such as resolution and AVI Source. (I may also have to add in here a ConvertFPS(25) command somewhere as the AVI source file in question is in 29.97 fps and of course PAL is at 25 fps. This I have found to be very good so far in converting frame rates between these two).
    10) Hit OK and wait!!!

But it already looks as though it may go wrong! In TMPGEnc as the stream encodes, I can see half the picture appear to be fine and the other half appear much colorized. This colorization splits the picture nearly in two vertically down the centre of the image. Colorization appears on the left but not on the right! There is also some small writing at the top of the picture but I can't read that at the mo. Still this is literally my first go - so I really didn't expect it to work first time!!!


HELP!

Swin

kwag 06-13-2003 06:18 PM

Hi Swin,

First of all, for PAL I would set the GOP to 1-12-2-1-25. That's the way ToK sets it up. For NTSC, it's 1-12-2-1-24.
About your problem with half of the screen, I had that exact problem the other day, and I can't recall what it was :!:
Have you tried another source :?: Are you using DVD2AVI other than version 1.76 :?:

-kwag

Swin 06-13-2003 06:40 PM

Ah ha. I think I have it - the problem regarding the colorization I mean. I left in the script the "ConvertToYUY2()" command which appears in the original script file that DVD2SVCD creates. I have commented this out and all appears now to be working fine.

However, my ConvertFPS(25) command needs YUY2 to work so I have simply added these two commands at the bottom of the script and all seems to be hunky dory.

Will Keep you posted.

Swin

PS have also changed GOP - thanks Kwag

Swin 06-13-2003 11:50 PM

Update.

Well the things encoded and played but the quality was still pretty abysmal. Ok so the AVI's are the most top notch in the world but I would expect to see people faces!!

Anyhow after a little more reading I found 2 more pieces of information. Firstly I'm using what looks like an old KVCD matrix in DVD2SVCD and a subtly different ini file for DVD2SVCD. I'm not lining to the ini file here because I believe it's out of date - at least it only points to old matrix settings anyhow and the GOP setting are different from those given above. But the new matrix is probably useful. Thanks again go to kwag and jorel .
  • 10) Copy the following lines into the matrices.ini file in the DVD2SVCD folder: -

    Quote:

    [KVCD Notch BETA-1a]
    Intra=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37 ,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,2 6,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29, 34,37,38,40,48,58,69,34,37,38,40,48,58,69,79
    NonIntra=16,18,20,22,24,26,28,30,18,20,22,24,26,28 ,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,3 4,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38, 40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44
    Close down DVD2SVCD (if open) and re-open then select the new matrix on the Matrix tab.
    11) Go to the audio tab and set the "Audio 1 Bitrate" to 128.
    12) Go to the Bitrate tab and set the "Max" to 2048 (not sure if this is so go but I want quality and quantity), "Min" to 300, untick "Min Av" and Set "Max Av" to 0
    13) Save your settings

The are a couple of other setting in the Advanced properties of the Encoder tab that are different between the kvcd.ini and the standard dvd2vcd ini file but I'm leaving them alone for the mo. I haven't gone through the advanced setting of bbMPEG either as I haven’t a clue what’s going on there!

Encoding now and applying the AVS script give a MUCH better result that is watchable. I really should try this with DVD sources to get a better perspective. I don't know how much quality to expect from a 400x288 res AVI but I have asked that question in the KVCD Template forum. The bad news is that on my sample the size has now gone up rather than down - but I am encoding a a fixed CQ figure of 100 at the moment - just for comparison purposes.

Any further insight may be helpful.

Swin

rezidew 06-14-2003 02:28 AM

one is one the way
 
Quote:

I agree VERY MUCH with Rezidew. I went to the homepage and didn't find any POSTS specifically for DVD2SVCD. I'm a HUGE FAN of both DVD2SVCD AND KVCD and would love to be kept up todate on new software, scripts, KVCD Templates, etc.
AND

Quote:

I (along with rezidew) started asking questions in a previous thread about KVCD and DVD2SVCD and the possibility of a guide to help us - er lesser mortals - in the what I belive will end up as a rather simple task.

Thanks go to jorel who supplied and wonderful set of links that may help out newbies such as myself in the art of creating KVCD's that can be see below.

But the question remains - is there anyone who can provide us with a simple dumb arse idiots guide to doing this?

I will look into this over the coming days/weeks/months/years and will post back here if I can come up with some simple Step-by-step instructions on how to achieve this. The truth IS out there - it's just not in one place!
*phew* I was beginning to feel like I was alone here.

As none of my searches have bore fruit wirh regard to a dvd2skvcd guide, I am going to start work on one. I can't promise that I'll get it right, or even get is done in a timely manner but something is better than nothing.

I will use the links provided by jorel as a starting and reference point.

Quote:

Download the compatibility test and burn in cdrw,test your player:
http://www.kvcd.net/forum/viewtopic.php?t=2464

Last best Kwag's script:
http://www.kvcd.net/forum/viewtopic.php?t=3483

MovieStacker:
http://www.kvcd.net/forum/viewtopic.php?t=3740

ToK:
http://www.kvcd.net/forum/viewtopic.php?t=3096

Wonderful guides and tuts:
Converting DVD to KVCD : http://www.kvcd.net/forum/viewtopic.php?t=2885

KVCD From Scratch: http://www.kvcd.net/forum/viewtopic.php?t=3097

Guide to convert Divx to KVCD : http://www.kvcd.net/forum/viewtopic.php?t=2331

Download progs, filters...and more:
http://www.kvcd.net/forum/viewtopic.php?t=2553
--Rezidew
"I had it all. Even the glass dishes with tiny bubbles and imperfections. Proof that they were crafted by the honest, simple hard-working indigenous peoples of--Wherever."

jorel 06-14-2003 05:05 PM

Swin my friend,
you forgot 3 importants links that i send to you in another post:

need help? forum in 5 languages? friends?
http://www.kvcd.net/ in everywhere here.

doubts?
ask in the right thread!

and much more in:
http://www.kvcd.net
tutorials,guides,news and links!!!

:!:
and more from another post that i wrote too:
"the new version 113b1 or b2 give lots of problems
when you use tmpgenc as encoder, you can
see tons of posts here and in d9 forum. "

http://forum.doom9.org/showthread.ph...threadid=55464

as you can see the last 113b2 give problems with tmpgenc...
i don't know why but .....i thing that i know! :roll:
for me is cos KVCDs is turning better.... :roll:
got?

then if someone can "transpose" the best script to use
in dvd2svcd 112 to make kvcds, will be a pleasure!
:wink:

i wrote about this problems before any post in d9 :!:

mrj03 06-15-2003 06:31 PM

Re: one is one the way
 
Quote:

Originally Posted by rezidew
Quote:

I agree VERY MUCH with Rezidew. I went to the homepage and didn't find any POSTS specifically for DVD2SVCD. I'm a HUGE FAN of both DVD2SVCD AND KVCD and would love to be kept up todate on new software, scripts, KVCD Templates, etc.
AND

Quote:

I (along with rezidew) started asking questions in a previous thread about KVCD and DVD2SVCD and the possibility of a guide to help us - er lesser mortals - in the what I belive will end up as a rather simple task.

Thanks go to jorel who supplied and wonderful set of links that may help out newbies such as myself in the art of creating KVCD's that can be see below.

But the question remains - is there anyone who can provide us with a simple dumb arse idiots guide to doing this?

I will look into this over the coming days/weeks/months/years and will post back here if I can come up with some simple Step-by-step instructions on how to achieve this. The truth IS out there - it's just not in one place!
*phew* I was beginning to feel like I was alone here.

As none of my searches have bore fruit wirh regard to a dvd2skvcd guide, I am going to start work on one. I can't promise that I'll get it right, or even get is done in a timely manner but something is better than nothing.

I will use the links provided by jorel as a starting and reference point.

Quote:

Download the compatibility test and burn in cdrw,test your player:
http://www.kvcd.net/forum/viewtopic.php?t=2464

Last best Kwag's script:
http://www.kvcd.net/forum/viewtopic.php?t=3483

MovieStacker:
http://www.kvcd.net/forum/viewtopic.php?t=3740

ToK:
http://www.kvcd.net/forum/viewtopic.php?t=3096

Wonderful guides and tuts:
Converting DVD to KVCD : http://www.kvcd.net/forum/viewtopic.php?t=2885

KVCD From Scratch: http://www.kvcd.net/forum/viewtopic.php?t=3097

Guide to convert Divx to KVCD : http://www.kvcd.net/forum/viewtopic.php?t=2331

Download progs, filters...and more:
http://www.kvcd.net/forum/viewtopic.php?t=2553
--Rezidew
"I had it all. Even the glass dishes with tiny bubbles and imperfections. Proof that they were crafted by the honest, simple hard-working indigenous peoples of--Wherever."

I most certainly hope you come up with a DETAILED DVD2SKVCD GUIDE.

jorel 06-16-2003 05:16 AM

:idea:

maybe Dialhot can help to make the Kwag's script for 252
usable in dvd2svcd and this is important to get better results.

where are you Dialhot?
help to make "a simple dumb arse idiots guide to doing this" :!:
:lol:

Dialhot 06-16-2003 11:05 AM

Quote:

Originally Posted by jorel
:idea:

maybe Dialhot can help to make the Kwag's script for 252
usable in dvd2svcd and this is important to get better results.

where are you Dialhot?

Ok ok, I'm coming :-)

Insteed of giving to you only the script, I will explain to you how to do this, step by step. You will understand how simple it is.

First, remove all the comments from the script (useless and very confusing for DVD2SCVD)

Code:

LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\undot.dll")

MaxTreshold = 1.50
scd_trigger = 30
nf =  0

Mpeg2Source("Your_D2V_Source_Here")
undot()
Limiter()
asharp(2, 4)
BicubicResize( Your_Resize_Values_Here )
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 1)), 0 ) : \
TemporalSoften(2,7,7,3,2) ")

ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")

#AddBorders( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

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

Then, put all lines that are splitted into several lines on only one line :

Code:

LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\undot.dll")

MaxTreshold = 1.50
scd_trigger = 30
nf =  0

Mpeg2Source("Your_D2V_Source_Here")
undot()
Limiter()
asharp(2, 4)
BicubicResize( Your_Resize_Values_Here )
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 1)), 0 ) : TemporalSoften(2,7,7,3,2) ")

ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")

AddBorders( Your_Values_Here )
Limiter()

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

For better result and easier work, we will use Gripfit.
(2.52 version here : http://www.nic.fi/~lhahne/GripFit_YV12.zip)

Code:

LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\undot.dll")
LoadPlugin("C:\Filters25\Gripfit_preview.dll")

MaxTreshold = 1.50
scd_trigger = 30
nf =  0

Mpeg2Source("Your_D2V_Source_Here")
undot()
Limiter()
asharp(2, 4)
GripCrop(X, Y,overscan=2,source_anamorphic=true)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 1)), 0 ) : TemporalSoften(2,7,7,3,2) ")

ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")

GripBorders()
Limiter()

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

Now convert it in a way DVD2SVCD can handle :

1/ put a number in front of each line
2/ X and Y are automaticaly setted by DVDSVCD (variable ^TagetHeight and ^TargetWidth)
3/ put all strings at the end of the script and starting them with "!" (see all lines "LoadPlugin")
4/ remove line "mpeg2source" as DVD2SVCD put it automatically

Here we go :

Code:

[AVISYNTH_New252 script]
 0=LoadPlugin(!MpegDec)
1=LoadPlugin(!StMedian)
2=LoadPlugin(!Asharp)
3=LoadPlugin(!Undot)
4=LoadPlugin(!Gripfit)
5=MaxTreshold = 1.50
6=scd_trigger = 30
7=nf =  0
8=undot()
9=Limiter()
10=asharp(2, 4)
11=GripCrop(^TargeitHeight,^TargetWidth,overscan=2,source_anamorphic=true)
12=GripSize(resizer="BicubicResize")
13=STMedianFilter(8, 32, 0, 0 )
14=MergeChroma(blur(MaxTreshold))
15=MergeLuma(blur(0.2))
16=ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? 17=asharp( -(fmin((nf/30), 1)), 0 ) : TemporalSoften(2,7,7,3,2) ")
18=ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")
19=GripBorders()
20=Limiter()
21=function fmin(float f1, float f2) { return (f1<f2) ? f1 : f2 }
22=!MpegDec="C:\Filters25\MPEG2Dec3.dll"
23=!StMedian="C:\Filters25\STMedianFilter.dll"
24=!Asharp="C:\Filters25\asharp.dll"
25=!Undot="C:\Filters25\undot.dll"
26=!Gripfit="C:\Filters25\Gripfit_preview.dll"

Now we can change constant into variable parameters. Max_Threshold for instance. But there are other... see code :

Code:

[AVISYNTH_New252 script]
0=LoadPlugin(!MpegDec)
1=LoadPlugin(!StMedian)
2=LoadPlugin(!Asharp)
3=LoadPlugin(!Undot)
4=LoadPlugin(!Gripfit)
5=MaxTreshold = ^max_threshold
6=scd_trigger = ^scd_trigger
7=nf =  0
8=undot()
9=Limiter()
10=asharp(2, 4)
11=GripCrop(^TargeitHeight,^TargetWidth,overscan=^overscan,source_anamorphic=^source_ana)
12=GripSize(resizer="BicubicResize")
13=STMedianFilter(^stm1,^stm2, 0, 0 )
14=MergeChroma(blur(^max_threshold))
15=MergeLuma(blur(0.2))
16=ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? 17=asharp( -(fmin((nf/30), 1)), 0 ) : TemporalSoften(2,7,7,3,2) ")
18=ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")
19=GripBorders()
20=Limiter()
21=function fmin(float f1, float f2) { return (f1<f2) ? f1 : f2 }
22=!MpegDec="C:\Filters25\MPEG2Dec3.dll"
23=!StMedian="C:\Filters25\STMedianFilter.dll"
24=!Asharp="C:\Filters25\asharp.dll"
25=!Undot="C:\Filters25\undot.dll"
26=!Gripfit="C:\Filters25\Gripfit_preview.dll"
27=^max_threshold=1.50
28=^scd_trigger=30
29=^overscan=2
30=^source_ana=true
31=^stm1=8
32=^stm2=32

I hope I didn't do any type mismatch : I don't have DVD2SVCD on my office PC, so I can test if evertything is ok there.

totonho03 06-16-2003 12:20 PM

Hello dialhot:

Great work!!!. One comment:
on line 11 of the script, should that read :
11=GripCrop(^TargetHeight,^......................, instead of
11=GripCrop(^TargeitHeight,^?

Thanks
Totonho03

jorel 06-16-2003 01:38 PM

great Dialhot,thanks!
:D

i got a "simple" error in the "preview", i see the image with this message:
"Script error : syntax error
([scriptclip], line 2, columm 0)"
:?

and i change the line:
26=!Gripfit_preview.dll=C:\Filters25\GripFit_YV12. dll

cos can't exist the gripfit_preview.dll in the http://www.nic.fi/~lhahne/GripFit_YV12.zip

:!:

jorel 06-16-2003 01:54 PM

@ Dialhot
don't need to use the "enter" key after the line 16?
16=ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? 17=asharp( -(fmin((nf/30), 1)), 0 ) : TemporalSoften(2,7,7,3,2) ")
18=ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")
:?:

see the last 2 lines that "appear" in the script after i see the preview:

[AVISYNTH_New252 script]
0=LoadPlugin(!Mpeg2Dec3.dll)
1=LoadPlugin(!StMedianfilter.dll)
2=LoadPlugin(!Asharp.dll)
3=LoadPlugin(!Undot.dll)
4=LoadPlugin(!Gripfit_preview.dll)
5=MaxTreshold=^max_threshold
6=scd_trigger=^scd_trigger
7=nf=0
8=undot()
9=Limiter()
10=asharp(2,4)
11=GripCrop(^TargeitHeight,^TargetWidth,overscan=^ overscan,source_anamorphic=^source_ana)
12=GripSize(resizer="BicubicResize")
13=STMedianFilter(^stm1,^stm2,0,0)
14=MergeChroma(blur(^max_threshold))
15=MergeLuma(blur(0.2))
16=ScriptClip("nf=YDifferenceToNext()"+chr(13)+"nf >2.5?
17=asharp(-(fmin((nf/30),1)),0):TemporalSoften(2,7,7,3,2)")
18=ScriptClip("nf >scd_trigger?asharp(-2,0):asharp(0,0)")
19=GripBorders()
20=Limiter()
21=function fmin(float f1,float f2){return(f1<f2)?f1:f2}
!Mpeg2Dec3.dll=C:\Filters25\MPEG2Dec3.dll
!StMedianfilter.dll=C:\Filters25\STMedianFilter.dl l
!Asharp.dll=C:\Filters25\asharp.dll
!Undot.dll=C:\Filters25\UnDot.dll
!Gripfit_preview.dll=C:\Filters25\GripFit_YV12.dll
^max_threshold=1.50
^scd_trigger=30
^TargeitHeight=480
^overscan=1
^source_ana=true
^stm1=8
^stm2=32
?asharp=
?f1=

:?

totonho03 06-16-2003 08:49 PM

Several questions raised by a newbie
 
Sorry for being a pain in the neck, but I need your help on dvd2svcd. I am trying to create a kvcd back up but using dvd2svcd with the limitations that I have. ( My unit will only recognize the first three segments of kwag's cd test). In addition to that, I would like to use, if at all possible, the latest optimal script and the speed of CCE, therefore, I may have to do it with mpeg2 encoding...

1.- I am reading the posts, and am trying to follow the guides placed by Dialhot, which is easy to do, as far as changing the script is concerned. I am assuming here that the steps are similar to the copy and paste steps used in Moviestacker and Avisy. 2.52...... ( Is this correct?, if not please advise)

2.- Where do I paste the optimal script? (So far, I believe that Jorel's script ia the most updated one) I have tried the method posted by swim, but the Avisy. script does not come up, and it goes directly to the encoding steps, therefore I do not know where to post the optimal script. In other words, how do I change the avisynth 2.53 script when using dvd2svcd? (Detailed steps are greatly appreciated)

3.- When selecting the KVCD format in the matrix tab, nothing is highlited. Is this correct? or Should I manually highlight some numbers? If it is, how can I accomplish this? What numbers should I elect? ( I think that I have seen this in one of threads, the one that is being copied with no mentioning of the original source)

4.- The GOP numbers can be changed when in TMPGenc mode. The CCE mode shows different GOP numbers, Is there a way to correlate one to another? In other words, what are the equivalent numbers for CCE?

I suppose that the final question is: Does the optimal kvcd script works using dvd2svcd and CCE's mpeg2 encoding techniques?

Thank you for your help

Totonho03

P.S.- Thanks Jorel

Dialhot 06-17-2003 03:56 AM

Quote:

Originally Posted by jorel
@ Dialhot
don't need to use the "enter" key after the line 16?
16=ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? 17=asharp( -(fmin((nf/30), 1)), 0 ) : TemporalSoften(2,7,7,3,2) ")
18=ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")

WHow ! Didn't understand how this "17=" appears there.

If you see the initial script, we had :

Code:

ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 1)), 0 ) : TemporalSoften(2,7,7,3,2) ")

ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")

so the DVD2SVCD format will be :

Code:

16=ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 1)), 0 ) : TemporalSoften(2,7,7,3,2) ")
17=ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")

And so on....

At the end we will have :

Code:

[AVISYNTH_New252 script]
0=LoadPlugin(!Mpeg2Dec3.dll)
1=LoadPlugin(!StMedianfilter.dll)
2=LoadPlugin(!Asharp.dll)
3=LoadPlugin(!Undot.dll)
4=LoadPlugin(!Gripfit_preview.dll)
5=MaxTreshold=^max_threshold
6=scd_trigger=^scd_trigger
7=nf=0
8=undot()
9=Limiter()
10=asharp(2,4)
11=GripCrop(^TargeitHeight,^TargetWidth,overscan=^overscan,source_anamorphic=^source_ana)
12=GripSize(resizer="BicubicResize")
13=STMedianFilter(^stm1,^stm2,0,0)
14=MergeChroma(blur(^max_threshold))
15=MergeLuma(blur(0.2))
16=ScriptClip("nf=YDifferenceToNext()"+chr(13)+"nf>2.5 ? asharp(-(fmin((nf/30),1)),0):TemporalSoften(2,7,7,3,2)")
17=ScriptClip("nf >scd_trigger?asharp(-2,0):asharp(0,0)")
18=GripBorders()
19=Limiter()
20=function fmin(float f1,float f2){return(f1<f2)?f1:f2}
!Mpeg2Dec3.dll=C:\Filters25\MPEG2Dec3.dll
!StMedianfilter.dll=C:\Filters25\STMedianFilter.dll
!Asharp.dll=C:\Filters25\asharp.dll
!Undot.dll=C:\Filters25\UnDot.dll
!Gripfit_preview.dll=C:\Filters25\GripFit_YV12.dll
^max_threshold=1.50
^scd_trigger=30
^TargeitHeight=480
^overscan=1
^source_ana=true
^stm1=8
^stm2=32


jorel 06-17-2003 10:35 AM

8O
dear friend Phil,
after change the line "17" like you posted,
the script is:

WORKING FANTASTIC :!:

:D :D :D :D :D

8)
no more problem.

thank you!

jorel 06-18-2003 07:05 AM

Phil my friend, help please:
:wink:

in ToK we use "MotionSearchEstimate" instead of "Hihgh Quality"
to work in tmpgenc turning it faster, see details please:

http://www.kvcd.net/forum/viewtopic.php?t=4316

and more details if needed:
http://www.kvcd.net/forum/viewtopic....ce4a6b4a3594ae

then i have a doubt:
in the encoder tab,what i adjust in "motion search precision"?
high quality(slow) or low quality(fast)? :?

:arrow: me :screwy: :banghead:

thanks.
:D

Dialhot 06-18-2003 08:13 AM

Quote:

Originally Posted by jorel
in ToK we use "MotionSearchEstimate" instead of "Hihgh Quality"
to work in tmpgenc turning it faster

Yes, I know, and use it also.

Quote:

then i have a doubt:
in the encoder tab,what i adjust in "motion search precision"?
high quality(slow) or low quality(fast)? :?
And why don't you just use "Motion estimate search (fast)" that is at the very end of the menu ? :dunce:
(at least in DVD2SVCD 1.1.3 build 1)

jorel 06-18-2003 08:19 AM

:?

sorry my poor english Phil!
:oops:

"at the very end of the menu ?"
:?:
(how i do it?) :arrow: of course Phil,now i see :!:

:imstupid:

stup twice..now i see!

thanks Phil!
:D


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

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