digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   tmpgenc - the resolution of video is illegal? (http://www.digitalfaq.com/archives/encode/7652-tmpgenc-resolution-video.html)

CaLaFaT 01-13-2004 01:41 AM

tmpgenc - the resolution of video is illegal?
 
Well, I try to encode an avi at 544x288 to 352x288 with this script,
Code:

LoadPlugin("C:\Filtros\MPEG2Dec3.dll")
LoadPlugin("C:\Filtros\grip.dll")
LoadPlugin("C:\Filtros\atc.dll")
LoadPlugin("C:\Filtros\Blockbuster.dll")

AVISource("C:\video.avi",false)

Blockbuster(method="noise",detail_min=1,detail_max=8,variance=0.3,seed=5823)
ATC(1,2,4,0.5,false)
TemporalSoften(2,7,7,3,2)
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.5,seed=5823)

gripCrop(352, 288, overscan=1,source_anamorphic=false,dest_anamorphic=false)
GripSize(resizer="lanczosresize")
GripBorders()

converttoyuy2()

And when I put this .avs in TMPGEnc (Video Source), it show me this message:
Quote:

( the resolution of video is illegal.
> THE WINDOWS SIZE NEEDS TO BE SET BETWEEN 8X8 AND 4088 X 4088

> THE WIDTH AND HEIGHT OF WINDOW TO BE MULTIPLE OF 8)
What can I do?

Thanks guys... :wink:

CheronAph 01-13-2004 02:55 AM

Open the script with vdub or media player 6.4 and you shoud see an error message, tell us what it says!

Dialhot 01-13-2004 04:04 AM

Note: by the way use are using a very old script (version 1, we are at version 4 ;-)).

http://www.kvcd.net/forum/viewtopic.php?t=7223

CaLaFaT 01-13-2004 04:38 AM

I know it Dialhot, but I dont understand but avisyhtn say me this if I try with an AVISource with both dimensions divisible by 16...

I will try to open .avs with virtualdub...

Thanks.

CheronAph 01-13-2004 06:25 AM

Quote:

Originally Posted by Dialhot
Warning : script V4 and V3 need a source with both dimensions divisible by 16. If your source is not in this case, you can use "Addborders(left,top,0,0)" to adjust the size (the idea is to reach the next value that is divisible by 16. See example just after). Don't worry, this border will be removed by the gripcrop command.

Example : source is 636 * 477, you need to change it to 640 * 480 (640/16 = 40; 480/16 = 30). So just add this after the line Avisource :
Code:
AddBorders(4,3,0,0)


CaLaFaT 01-14-2004 03:38 AM

But, I tried with v4 script and the dimension's source are divisible by 16!

Vdub say me, Can't load MPEG2Dec3.dll and with another avi I havent any problem!

CheronAph 01-14-2004 03:53 AM

Theres nothing wrong in the script so it must be the source file, can you tell some info about it?

CheronAph 01-14-2004 03:57 AM

This is a good tool to check out codec info, http://avicodec.duby.info/ftp/avicod11.exe

Dialhot 01-14-2004 04:06 AM

Quote:

Originally Posted by CaLaFaT
But, I tried with v4 script and the dimension's source are divisible by 16!

What are the dimension of the source ?

CheronAph 01-14-2004 04:19 AM

Re: Problem with an .avi
 
Quote:

Originally Posted by CaLaFaT
Well, I try to encode an avi at 544x288 to 352x288 with this script,

Itīs this I think.

Dialhot 01-14-2004 04:33 AM

Re: Problem with an .avi
 
Quote:

Originally Posted by CheronAph
Quote:

Originally Posted by CaLaFaT
Well, I try to encode an avi at 544x288 to 352x288 with this script,

Itīs this I think.

Opps. Not fully awake :-P
So you are right, these values are proabably wrong and avicodec will give the correct ones (or gspot).

An other (and better) idea : use this script
Code:

avisource("your avi.avi")
info()

And see what that gives.
(perhaps it's the codec that screw the dimensions).


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