Quantcast Avisynth: Updating Excisting ini File? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
08-22-2003, 10:11 AM
Payasa Payasa is offline
Free Member
 
Join Date: Aug 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
08-22-2003, 01:52 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Not at all the correct forum We have a dvd2svcd forum

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
Reply With Quote
  #3  
08-23-2003, 06:23 AM
Payasa Payasa is offline
Free Member
 
Join Date: Aug 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #4  
08-23-2003, 12:16 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #5  
08-23-2003, 03:34 PM
Payasa Payasa is offline
Free Member
 
Join Date: Aug 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
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..
Reply With Quote
  #6  
08-23-2003, 03:49 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #7  
08-23-2003, 03:51 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
ConvertToYV12 - Built in AviSynth.
GripCrop ------\\
Gripsize --------|| All three included in GripFit package.
GripBorders ---//
Limiter - Built in AviSynth 2.5x.
TemporalSoften - Built in AviSynth.

-kwag
Reply With Quote
  #8  
08-23-2003, 03:52 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
:P
Reply With Quote
  #9  
08-23-2003, 06:46 PM
Payasa Payasa is offline
Free Member
 
Join Date: Aug 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #10  
08-24-2003, 12:57 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #11  
08-24-2003, 02:02 PM
Payasa Payasa is offline
Free Member
 
Join Date: Aug 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #12  
08-24-2003, 03:36 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #13  
08-25-2003, 04:15 AM
Payasa Payasa is offline
Free Member
 
Join Date: Aug 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #14  
08-25-2003, 04:33 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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).
Reply With Quote
  #15  
08-25-2003, 07:29 AM
Payasa Payasa is offline
Free Member
 
Join Date: Aug 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
thnx i will give it a try...
Reply With Quote
  #16  
08-26-2003, 05:54 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
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.......
Reply With Quote
  #17  
08-27-2003, 04:10 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #18  
08-27-2003, 04:46 AM
Payasa Payasa is offline
Free Member
 
Join Date: Aug 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
yes he`s really a kvcd pro

but i have a question already

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?
Reply With Quote
  #19  
08-27-2003, 05:15 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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 %).
Reply With Quote
  #20  
08-29-2003, 04:16 AM
Payasa Payasa is offline
Free Member
 
Join Date: Aug 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
there`s a new dvd2svcd bundle out there with avs 2.52 support i will give it i try!

thnx Dialhot
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KDVD: Updating my script for KDVD from DVD maurus Video Encoding and Conversion 6 03-13-2006 10:28 AM
Avisynth: Error opening the avisynth file i76276 Avisynth Scripting 5 10-22-2003 05:56 AM
Sampler.dll is not a avisynth 2.52 file Sykes Avisynth Scripting 4 06-27-2003 08:28 AM
Updating computer... CheronAph Computers 29 06-13-2003 12:18 PM
Avisynth: File Size Predition vs Actual file size? Rig R. Mortis Avisynth Scripting 2 10-12-2002 06:04 PM




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