PDA

View Full Version : FitCD has given script that makes video upside down


videocheez
16th June 2003, 00:53
I recently began using FitCd to give me Avisynth scipts because i can't handle the math for resizing and maintaining the aspect ratio. FitCd gave me the following script:

# -= AviSynth script by FitCD v1.1.2 =-
#LoadPlugin("D:\PathOf\AnyPlugin.dll")
AviSource("C:\1movie encoding\cce\barbershopnanb.avi")
BicubicResize(688,336,0,0.6,4,0,568,304)
AddBorders(16,72,16,72)
#Trim(0,147016).FadeOut(150)

What line of text can i add to the script to rotate the picture by 180 degrees?

Thanks in advance,

VC

wotef
16th June 2003, 01:39
flipvertical()

but this is not caused by fitcd, rather your fourcc / codec installation

videocheez
16th June 2003, 05:40
Thanks for the tip, everything is right side up now in media player. I did notice however that when I load the avisynth file into virtualdub the colors look weird.
The avi plays fine in media player it only has the upside down problem when I play the avisynth file with media player. I'm using the following xvid codec: xvid04102002.exe Do you have any sugstions regarding a more compatible codec?

Thanks in advance,

VC

videocheez
16th June 2003, 08:58
FYI, I figured it out. I was relying on FitCD so much that I didn't notice that it forgot or decide not to insert the ConvertToYUY2() line. I didn't realize that this line had anything to do with the orientation of the resulting file. Thanks again, now i'm going to learn about YV12.

DoW
16th June 2003, 15:16
Might try a more up-to-date version of xvid.

Boulder
16th June 2003, 16:29
Do you have the Nimo codecpack installed? There's one filter there which will cause such problems when installed. If you have the pack installed, uninstall it and try again.

videocheez
17th June 2003, 03:06
I think I got it figured out now thanks for all of your advice guyz. No, I don't have any nimo's installed, I read that nimo's can cause many undesired effects.

VC