Cropping and Resizing

The old Video Software Help forum, left visible as an archive.
Locked
User avatar
§Daisuke
Joined: Wed Jan 05, 2005 3:37 pm
Org Profile

Cropping and Resizing

Post by §Daisuke » Sun Jul 31, 2005 7:17 am

Okay so I know that Cropping and Resizing is best done via Avi Synth. But my question is how do i know what wright in the code.

I've got an .avi from a friend who made some stuff via premiere but it has 2 black bars on each side... how do i know what to put in the avs file.

Resizing.. after cropping out those 2 bars i want to resize the clip to 720x480.

If you don't understand what i'm asking for i'll try to explain a little clearer.

User avatar
Jnzk
Artsy Bastid
Joined: Tue Jan 28, 2003 5:30 pm
Location: Finland
Org Profile

Post by Jnzk » Sun Jul 31, 2005 7:36 am

Code: Select all

Crop(16,0,-16,-0)
LanczosResize(720,480)
This will crop 16 pixels from the left and right sides.

User avatar
§Daisuke
Joined: Wed Jan 05, 2005 3:37 pm
Org Profile

Post by §Daisuke » Sun Jul 31, 2005 7:40 am

o thank you sooo much.... but how do i find out how big the balck bars are?

User avatar
§Daisuke
Joined: Wed Jan 05, 2005 3:37 pm
Org Profile

Post by §Daisuke » Sun Jul 31, 2005 7:50 am

okay but when i try to open it up with Virtual Dub this is the error i get:

Avisynth open failure:
AVISource: Couldn't Locate a decompresser for fourcc
(C:\Documents and Settings\Daisuke\My Documents\My Videos\beggining.avs, line 1)

What is fourcc. I've checked my first line. It's perfect.

User avatar
risk one
Joined: Sun Oct 13, 2002 4:47 pm
Org Profile

Post by risk one » Sun Jul 31, 2005 8:49 am

A fourcc is a <b>four</b> <b>c</b>haracter <b>c</b>ode. It's four characters in an avi file that tell the media player what codec it needs to use to decompress the avi file. For instance the fourcc for divx 5 is <b>DX50</b>. TO check the fourcc of a clip, load it into VirtualDubMod and select File>File Information...

If that doesn't help you, post your script here with the fourcc code of the clip you're trying to load.

Cropping of the black bars without cropping of any of the image just takes a little trial and error.
ImageImage

User avatar
§Daisuke
Joined: Wed Jan 05, 2005 3:37 pm
Org Profile

Post by §Daisuke » Sun Jul 31, 2005 10:31 am

okay. This is my script:

AVISource("C:\Documents and Settings\Daisuke\My Documents\My Videos\Begginning.avi")
Crop(16,0,-16,-0)
LanczosResize(720,480)

also i can't find the fourcc because VirtualDubMod won't open it.

User avatar
§Daisuke
Joined: Wed Jan 05, 2005 3:37 pm
Org Profile

Post by §Daisuke » Sun Jul 31, 2005 11:54 am

also in Premiere Pro how do i resize a image? what effect do i use... like make it wider. etc.

User avatar
risk one
Joined: Sun Oct 13, 2002 4:47 pm
Org Profile

Post by risk one » Sun Jul 31, 2005 6:09 pm

What error does vdubmod give when you try to open it? (The file Begginning.avi, that is).

You can use the motion tools in premiere for zooming in and the like. Use scale to zoom in, and Position to move the clip. You'll find the motion tools in the effects properties window (this is from memory though).

As a second thought, if you can play beggining.avi in mediaplayer, you might try using DirectShowSource instead of AVISource.
ImageImage

Locked

Return to “Video Software Help Archive”