digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Can't recognise frame rate? (http://www.digitalfaq.com/archives/encode/7793-recognise-frame-rate.html)

Stevis2002 01-20-2004 11:37 AM

Can't recognise frame rate?
 
Dial....Tried to resize using the addborders command, like you said, btu then when i load the script into tok, it says i can't recognise your frame rate.The original avi file has a resolution of 384x200, so i need to change the second value to 208, so it's divisible by 16, have i correctly done this? I'm guessing not as i'm getting the error message.I tried it with the script below, and the v4 script of yours...Here is the script...


AviSource("C:\xxxx.avi",false)
AddBorders(0,8,0,0)
Undot()
Blockbuster(method="noise",detail_min=1,detail_max =8,variance=0.3,seed=5823)
ATC(2,3,5,0.5,false)
TemporalSoften(2,7,7,3,2)
GripCrop(WIDTH, HEIGHT, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
DCTFilter(1,1,1,1,1,1,0.5,0)
Blockbuster(method="noise",detail_min=1,detail_max =10,variance=0.5,seed=5623)
GripBorders()


Thanks

Dialhot 01-20-2004 12:44 PM

Re: Can't recognise frame rate
 
Quote:

Originally Posted by Stevis2002
Dial....Tried to resize using the addborders command, like you said, btu then when i load the script into tok, it says i can't recognise your frame rate.

So it is not anymore a matter of SIZE ! Frame rate and frame size are not the same thing.

Quote:

I'm guessing not as i'm getting the error message.
Your source is a crappy Xvid with a framerate (in FRAME PER SECOND or fps) is not one of these standard values : 23.976, 25 or 29.970.

Use Gspot and check what is the FRAMERATE of the source.

Stevis2002 01-20-2004 01:12 PM

Ok, Frame rate is 25fps.

Dialhot 01-20-2004 02:38 PM

Wait a minute, you didn't change this line :
Code:

GripCrop(WIDTH, HEIGHT, overscan=1, source_anamorphic=false)
:?:

You must put something insteed of WIDTH and HEIGHT (again all is indicated in the thread where you DL the scripts :!: :!:).

Can't you open the script FIRST in wmp before to use it in Tok ?

Stevis2002 01-20-2004 05:19 PM

Sorry, forgot to add that. It was just that i copied and pasted your earlier script, as i usually use your v4 for my avi's.
Still get the same error message of not been ablke to understand my frame rate, but yes, it does play in media player.

Dialhot 01-20-2004 05:42 PM

SO the framerate is not 25. Is 25.000001 perhaps.

Do a script with just :
Code:

Avisource("name.avi",false)
Info()

Open it in wmp and see what is the exact fps that avisynth reports for this movie.

Note: what are the width and height you put in gripcrop line ?

Stevis2002 01-20-2004 06:06 PM

25.0030 It says. The gripcrop info i put in was 352, 240.

Like This

AviSource("C:\XXXXXXX.avi",false)
AddBorders(0,8,0,0)
Undot()
Blockbuster(method="noise",detail_min=1,detail_max =8,variance=0.3,seed=5823)
ATC(2,3,5,0.5,false)
TemporalSoften(2,7,7,3,2)
GripCrop(352, 240, overscan=0, source_anamorphic=false)
GripSize(resizer="LanczosResize")
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.5,seed=5623)
GripBorders()


Thanks for all this help Phil

Dialhot 01-21-2004 06:01 AM

25.0030 is not 25 so TOk in not mad :-).

Just add "Assume(25,false)" at the end of your script and all will be okay.

Abond 01-21-2004 07:48 AM

On the other hand 352x240 is not PAL resolution...

Stevis2002 01-21-2004 10:03 AM

Thanks for all your help on this irritation :)

Got rid of the error in tok, but now tmpenc says, 'script error : there is no function called 'assume''

Script is here, (below), tried the one above as well. (with assume added same place as the script below)

AviSource("C:\XXXXXXXXXXX.avi",false)
AddBorders(0,8,0,0)
Undot()
Blockbuster(method="noise",detail_min=1,detail_max =8,variance=0.3,seed=5823)
ATC(2,3,5,0.5,false)
TemporalSoften(2,7,7,3,2)
GripCrop(352, 240, overscan=0, source_anamorphic=false)
GripSize(resizer="LanczosResize")
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.5,seed=5623)
GripBorders()
Assume(25,false)

Abond 01-21-2004 10:30 AM

Should be AssumeFPS(25,false)

Dialhot 01-21-2004 10:36 AM

Quote:

Originally Posted by Abond
Should be AssumeFPS(25,false)

You're right !

For the non PAL resolution I post a message this morning but I had an error from the board and it never arrived :-(

Stevis you must use 352*288 as size.

And please : RTFM of avisynth at least once in your life !

Stevis2002 01-21-2004 11:04 AM

Thanks for all your help.

Dial....what of avisynth for once in my life? lol

kwag 01-21-2004 12:34 PM

Definition of RTFM:
(R)ead (T)he (Fine, Freaking, FU* :lol: ) (M)anual :)

-kwag

dazedconfused 01-22-2004 03:19 AM

Quote:

Originally Posted by kwag
Definition of RTFM:
(R)ead (T)he (Fine, Freaking, FU* :lol: ) (M)anual :)

-kwag

let's not forget (F)riendly and (F)antastic as well! :wink: :lol:

-d&c


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