digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   DVD2SVCD: ini files to use KVCD_LBR parameters for DVD2S(K)VCD (http://www.digitalfaq.com/archives/encode/1394-dvd2svcd-ini-files.html)

I Dont Know 12-29-2002 06:31 PM

Thank you Kwag
 
Thank you VERY VERY much KWAG

The only other question I have is with your 2 KVCD templates installed can I still create SVCD's

Sorry I would simply check for myself right now but Im in the middle of creating a svcd :oops:

kwag 12-29-2002 06:51 PM

Re: Thank you Kwag
 
Quote:

Originally Posted by I Dont Know
The only other question I have is with your 2 KVCD templates installed can I still create SVCD's

Use exactly the same parameters as above, but change to MPEG-2 encoding. There are no "templates" in DVD2SVCD, so you feed it KVCD parameters, which are the GOP and Q. Matrix (already included in DVD2SVCD) :wink:

-kwag

I Dont Know 12-29-2002 08:17 PM

Thanks 4 the help KWAG
 
Thankyou for all your help it's greatly appreciated

As soon as my SVCD is finished I will make a KVCD
with your template

ssarwar12 12-31-2002 09:11 AM

DVD2SVCD
 
Hi Kwag,

The ini files you have posted are for lower resolution(352X240) format. Are you planning to make one for (704X480) MPEG2 for the creation of SVCD in DVD2SVCD.

The other question is that picture gets blocky at high action scenes, do you have any suggestion on it.

Thanks,

kwag 12-31-2002 09:17 AM

Re: DVD2SVCD
 
Quote:

Originally Posted by ss
Hi Kwag,

The ini files you have posted are for lower resolution(352X240) format. Are you planning to make one for (704X480) MPEG2 for the creation of SVCD in DVD2SVCD.

The only thing you have to do is load the new GOP into DVD2SVCD ( 1-12-2-1-24 ) and change the resolution to whatever you want. Then save your new .ini file with a given name. That's it. :D
Quote:


The other question is that picture gets blocky at high action scenes, do you have any suggestion on it.

Thanks,
Increase your MAX bit rate to 3,000Kbps if your standalone can handle it. :wink:

-kwag

ssarwar12 12-31-2002 10:56 AM

704X480 resolution template
 
Hi Kwag,

You have only ini files for 352X240 resolution to be used in DVD2SVCD.

DO you have any plans for creating one for 704X480 resolution .ini file that can be used in DVD2SVCD to create high resolution KSVCD's.

Thanks,

kwag 12-31-2002 11:43 AM

Re: 704X480 resolution template
 
Quote:

Originally Posted by ss
Hi Kwag,

You have only ini files for 352X240 resolution to be used in DVD2SVCD.

DO you have any plans for creating one for 704X480 resolution .ini file that can be used in DVD2SVCD to create high resolution KSVCD's.

Thanks,

I don't have to :D. Just load the lbr ini file and change the resolution settings and MIN MAX bit rates to match the values in the KVCD templates, and save again with another .ini filename. Once you load the lbr ini file I supplied, all parameters are already set. That is the GOP, matrix, etc. So you only have to change the target resolution that you want and bit rates, and save your new ini file.

-kwag

ssarwar12 01-02-2003 01:09 PM

picture is blurry
 
I encoded movie using your ini file in DVD2SVCD. It comes out blurry as compared to DVD2SVCD standard template for SVCD. Any ideas on it.

kwag 01-02-2003 01:17 PM

Re: picture is blurry
 
Quote:

Originally Posted by ss
I encoded movie using your ini file in DVD2SVCD. It comes out blurry as compared to DVD2SVCD standard template for SVCD. Any ideas on it.

If you are comparing the result of a 480x480 SVCD against 352x240 VCD resolution with no matter what encoder or template, it will always be blurry :roll:

-kwag

ssarwar12 01-02-2003 05:21 PM

704X480 Template
 
Thankyou for replying so quick. I guess that means if I use 704X480 resolution with your template it should be clearer than 480X480.

The only problem is I cannot find where to set the resolution to 704X480 in DVD2SVCD. You mentioned before that I should load you .ini file and set this resolution but I cannot find where can I do that in DVD2SVCD.

The only setting that DVD2SVCD has are standard resolution settings for VCD, SVCD, DVD.

I would appreciate if you could advise on it.

Thanks a lot.

kwag 01-02-2003 05:39 PM

Re: 704X480 Template
 
Quote:

Originally Posted by ss
Thankyou for replying so quick. I guess that means if I use 704X480 resolution with your template it should be clearer than 480X480.

The only problem is I cannot find where to set the resolution to 704X480 in DVD2SVCD. You mentioned before that I should load you .ini file and set this resolution but I cannot find where can I do that in DVD2SVCD.

The only setting that DVD2SVCD has are standard resolution settings for VCD, SVCD, DVD.

I would appreciate if you could advise on it.

Thanks a lot.

You can use FitCD and set your resolution, etc., and copy the parameters to notepad or clipboard. Then on DVD2SVCD, you can set "Edit when dvd2avi is done" under the "Frameserver" tab. This way, when DVD2AVI finishes it's process, a popup windows shows up that let's you edit the .avs script and you can paste your custom FitCD generated script. :wink:

-kwag

I Dont Know 01-05-2003 02:11 AM

---------> THANKS
 
Re:
Thankyou for all your help it's greatly appreciated

As soon as my SVCD is finished I will make a KVCD
with your template


I made a KVCD and it works fine.

The only problem was the picture wasn't sharp enough to sit and watch a full movie, but I am comparing it to the 480 * 576 svcd's i have made that are crystal clear in sound and picture

Maybe I was expecting more than i should have?

kwag 01-05-2003 02:22 AM

Re: ---------> THANKS
 
Quote:

Originally Posted by I Dont Know
Re:
Thankyou for all your help it's greatly appreciated

As soon as my SVCD is finished I will make a KVCD
with your template


I made a KVCD and it works fine.

The only problem was the picture wasn't sharp enough to sit and watch a full movie, but I am comparing it to the 480 * 576 svcd's i have made that are crystal clear in sound and picture

Maybe I was expecting more than i should have?

What resolution did you use :?:
You mean it doesn't look like this: http://www.kvcd.net/k-19.cq.65.5.hig...1.dither.5.mpg :wink:
That's the way the complete movie looks on one CD-R. ( Play it with WinDVD or PowerDVD )

-kwag

I Dont Know 01-05-2003 02:34 AM

Not Quite Sure
 
My kvcd was a bit more blurry than your sample

Maybe its cause i set the Aspect ratio to 4:3

not the 16:9 your sample is?

Or maybe I didnt set the exact same correct settings you recommended

8O

I know im a pain in the butt but

CAN YOU PLEASE tell me from start to finish what to do,
I fear my settings may have gone astray :cry:

kwag 01-05-2003 02:45 AM

Check down this thread where I posted the script and values I used for that sample: http://www.kvcd.net/forum/viewtopic....2073&start=360

-kwag

mrj03 01-14-2003 09:21 AM

Re: DVD2S(K)VCD
 
Quote:

Originally Posted by kwag
Here are the initial .ini files set up DVD2SVCD to use KVCD_LBR parameters.

First, download these two files, and copy them to your "C:\Program files\DVD2SVCD" directory ( Or wherever you installed DVD2SVCD )
http://www.kvcd.net/kvcd_lbr.ini
http://www.kvcd.net/matrices.ini

Now when you run DVD2SVCD, go to the "Misc." tab. Press the "Load settings" button, and select "kvcd_lbr.ini"
You're all set :D .

I've left subtitles disabled, so you may want to select them and choose your subtitles language. Every other parameter used in KVCD templates is now loaded in DVD2SVCD as default. Even the KVCD Quantization Matrix is selected. You will have to set your TMPGEnc path. That's about it.
I've made some small changes to the KVCD_LBR template, which are reflected here. The MIN bit rate was raised to 128Kbps and the MAX was raised from 1,150Kbps to 2,300Kbps. If your DVD player doesn't support this high bit rate, please go to the bit rate tab and adjust your setting there. The audio will be encoded as 128Kbps Dual Channel. Please report any problems in this thread, so that I can fix them promptly. Because there is a problem with the chapter creation program, I've set "Don't make images". So after the program is done, you just have to burn the .mpg file with VCDEasy. If you want chapters, get ChapterXtractor and use it with VCDEasy to create the chapters.
More .ini files will be released for other templates ONLY after this one is fully tested and debugged.

Enjoy,
-kwag

I used your template today for the first time and it APPEARED to all go well BUT at the end I ended up with 1MPG file bbmpeg_muxed_file00 that was only 75Mb..?? Any ideas what I did wrong?? Here's my log file:

--------------------------------------------------------
- 1/13/2003 7:25:34 PM
- DVD to SVCD Conversion
- DVD2VCD ver. 1.0.9 build 3
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 1/13/2003 7:25:37 PM
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[E:\DVD\test\signs tmpge\DVD2AVI_Project_file] -IF=[E:\DVD\test\signs\VTS_01_1.vob,E:\DVD\test\signs\V TS_01_2.vob,E:\DVD\test\signs\VTS_01_3.vob,E:\DVD\ test\signs\VTS_01_4.vob,E:\DVD\test\signs\VTS_01_5 .vob]
Analyzing DVD2AVI Project file
Force Film activated!
Framerate: 23976
DVD2AVI processing done.

--------------------------------------------------------
- 1/13/2003 7:28:03 PM
- Free on drive E: 63566.87 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: E:\DVD\test\signs tmpge\Extracted_audio_1.ac3
Audio1 delay: 0 ms
Audio extraction finished.

--------------------------------------------------------
- 1/13/2003 7:31:37 PM
- Free on drive E: 63225.54 mb
- AUDIO conversion
--------------------------------------------------------

Converting Audio to MP2. Filename: E:\DVD\test\signs tmpge\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "E:\DVD\test\signs tmpge\Extracted_audio_1.ac3" -output "E:\DVD\test\SIGNST~1\Encoded_audio_1.mp2" -logfile "E:\DVD\test\SIGNST~1\Encoded_audio_1.log" ) -azid( -L -3db -c normal -g max ) -ssrc( --rate 44100 ) -2lame( -e -b 128 -m d )
Audio conversion of E:\DVD\test\signs tmpge\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 1/13/2003 7:55:04 PM
- Free on drive E: 63128.00 mb
- Video Encoding using TMPGEnc
--------------------------------------------------------
- Encoding E:\DVD\test\signs tmpge\AviSynth_Script_file.avs
StreamSectors: 834285788
AudioSectors: 103724768
VideoPAPO: 11316780
ScanOffsetBytes: 0
SeqAligningBytes: 0
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 719244236.00
Seconds: 6396.27
CalcMPEGStream: 719244236.00
Frames: 153237
CDSize: 800.00
Cut point 796.00
Aspect Ratio: 16:9 (borders added, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec .dll")
mpeg2source("E:\DVD\test\SIGNST~1\DVD2AV~1.D2V")
BicubicResize(352,180,0.00,0.60)
AddBorders(0,30,0,30)
----AVS End----

Executing TMPGEnc. Commandline:
"C:\Program Files\DVD2SVCD\TMPGEnc-2.58.44.152-Free\TMPGEnc.exe" "E:\DVD\test\signs tmpge\TMPGEnc_Project_file.tpr" /Encode /Close
Video Encoding finished.

--------------------------------------------------------
- 1/13/2003 9:24:29 PM
- Free on drive E: 63054.66 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 1/13/2003 9:24:31 PM
- Free on drive E: 63054.66 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 1/13/2003 9:24:33 PM
- Free on drive E: 63054.66 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 796 mb

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "E:\DVD\test\signs tmpge\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

CD-Image creation finished.

--------------------------------------------------------
- 1/13/2003 9:25:08 PM
- Free on drive E: 62980.36 mb
- SVCD Creation finished!
--------------------------------------------------------

mrj03 07-10-2003 03:19 PM

Re: Thank you Kwag
 
Quote:

Originally Posted by kwag
Quote:

Originally Posted by I Dont Know
The only other question I have is with your 2 KVCD templates installed can I still create SVCD's

Use exactly the same parameters as above, but change to MPEG-2 encoding. There are no "templates" in DVD2SVCD, so you feed it KVCD parameters, which are the GOP and Q. Matrix (already included in DVD2SVCD) :wink:

-kwag

If I was to create 1 VCD and 1 SVCD what differences would I see? My player can play both.....

thanks...

mrj03 07-10-2003 03:27 PM

Re: 704X480 resolution template
 
Quote:

Originally Posted by kwag
Quote:

Originally Posted by ss
Hi Kwag,

You have only ini files for 352X240 resolution to be used in DVD2SVCD.

DO you have any plans for creating one for 704X480 resolution .ini file that can be used in DVD2SVCD to create high resolution KSVCD's.

Thanks,

I don't have to :D. Just load the lbr ini file and change the resolution settings and MIN MAX bit rates to match the values in the KVCD templates, and save again with another .ini filename. Once you load the lbr ini file I supplied, all parameters are already set. That is the GOP, matrix, etc. So you only have to change the target resolution that you want and bit rates, and save your new ini file.

-kwag

How do you change the " TARGET RESOLUTION " using DVD2SVCD ??

mrj03 07-10-2003 03:40 PM

Re: ---------> THANKS
 
Quote:

Originally Posted by kwag
Quote:

Originally Posted by I Dont Know
Re:
Thankyou for all your help it's greatly appreciated

As soon as my SVCD is finished I will make a KVCD
with your template


I made a KVCD and it works fine.

The only problem was the picture wasn't sharp enough to sit and watch a full movie, but I am comparing it to the 480 * 576 svcd's i have made that are crystal clear in sound and picture

Maybe I was expecting more than i should have?

What resolution did you use :?:
You mean it doesn't look like this: http://www.kvcd.net/k-19.cq.65.5.hig...1.dither.5.mpg :wink:
That's the way the complete movie looks on one CD-R. ( Play it with WinDVD or PowerDVD )

-kwag

This link doesn't work. Can you post the working one please...

thanks....

Dialhot 07-10-2003 04:22 PM

Re: 704X480 resolution template
 
Quote:

Originally Posted by mrj03
How do you change the " TARGET RESOLUTION " using DVD2SVCD ??

You have to be in "advandced user" level (in misc tab) and then you'll have the "target res" setting allowed in the frameserver tab.

mrj03 07-10-2003 04:53 PM

Re: 704X480 resolution template
 
Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by mrj03
How do you change the " TARGET RESOLUTION " using DVD2SVCD ??

You have to be in "advandced user" level (in misc tab) and then you'll have the "target res" setting allowed in the frameserver tab.

I verified the ADVANCED user was there but when I go into FRAMESERVER these isn't a "TARGET RES" setting. Only resize to:
That doesn't allow you to CHOOSE your resolution other then VCD,SVCD,DVD,CVD.

kwag 07-10-2003 04:54 PM

Re: ---------> THANKS
 
Quote:

Originally Posted by mrj03
This link doesn't work. Can you post the working one please...

That sample is long gone :)
It's been superceded by the latest samples with the new scripts. I deleted all samples that were done before the adaptive scripts and latest techniques. Search the forum for "k19" or "k-19" and you'll find the new ones ;)

-kwag

Thomas Davie 07-16-2003 09:41 PM

Wow! Amazing results for a fire and forget program
 
I bought Harry Potter COS (yeah, despite my age, and I also pre ordered the new book too :)) DVD in full screen DVD format, and thought why not try backing it up. I'm still not sure if it's some perverse technical thrill or I am actually attempting to preserve an investment. Anyways, after about 4-5 days, I finally felt comfortable enough with DVD2SVCD that, as I was whiling away my lunch hour at work today, I thought of how to go about the backup.

Cruising my usual lunch time websites, I came here and read about the KVCD_LBR.ini and matrix.ini for DVD2SVCD. Why not? So, when I got home, I downloaded the newest KVCD_LBR.ini (I think), and the matrix.ini. Backed up my current settings into a zip file, and droppped the new ones into place. Fired up the program, and let it rip. I burnt the CD as a non standard VCD in Nero, and it works perfectly on my DVD player (2 Initial DVD-9510 portables; one hooked up to my TV and the other one tends to follow me around).

I can't believe the quality that is there for 160 minutes of AV stuffed onto one 80 minute CD. Thanks Kwag, very much.

Now, here's a question for you; the DVD I bought was a full screen 4:3 version. I selected 4:3 no borders (encoded as 4:3) in DVD2SVCD. My TV is 4:3. This is how it plays back with no bars on top or bottom. However, when I play the mpeg on my computer, I got the top/bottom black bands; although, I have not yet tried the VCD inside of a program such as PowerDVD....just as a raw mpeg inside of Windows Media Player 9.

Anyways, thanks for all the hard work.

Tom

kwag 07-16-2003 10:05 PM

Re: Wow! Amazing results for a fire and forget program
 
Quote:

Originally Posted by Thomas Davie

I can't believe the quality that is there for 160 minutes of AV stuffed onto one 80 minute CD. Thanks Kwag, very much.

Thanks Tom :)
Quote:


Now, here's a question for you; the DVD I bought was a full screen 4:3 version. I selected 4:3 no borders (encoded as 4:3) in DVD2SVCD. My TV is 4:3. This is how it plays back with no bars on top or bottom. However, when I play the mpeg on my computer, I got the top/bottom black bands; although, I have not yet tried the VCD inside of a program such as PowerDVD....just as a raw mpeg inside of Windows Media Player 9.

Anyways, thanks for all the hard work.

Tom
You should probably try it with WinDVD and PowerDVD. Most probably, the aspect will be correct. I don't trust WMP ;)

-kwag

Thomas Davie 07-17-2003 10:12 AM

Did try with Power DVD, and the aspect ratio is correct
 
Boy, do I feel like a dummy :oops: I tried backing up Gladiator 7 times, and kept at it all because when I looked at the muxed mpeg in Windows Media Player, it had the 'black bars'. I guess when I get home tonight, I'll try again, and this time just go ahead and burn to a CD, and then see how it looks.

As an aside (and I apologize because I realize this has been dealt with elsewhere....I just don't understand the answer), let's say that I wanted to use KVCD-CQ-352x480-_NTSCFilm_-PLUS inside of DVD2SVCD; how would I go about doing that? I know that I would need a KVCD-CQ-352x480-_NTSCFilm_-PLUS.ini, but am ignorant as to how to create one.

thanks again.

Tom

Dialhot 07-17-2003 11:57 AM

It's normal to have black bars on Gladiator : it's a 2.35:1 movie. When you encode it into KVCD (that is 4:3), big black borders are added at top and bottom.

How do you want to make a rectangular picture enter in a (near) square one without this ?

Thomas Davie 07-17-2003 10:29 PM

Oh, I was unaware of this
 
I don't read the backs of packages :oops: I had just assumed that it would not have these black bars (part of the learning process). Still, it ripped/encoded okay, and looked a lot better on my tv than I thought it would. Albeit a *tiny* bit squashed so that people's faces would look thinner than normal.


Question: after reading the package and DVD more clearly, Gladiator is a 2.35:1 ananmorphic DVD (purchased in Canada). I've got a 4:3 TV. In order for the aspect ratios to look correct, which of the three options in DVD2SVCD should I be selecting;

a) 4:3 (no borders encoded as 4:3)
b) 16:9 (borders added, encoded as 4:3)
c) anamorphic (no borders, encoded as 16:9)

I don't mind making mistakes as long as I learn :)

Tom

Dialhot 07-18-2003 04:13 AM

I you have modified you dvd2svcd.ini file in order to use the last MA script with D2S, you don't have to do anything : the script use GripFit that manages anamorphic source by default.

Now, with the basic resizing method of D2S (Bilinear, Bicubic or SimpleResize), you have to set to :

b) 16:9 (borders added, encoded as 4:3)

Thomas Davie 07-18-2003 06:46 AM

Uhm....don't know how to do that
 
And also don't know about this cript to which you are referring. Additionally, I would assume that I would be modifying my LBR.ini instead? Could you pleast post the modification and how to do it?

thanks

Tom

Dialhot 07-18-2003 07:34 AM

In this tread you'll find an adaptation of the script of 23th of june.

Just report the last changes of the MA script in the example given, its easy. I don't have the script on my office PC.

http://www.kvcd.net/forum/viewtopic.php?t=4424&start=32

Thomas Davie 07-18-2003 10:34 AM

This is the most recent script?
 
This is from that thread you referenced me to, but it is (as of this posting) the last post in the thread;

[AVISYNTH_SemiAutoCropAndResize_With_MAF]
0=DetectedTop=^DetectedTop DetectedHeight=^DetectedHeight
1=BlocksToCropHorizontal=^BlocksToCropHorizontal BlocksToCropVertical=^BlocksToCropVertical BlockOptimization=^BlockOptimization
2=ResizeMethod=^ResizeMethod Bicubic_b_Value=^b_value Bicubic_c_Value=^c_value
3=GammaCorrection=^GammaCorrection Hue=^Hue Saturation=^Saturation Brightness=^Brightness Contrast=^Contrast
4=DebugMode=^DebugMode
5=DestinationWidth=^TargetWidth
6=DestinationHeight=^TargetHeight
7=LoadPlugin(!undot.dll)
8=LoadPlugin(!StMedianfilter.dll)
9=LoadPlugin(!asharp.dll)
10=Loadplugin(!UnFilter.dll)
11=LoadPlugin(!SimpleResize.dll)
12=Import(!SemiAutoCropAndResize.avs)
^DetectedTop=12
^DetectedHeight=552
^BlocksToCropHorizontal=2
^BlocksToCropVertical=2
^BlockOptimization=16
^ResizeMethod=2
^b_value=0.0
^c_value=0.6
^GammaCorrection=1.0
^Hue=0
^Saturation=1.0
^Brightness=0
^Contrast=1.0
^DebugMode=0
!SimpleResize.dll=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\SimpleResize\SimpleResize.dll
!SemiAutoCropAndResize.avs=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\AutoCrop\SemiAutoCropAndResize.avs
13=MaxTreshold = 1.50
14=nf=0
15=DetectedTop=^DetectedTop DetectedHeight=^DetectedHeight
16=undot()
17=Limiter()
18=asharp(1, 4)
19=STMedianFilter(8, 32, 0, 0 )
20=MergeChroma(blur(MaxTreshold))
21=MergeLuma(blur(0.1))
22=SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")
23=function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 }
!undot.dll=C:\mIRC\Download\filters_25\filters_25\ UnDot.dll
!StMedianfilter.dll=C:\mIRC\Download\filters_25\fi lters_25\STMedianFilter.dll
!asharp.dll=C:\mIRC\Download\filters_25\filters_25 \asharp.dll
!UnFilter.dll=C:\mIRC\Download\filters_25\filters_ 25\UnFilter.dll

So, all I would have to do is make an entry in my LBR.ini and paste it in?

thanks

Tom

Dialhot 07-18-2003 05:08 PM

No, you gone too far into the thread. Didn't you see my post with a much simple script ? ;-)

BTW, I'm at home now so I can give you the last script I use into DVD2SVCD. Note that there are some llittle diff with the "official" MA script as I use TemporalCleaner insteed of TemporalSoften and don't like "Limiter()" at all, so I removed it.
Code:

[AVISYNTH_Adaptative Filter]
0=nf=0
1=GripCrop(^TargetWidth, ^TargetHeight+^BorderTop+^BorderBottom, overscan=^overscan, source_anamorphic=^source_ana, dest_anamorphic=^dest_ana)
2=GripSize(resizer="BiCubicResize")
3=Undot()
4=Asharp(1, 4)
5=STMedianFilter(^S_FilterThreshHold, ^S_EdgeThreshHold, 0, 0 )
6=MergeChroma(blur(^blur_chroma))
7=MergeLuma(blur(^blur_luma))
8=SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
9=ScriptClip("nf = round(YDifferenceToNext())"+chr(13)+ "nf >= SwitchThreshold ? unfilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))) : TemporalCleaner(6+nf,13+nf) ")
10=GripBorders()
11=function fmin(int f1, int f2) { return (f1<f2) ? f1 : f2 }
^overscan=1
^source_ana=true
^dest_ana=false
^S_FilterThreshHold=8
^S_EdgeThreshHold=32
^blur_chroma=1.58
^blur_luma=0.1

And yes, you have to add a new section at the end of the LBR.ini file then load it in DVD2SVCD. You'll then have a new choice in the "frameserver" tab called "Adaptative Filter"

Thomas Davie 07-19-2003 09:51 AM

Thanks for the response Phil. Your script seems easy enough for me to implement without screwing anything up. And of course I will back up what I've got before trying.

I assume that you are using Avisynth 2.52, correct? I'm currently using 2.08, but can easily switch to 2.52. At the moment, I'm not using any extra plugins, so I wouldn't have any compatability problems from that angle; looking at your script, I gather I would have to download the following filters..... 1) undot.dll 2) Asharp.dll 3) STMedianFilter.dll Are there any others that I would need for your script? I've also downloaded GripFit (both preview and a YV12 version), LegalClip, and mpeg2dec3

If they are needed, would I load them in by adding LoadPlugin commands to the script, or could I just place them in the AViSynth 2.5 plugins folder (either under the AviSynt 2.5 folder, or in the DVD2SVCD subfolder)?


thanks very much

Tom

Thomas Davie 07-19-2003 10:04 AM

A very quick followup
 
If I do have to use LoadPlugin commands in the script to be able to use the plugin dll's, is there an optimal or proper order of placement? In a message section title 'Latest Scripts', I see that Kwag has used LoadPlugin commands in a specific order.....


just wondering.

Tom

Dialhot 07-19-2003 11:38 AM

1/ for sure I use AVS2.52

2/ you have listed all the filters needed, DL all the ones you don't have and put them into the directory "plugins" of avs2.52

3/ I repeat it again and again : No need of loadplugin lines with avs2.52. It autoloads every plugins that are into the "plugins" directory.

4/ even with avs2.08 you don't need to include legalclip.dll as it is a builtin command since a long time now !

jorel 07-19-2003 11:45 AM

:idea:

changing something important in the your script Phil:

[AVISYNTH_Adaptative Philter]
the remainders lines stills the same.
:lol:

seems a great script :!:
:wink:

jorel 07-19-2003 08:17 PM

Phil,
i encode using the script that you posted
and compare the results....

it's really really better :!:
:D
big differences in quality and final size
using the same CQ that i was used before.
i need final size with 284mb with audio(160) 37.64mb

video size with the last best script :arrow: 247mb
video size with your new script :arrow: 238mb.

:wink:

Thomas Davie 07-20-2003 01:12 AM

I got an error with your script
 
1. Downloaded Avisynth 2.52
2. Downloaded all appropriate filters and placed in the AviSynth2,5 Plugins directory
3. Pasted your script to the end of my KVCD_LBR.ini file
4. Started D2S and loaded the ini file
5. Ran an AVI file and it processed until halting on encoding with TMPGEnc Plus 5.913

The error was 'Illegal Function in line 5 GripCrop'

Any ideas?

thanks

Tom

Dialhot 07-20-2003 01:19 AM

Re: I got an error with your script
 
Quote:

Originally Posted by Thomas Davie
The error was 'Illegal Function in line 5 GripCrop'

You have to put Gripfit_yv12.dll into plugin directory.

Thomas Davie 07-20-2003 01:37 AM

Re: I got an error with your script
 
Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by Thomas Davie
The error was 'Illegal Function in line 5 GripCrop'

You have to put Gripfit_yv12.dll into plugin directory.

But it is in the directory. Could the problem be that the Gripfit_Preview.dll is also there?

thanks for all your help

Tom


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