digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   DVD2SVCD: problems with ini (http://www.digitalfaq.com/archives/encode/4100-dvd2svcd-problems-ini.html)

ftin 06-20-2003 09:19 AM

DVD2SVCD: problems with ini
 
Hello again Jorel,
I tested out the dvd2svcd ini you gave me last week with some avi's and i got an error in tmpge saying
"the resolution of the video is illegal,must be between 8x8 and 4088x4088,hight width needs to be multiples of eight"
I thought this might be because the source was avi not dvd but i just got a new dvd rom and tested it out ,but got the same result. :(

I have been messing around with it today and here is the avisynth script:

LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1\Mpeg2dec \mpeg2dec.dll")
AVISource("C:\DOCUME~1\Sam\Desktop\sample.avi",Fal se)
ConvertToYUY2()
AssumeFPS(25,1,True)
LoadPlugin("C:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
LoadPlugin("C:\Filters\LegalClip.dll")
Legalclip()
BicubicResize(480,328,0.0,0.6)
LoadPlugin("C:\Filters\StMedianFilter.dll")
STMedianFilter(8,32,0,0,8,32)
LoadPlugin("C:\Filters\UnFilter.dll")
Unfilter(50,50)
TemporalSmoother(1,2)
LoadPlugin("C:\Filters\MergeChroma.dll")
MergeChroma(blur(1.50))
LoadPlugin("C:\Filters\MergeLuma.dll")
MergeLuma((blur(0.2))
AddBorders(0,124,0,124)
LegalClip()

I replaced that one with the standard BicubicResize one,this one:

LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1\Mpeg2dec \mpeg2dec.dll")
AVISource("C:\DOCUME~1\Sam\Desktop\sample.avi",Fal se)
ConvertToYUY2()
AssumeFPS(25,1,True)
BicubicResize(480,328,0.0,0.6)
AddBorders(0,124,0,124)

and get no error , but i cant see the difference :? . Can you?

Dialhot 06-20-2003 10:10 AM

Re: Jorel! problems with ini.
 
Quote:

Originally Posted by ftin
and get no error , but i cant see the difference :? . Can you?

For sure there are a lot of differences : you had a lot of filters in the buggy script, and none in the working one :hihi:

Let's be more serious. Just try to add a "ConvertToRGB24()" at the end of the script that give you a problem, and tell us if this fix the error.

jorel 06-20-2003 10:29 AM

:roll:
errors of course ftin.

the script that i send was maded for dvds and don't had
ConvertToYUY2()
AssumeFPS(25,1,True)
:!:
i don't encode avis, only vobs!

a great hint is this thread where Dialhot help us with dvd2svcd:
http://www.kvcd.net/forum/viewtopic.php?t=4424&start=0

:wink:

ftin 06-20-2003 11:13 AM

Hello Dialhot, I tried "ConvertToRGB24()" but no joy :( .

Hello Jorel, as i said i just got a new dvd rom and tried it with a dvd but get the same result. :? The only reason i used an avi sample was because it was Quicker and easier at the time.

i will check out the link. Cheers.

ftin 06-20-2003 01:34 PM

Ok i checked out the link (thanks) and tried it out with a dvd and got some really good results! :D
But when i convert from avi the script automaticaly says ConvertToYUY2() at the top.
Is there a way of changing the ini so it says ConvertToYV12() ? or will i just have to do it manually?

Also if i dont wont to use gripfit and i delete those lines:

[AVISYNTH_New252 script]
0=LoadPlugin(!Mpeg2Dec3.dll)
1=LoadPlugin(!StMedianfilter.dll)
2=LoadPlugin(!Asharp.dll)
3=LoadPlugin(!Undot.dll)

5=MaxTreshold=^max_threshold
6=scd_trigger=^scd_trigger
7=nf=0
8=undot()
9=Limiter()
10=asharp(2,4)


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)")

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.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

Where would i put these lines?:

x=BicubicResize(^TargetWidth,^TargetHeight,^b_valu e,^c_value)
x=AddBorders(0,^BorderTop,0,^BorderBottom)
^b_value=0.0
^c_value=0.6

I will be very grateful for any help. Cheers.

jorel 06-20-2003 03:21 PM

try this ftin:

[AVISYNTH_New252 script]
0=LoadPlugin(!Mpeg2Dec3.dll)
1=LoadPlugin(!StMedianfilter.dll)
2=LoadPlugin(!Asharp.dll)
3=LoadPlugin(!Undot.dll)
4=MaxTreshold=^max_threshold
5=scd_trigger=^scd_trigger
6=nf=0
7=undot()
8=Limiter()
9=asharp(2,4)
10=BicubicResize(^TargetWidth,^TargetHeight,^b_val ue,^c_value)
11=STMedianFilter(^stm1,^stm2,0,0)
12=MergeChroma(blur(^max_threshold))
13=MergeLuma(blur(0.2))
14=ScriptClip("nf=YDifferenceToNext()"+chr(13)+"nf >2.5?asharp(-(fmin((nf/30),1)),0):TemporalSoften(2,7,7,3,2)")
15=conditionalfilter(last,asharp(-2,0),last,"nf",">","scd_trigger")
16=AddBorders(0,^BorderTop,0,^BorderBottom)
17=Limiter()
18=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
^max_threshold=1.50
^scd_trigger=30
^TargetWidth=480
^TargetHeight=480
^b_value=0.0
^c_value=0.6
^stm1=8
^stm2=32

see if works cos i use now gripfit :!:
:wink:

ftin 06-20-2003 04:31 PM

Thanks Jorel ,it works great!
cheers! :D


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