Quantcast DVD2SVCD: Error in MA Script When Going to TMPGEnc - digitalFAQ.com Forums [Archives]
  #1  
07-22-2003, 07:26 PM
Thomas Davie Thomas Davie is offline
Free Member
 
Join Date: Jul 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
First off, the error I get is a small pop up window when TMPHEnc starts.

It says 'The resolution of the video is illegal. The windows size needs to be set between 8x8 and 4088x4088. The width and height of window needs to be multiple of 8'.

I did a search using illegal AND resolution, and found a reference to a more recent version of mpeg2dec3.dll than I had been using. So I popped that in, but nope. The resolution of the AVI I am attempting to convert is 480x360, and I am converting to 352x240. However, at the bottom of TMPPGEnc, it says DVD2SVCD (MPEG-1 604x56 23.976fpsCQ_VBR 25). Well, 604/8 is 74.5

I'm close, but any ideas?

thanks

Tom
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  
07-22-2003, 07:32 PM
Thomas Davie Thomas Davie is offline
Free Member
 
Join Date: Jul 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
All copies of DivX, and Xvid, and edited/cleaned up the system registry.

Tom
Reply With Quote
  #3  
07-22-2003, 11:35 PM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
Look at the AVISynthscript!!!!

If You using AS 2.5.2 try this Script:

Quote:
[AVISYNTH_MA Script (2.5.2)]
0=LoadPlugin(!Mpeg2Dec3.dll)
1=LoadPlugin(!StMedianfilter.dll)
2=LoadPlugin(!Asharp.dll)
3=LoadPlugin(!Undot.dll)
4=LoadPlugin(!Gripfit_preview.dll)
5=MaxTreshold=^max_threshold
6=scd_trigger=^scd_trigger
7=nf=0
8=undot()
9=Limiter()
10=asharp(2,4)
11=GripCrop(^Breite,^Hoehe,overscan=^overscan,source_anamorphi c=^source_ana)
12=GripSize(resizer="BicubicResize")
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)")
18=GripBorders()
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
^Breite=352
^Hoehe=240
^overscan=0
^source_ana=true
^stm1=8
^stm2=32
?=
?asharp=
?f1=
I edited the lines in the fatt letters for You, so it should work... Copy this Script 1:1 and add it to Your DVD2SVCD.INI on the end... Next You start D2S You can open it at AVisynth setup...
Reply With Quote
  #4  
07-23-2003, 12:29 AM
Thomas Davie Thomas Davie is offline
Free Member
 
Join Date: Jul 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Avalon
Look at the AVISynthscript!!!!

If You using AS 2.5.2 try this Script:

I edited the lines in the fatt letters for You, so it should work... Copy this Script 1:1 and add it to Your DVD2SVCD.INI on the end... Next You start D2S You can open it at AVisynth setup...
Thank you very much. Am trying it right now, and will report back asap on what happens.

No; exact same error message about illegal size (the odd thing is, if I remove the MA script from my ini file, I have no trouble getting to a KVCD?


Tom
Reply With Quote
  #5  
07-23-2003, 03:20 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 Avalon
No; exact same error message about illegal size
For sure, because your problem wasn't were Avalon told you. Moreover is gave you false hints tellling you to use "Source_anamorphic=true" were you have avi, than means "source_anamorphic=false" and his script is so old that you won't have the last optimal picture that you can obtain with MA filter.
(did you do your test with this script ? If yes, I understand why it take you so much time...)

But your problem is elsewhere :
Quote:
(the odd thing is, if I remove the MA script from my ini file, I have no trouble getting to a KVCD?
Try to add "ConvertToRGB24()" at the end of the script and load it into TMPGEnc. If it solves the res problem, you definitely have a codec problem.
Reply With Quote
  #6  
07-23-2003, 06:57 AM
Thomas Davie Thomas Davie is offline
Free Member
 
Join Date: Jul 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
For sure, because your problem wasn't were Avalon told you. Moreover is gave you false hints tellling you to use "Source_anamorphic=true" were you have avi, than means "source_anamorphic=false" and his script is so old that you won't have the last optimal picture that you can obtain with MA filter.
(did you do your test with this script ? If yes, I understand why it take you so much time...)

Try to add "ConvertToRGB24()" at the end of the script and load it into TMPGEnc. If it solves the res problem, you definitely have a codec problem.

Done; I am using your script, as provided, but with a ConvertToRGB24() added as it's very last line. Will report back when I get to work.

Thanks

Tom
Reply With Quote
  #7  
07-23-2003, 10:58 AM
Thomas Davie Thomas Davie is offline
Free Member
 
Join Date: Jul 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Illegal resolution; windows must be between 8x8 and 4088x4088 with multiples of 8. This is with ConvertToRGB() added as the last line of your (Dialhot's) adaptive script supplied to me, and then pasted into the end of my kvcd_lbr.ini file (loaded after DVD2SVCD is started). Done with an unmodified (non hex edited exe file).

I had, prior to this removed all DivX's and Xvids from my system, and then cleaned the registry manually. I suppose that the next step would be to;

a) uninstall DVD2SVCD.exe, remove AviSynth2.52, remove all AVS plugins, and delete all directories, and then

b) reinstall everything.

Unless there are better options? Now, if it makes any difference, I do have an ATI YV12 codec installed.....



thanks

Tom
Reply With Quote
  #8  
07-23-2003, 04:03 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 Thomas Davie
Illegal resolution; windows must be between 8x8 and 4088x4088 with multiples of 8. This is with ConvertToRGB()
I said "ConvertToRGB24", the "24" is important !

Quote:
Done with an unmodified (non hex edited exe file).
So you have 3 convert in the script ? One 'toYUY2' added by D2S, one 'ToYV12' at the top of the script, added by you, and finally "ToRGB24' at the end. Right ?

Quote:
do have an ATI YV12 codec installed.....
I also have but gspot never reported I use it in any time. Divx5.05 and last XVid are enought to obtain correct KVCD from DS2, using MA script, and NO convert at all (binary patched of course).

There is something really strange...
Reply With Quote
  #9  
07-23-2003, 04:22 PM
Thomas Davie Thomas Davie is offline
Free Member
 
Join Date: Jul 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot

I said "ConvertToRGB24", the "24" is important !
Sorry, I wasn't paying attention whilst typing at work. It was, in fact ConvertToRGB24()

Quote:
So you have 3 convert in the script ? One 'toYUY2' added by D2S, one 'ToYV12' at the top of the script, added by you, and finally "ToRGB24' at the end. Right ?
No more toYV12 after you had told me that with proper and non conflicting codecs installed that it would not be necessary. Just a toYUY2 added by D2S, and a ToRGB24() by me right at the end

Quote:
I also have but gspot never reported I use it in any time. Divx5.05 and last XVid are enought to obtain correct KVCD from DS2, using MA script, and NO convert at all (binary patched of course).

There is something really strange...
Yes my friend, there really is something strange I am a Biochemist by trade, so perhaps I don't approach computers as logically as I should

So, otnight when I get home from work, it will be uninstall and then observe which codecs I have, and reinstall, then adding the plugins only as necessary to get a specific AVS script running, using only your supplied MA script.


thanks

Tom
(will report back)
Reply With Quote
  #10  
07-23-2003, 04:39 PM
serrabastien serrabastien is offline
Free Member
 
Join Date: Sep 2002
Location: France, Lille
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Can you post the script you use? Maybe I'm wrong but I think it will be much easy to understand why it doesn't work.

'Z
Reply With Quote
  #11  
07-23-2003, 05:49 PM
Thomas Davie Thomas Davie is offline
Free Member
 
Join Date: Jul 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by 'Z
Can you post the script you use? Maybe I'm wrong but I think it will be much easy to understand why it doesn't work.

'Z
Sure, it was this one suppkied to me by Dialhot.

[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

Tom
Reply With Quote
  #12  
07-23-2003, 06:22 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 Thomas Davie
No more toYV12 after you had told me that with proper and non conflicting codecs installed that it would not be necessary. Just a toYUY2 added by D2S, and a ToRGB24() by me right at the end
BUT... the "no more YV12" was ONLY if you a PATCHED the binairy !
If you don't, your movie is in YUY2 (do to the line added by D2S) and the MA script CAN'T work.

That's simple to understand, no ? MA SCRIPT CLAIMS TO BE IN YV12 !

Quote:
Yes my friend, there really is something strange I am a Biochemist by trade, so perhaps I don't approach computers as logically as I should
It seems so
Reply With Quote
  #13  
07-23-2003, 06:33 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
excuse me:

Phil,
you change the in the script
TemporalCleaner(6+nf,13+nf)
to
TemporalCleaner(6+nf,11+nf)
a few days ago and give me great explanations about this changes.



thanks!
Reply With Quote
  #14  
07-24-2003, 09:11 PM
mrj03 mrj03 is offline
Free Member
 
Join Date: Nov 2002
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Avalon
Look at the AVISynthscript!!!!

If You using AS 2.5.2 try this Script:

Quote:
[AVISYNTH_MA Script (2.5.2)]
0=LoadPlugin(!Mpeg2Dec3.dll)
1=LoadPlugin(!StMedianfilter.dll)
2=LoadPlugin(!Asharp.dll)
3=LoadPlugin(!Undot.dll)
4=LoadPlugin(!Gripfit_preview.dll)
5=MaxTreshold=^max_threshold
6=scd_trigger=^scd_trigger
7=nf=0
8=undot()
9=Limiter()
10=asharp(2,4)
11=GripCrop(^Breite,^Hoehe,overscan=^overscan,source_anamorphi c=^source_ana)
12=GripSize(resizer="BicubicResize")
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)")
18=GripBorders()
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
^Breite=352
^Hoehe=240
^overscan=0
^source_ana=true
^stm1=8
^stm2=32
?=
?asharp=
?f1=
I edited the lines in the fatt letters for You, so it should work... Copy this Script 1:1 and add it to Your DVD2SVCD.INI on the end... Next You start D2S You can open it at AVisynth setup...
When I go to install AviSynth_252.exe it has a WARNING. Is there an updated version I need to download?? Or are there certain PRECAUTIONS I should take during or after the install??

THANKS....
Reply With Quote
  #15  
07-24-2003, 09:27 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
mrj03

what WARNING
certain PRECAUTIONS

download the last avisynth:
http://cultact-server.novi.dk/kpo/avisynth/avs_cvs.html
just simple install (double click), nothing more

Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
TMPGEnc: Error using script... loser79 Video Encoding and Conversion 19 08-27-2004 06:51 AM
TMPGEnc: Not supported error in avisynth script bigggt Video Encoding and Conversion 6 01-02-2004 10:54 PM
DVD2SVCD: Script error, No fuction named temporal cleaner ftin Video Encoding and Conversion 2 07-26-2003 07:26 PM
TMPGEnc: load the optimal script, error with plugins beany101uk Video Encoding and Conversion 1 05-14-2003 04:06 PM
DVD2SVCD: Script error jrv331 Video Encoding and Conversion 4 11-23-2002 07:23 PM

Thread Tools



 
All times are GMT -5. The time now is 02:48 PM  —  vBulletin Jelsoft Enterprises Ltd