Quantcast DVD2SVCD: Problems with ini - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
06-20-2003, 09:19 AM
ftin ftin is offline
Free Member
 
Join Date: May 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
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?
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  
06-20-2003, 10: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 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

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.
Reply With Quote
  #3  
06-20-2003, 10:29 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts

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

Reply With Quote
  #4  
06-20-2003, 11:13 AM
ftin ftin is offline
Free Member
 
Join Date: May 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #5  
06-20-2003, 01:34 PM
ftin ftin is offline
Free Member
 
Join Date: May 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Ok i checked out the link (thanks) and tried it out with a dvd and got some really good results!
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.
Reply With Quote
  #6  
06-20-2003, 03:21 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #7  
06-20-2003, 04:31 PM
ftin ftin is offline
Free Member
 
Join Date: May 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Jorel ,it works great!
cheers!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD2SVCD: CQ prediction problems paolo Video Encoding and Conversion 0 01-12-2005 04:08 AM
DVD2SVCD: Problems with DVD2KVCD plugin and side borders Zyphon Video Encoding and Conversion 2 11-01-2003 07:40 AM
DVD2SVCD: DVD to KSVCD problems Paulus Video Encoding and Conversion 5 06-18-2003 06:48 AM
DVD2SVCD: Audio lip sync Problems tripster Video Encoding and Conversion 8 02-21-2003 12:13 AM
DVD2SVCD: longer films cause problems, results in two files jonallwright Video Encoding and Conversion 0 01-24-2003 07:01 PM




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