digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Updating excisting ini file? (http://www.digitalfaq.com/archives/avisynth/5146-avisynth-updating-excisting.html)

Payasa 08-22-2003 10:11 AM

updating excisting ini file?
 
i`m encoding skvcd for a while now but i don`t seem to understand how to update excisting dvd2svcd ini file.
maybe someone can help me out? :oops:

Dialhot 08-22-2003 01:52 PM

Not at all the correct forum :!: We have a dvd2svcd forum :idea:

btw, there are the modification to add at the end of your actual DVD2SVCD.ini file :

Code:

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

[AVISYNTH_Divx Filter]
0=ConvertToYV12()
1=Undot()
2=Blockbuster(method="noise",detail_min=1,detail_max=8,variance=0.3,seed=5823)
3=ATC(2,3,5,0.5,false)
4=TemporalSoften(2,7,7,3,2)
5=GripCrop(^TargetWidth, ^TargetHeight+^BorderTop+^BorderBottom, overscan=^overscan, source_anamorphic=^source_ana, dest_anamorphic=^dest_ana)
6=GripSize(resizer="^resizer")
7=DCTFilter(1,1,1,1,1,1,0.5,0)
8=Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.5,seed=5623)
9=GripBorders()
^overscan=1
^source_ana=false
^dest_ana=false
^resizer=LanczosResize

You will have to new entry under the frameserver tab ob dvd2svcd : "Adaptative Filter" that is for DVD ripping, and "Divx Filter" if you want convert a Divx.

Note1 : these settings are for AVS2.52 only ! I do not use avs2.08 since months.

Note2: you have to have all needed filters in the plugins directory of avs2.52.

Note3: I guess all this will be too much for you if you are a newbie. Sorry :-)

Payasa 08-23-2003 06:23 AM

downloaded lots of plugins but must i add them in the dvd2svcd/avs2.5 plugins or the avs2.52 installed in program files/avs2.5/plugins directory

i lot of txt files also but only the dll files are improtant am i right?
or must i put all the files in it what comes with the plugins.

Dialhot 08-23-2003 12:16 PM

Quote:

Originally Posted by Payasa
downloaded lots of plugins but must i add them in the dvd2svcd/avs2.5 plugins or the avs2.52 installed in program files/avs2.5/plugins directory

In the second one.

Quote:

i lot of txt files also but only the dll files are improtant am i right?
or must i put all the files in it what comes with the plugins.
No, just the dll but keep the readme.txt : these are the doc and they will be usefull if one day you want to modify a parameter.

Payasa 08-23-2003 03:34 PM

i looked at the script and checkt all the plugins this is what i have and what i am missing:

i have:

asharp.dll
Autocrop.dll
Dctfilter.dll
Decomb.dll
dgbob.dll
FluxSmooth-2.5.dll
GripFit_preview.dll
GripFit_YV12.dll
LegalClip.dll
MPEG2Dec3.dll
SimpleResize.dll
STMedianFilter.dll
TemporalCleaner.dll
UnDot.dll
UnFilter.dll
MergeChroma.dll
MergeLuma.dll
atc.dll

missing:

ConvertToYV12
GripCrop
Gripsize
Limiter
GripBorders
TemporalSoften

hope anyone can provide me some links..

Dialhot 08-23-2003 03:49 PM

Quote:

Originally Posted by Payasa
ConvertToYV12
Limiter
TemporalSoften

They are all internal command of avs2.52, so do not need any plugin (you can see the manual of avisynth there

Quote:

GripCrop
Gripsize
GripBorders
These are all included in this plugin :

http://www.nic.fi/~lhahne/GripFit_YV12.zip

kwag 08-23-2003 03:51 PM

ConvertToYV12 - Built in AviSynth.
GripCrop ------\\
Gripsize --------|| All three included in GripFit package.
GripBorders ---//
Limiter - Built in AviSynth 2.5x.
TemporalSoften - Built in AviSynth.

-kwag

kwag 08-23-2003 03:52 PM

:P

Payasa 08-23-2003 06:46 PM

encoding goes just fine know, but i have a problem.

i can`t get the permanent subtitles to work.
gues dvd2svcd can`t encode it using the new avs 2.52?

currently use 1.1.3 build 2.

any ideas?

Dialhot 08-24-2003 12:57 PM

Quote:

Originally Posted by Payasa
encoding goes just fine know, but i have a problem.

i can`t get the permanent subtitles to work.
gues dvd2svcd can`t encode it using the new avs 2.52?

currently use 1.1.3 build 2.

any ideas?

Go to frameserver tab, ask for "Edit avisynth script during video encoding". And launch the job without any subtitles.
After the sound if done, a windows pop-up where you can find the avs script that will be used. Jyst add a line "Textsub("your subtitle file here") at the end of the script (or just before the Gripborders() line if you want your subtitles intot the image and not into the black bars). Then let continue the work.

Note: you will need the plugin "VSFilter.dll" for this to work. Do a search with "vsfilter" on thsi forum to find where to DL this plugin.

Payasa 08-24-2003 02:02 PM

tnx dial it works when i did a sample.
this textsub script can be easily added to the divx filter?

but i have already a problem again.
added this script subtitles were huge like arial 22/24 i think, is there no way to reduce the subs to arial 18, and maybe a way to put the subs in a position i want to have them?

currently encode a widescreen movie so i want the subs to be in y-pos 360. the script automaticly puts them in the standard position wich is y-pos 400 for NTSC.

Dialhot 08-24-2003 03:36 PM

Quote:

Originally Posted by Payasa
tnx dial it works when i did a sample.
this textsub script can be easily added to the divx filter?

AS we don't have any means to know the name of the file, you have to change the content of the ini for each encoding (not very great) or we can set the ini file to always open the same subtitle file (let say "subtitle.srt") but that means that before each encoding, you will have to copy the right subtitle file under the name "subtitle.srt"). Again, not very great...

Quote:

but i have already a problem again.
added this script subtitles were huge like arial 22/24 i think, is there no way to reduce the subs to arial 18, and maybe a way to put the subs in a position i want to have them?
Put it into the black bar, they will be smaller.
Else you have to open the subtitle under "sub resynch" (that's the name a a software), save it without changing anything. That will create a file with the extension ".style" where you can find the size of the font, and change it.

Payasa 08-25-2003 04:15 AM

i managed to reduce to subs to arial 18 only the position of the subs is a problem for me.
here`s the script of the .srt.style file a made using Subresync.
if i`m correct the bold part is the position?
i want to have them exacly under the borders the script puts them in the standard position y-pos 400 but i want to have them on like y-pos 360.

ScriptType: v4.00+
PlayResX: 384
PlayResY: 288


[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,18,&H00ffffff,&H0000ffff,&H00000000, &H80000000,0,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20 ,1

Dialhot 08-25-2003 04:33 AM

I never modified these parameters but I already tried to reduce the margins used by default, and that works.
As you can see, the margin are the 3 parameters at the end of the line (MarginL, MarginR, MarginV, all values to 20 by default).

For your problem, is the MarginV (V for "Vertical" that you have to reduce. So the third 20. Set it to 5 for instance).

Payasa 08-25-2003 07:29 AM

thnx i will give it a try...

Paulus 08-26-2003 05:54 PM

Dialhot is the "guru" :-) ! (ain't he payasa........)

Damn.. you really know all the ins and outs don't you..?


........back to endoding "Wallace and Gromit" -> running into strange problems on one of the three parts on the DVD. I hope problems are solved after the next encode. If not you will read my report in the DVD2SVCD forum.......

Dialhot 08-27-2003 04:10 AM

Quote:

Originally Posted by Paulus
Dialhot is the "guru" :-) ! (ain't he payasa........)

Damn.. you really know all the ins and outs don't you..?

Only the ones I already experiment. I guess there are still some that I have to discover. :-D

Payasa 08-27-2003 04:46 AM

yes he`s really a kvcd pro :lol:

but i have a question already :roll:

i don`t seem to get the perm subs to work using subresync editing to verdana 18.
positioning seem to work only the font size stays the same.
is there no way that the scripts can work with the buildin subtitle feature in dvd2svcd?

Dialhot 08-27-2003 05:15 AM

D2S provides its own plugin for subtitles and that is the problem. Perhaps in the future, they'll move it to avs2.52.

And for font size, if changing it in the style file does not work, you can change directly the zoom that is done on the characters.
These are the parameters "ScaleX" and "ScaleY" (both equal to 100 by default. Set them to 75 for instance - the value is in %).

Payasa 08-29-2003 04:16 AM

there`s a new dvd2svcd bundle out there with avs 2.52 support i will give it i try! :lol:

thnx Dialhot


All times are GMT -5. The time now is 10:51 AM  —  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.