All images i import to Vegas9.0 get blown up!help

JimmyBost wrote on 12/14/2009, 5:49 PM
Ok, let me explain myself. I have been using Sony Vegas for a while now and have never had this problem. Basically what Vegas is doing is blowing up every image i import and making it as big as possible. So tiny images are filling up my entire preview screen and look very distorted. Before it would keep everything as its origial size, its blowing everything up now. If i wanna import a 20x20 image it isnt keeping it as its original size!!!

Here is a picture of what is happening (small image being blown up): http://i45.tinypic.com/20rw5uc.jpg

Comments

TheHappyFriar wrote on 12/14/2009, 6:31 PM
it's always done that, you need to use pan/crop or track motion to make it smaller.

There's no win/win with this because some people always want the image a 1:1 pixel ratio & some always want it to fill the screen.

Curious though... did you do anything to make it a non-default procedure to fill the screen?
JimmyBost wrote on 12/14/2009, 6:54 PM
so there is no way to make it a 1:1 pixel ratio? i used to be able to just drag in an image and it would not be changed...
rs170a wrote on 12/14/2009, 6:59 PM
The only way that can happen is if the image is already at project size or larger or if it was on a background that was project size.
Otherwise it gets resized and, as THF said, Vegas has always done it this way.

Mike
Chienworks wrote on 12/14/2009, 7:14 PM
Yep, there's a pretty simple and straightforward way to make the images 1:1, though it's not exactly fast.

Open up Pan/Crop for that image.
- Turn off the lock aspect ratio button
- Make sure maintain aspect and stretch to fill frame are both "yes"
- Enter the height and width of the project frame at a 1.0 pixel aspect ratio

So, if you're working on NTSC, enter 654.54 x 480 as the width and height. Do not use 720 for the width as this doesn't take into account the rectangular shape of the DV pixels. It's a bit complex, but you could save this as a pan/crop preset so that you don't have to futz with it every time.

The image will now appear in it's original pixel size centered in the frame. Drag the framing rectangle to position it.
JohnnyRoy wrote on 12/15/2009, 7:09 AM
> ...though it's not exactly fast.

Hmmm... now let's see... if we had a Script for this I bet it would be Fassst (or vasst)! ;-)

Well, it is Christmas after all and the season for giving what better a gift to offer than one you have hand crafted yourself? Here is a script which I just wrote in response to this thread because it shouldn't have to be that hard for such a simple and useful function.

Just select the events that you want to display in the true resolution of the media and run this script which I call RealImageSize.cs. It will resize the first Pan/Cop keyframe to display the image at it's true size.
/**
* Program: RealImageSize.cs
* Description: This script will adjust all selected video events so that they
* display at their true resolution within a project dimensions
* Author: John Rofrano
* Copyright: 2009, Sundance Media Group / VASST (All Rights Reserved)
*
* Revision Date: December 15, 2009
**/

using System;
using System.Windows.Forms;
using Sony.Vegas;

class EntryPoint
{
public void FromVegas(Vegas vegas)
{
try
{
// get the project width and height in square pixels
float projectWidth = (float)(vegas.Project.Video.Width * vegas.Project.Video.PixelAspectRatio);
float projectHeight = (float)vegas.Project.Video.Height;
float projectCenterX = (float)(projectWidth / 2);
float projectCenterY = (float)(projectHeight / 2);

// create the new bounds for the events
VideoMotionVertex topLeft = new VideoMotionVertex(0.0f, 0.0f);
VideoMotionVertex topRight = new VideoMotionVertex(projectWidth, 0.0f);
VideoMotionVertex bottomRight = new VideoMotionVertex(projectWidth, projectHeight);
VideoMotionVertex bottomLeft = new VideoMotionVertex(0.0f, projectHeight);

// look for selected video events in the project and process them
foreach (Track track in vegas.Project.Tracks)
{
// skip any audio tracks
if (track.IsAudio()) continue;

foreach (VideoEvent videoEvent in track.Events)
{
if (videoEvent.Selected && videoEvent.ActiveTake != null)
{
// reset first frame to project dimensions
VideoMotionKeyframe keyframe = (VideoMotionKeyframe)videoEvent.VideoMotion.Keyframes[0];
keyframe.Bounds = new VideoMotionBounds(topLeft, topRight, bottomRight, bottomLeft);
keyframe.Center = new VideoMotionVertex(projectCenterX, projectCenterY);

// center the image in the new frame
VideoStream videoStream = (VideoStream)videoEvent.ActiveTake.MediaStream;
float videoCenterX = -projectCenterX + (videoStream.Width / 2);
float videoCenterY = -projectCenterY + (videoStream.Height / 2);
keyframe.MoveBy(new VideoMotionVertex(videoCenterX, videoCenterY));
}
}
}
}
catch (Exception e)
{
MessageBox.Show(e.Message, "Critical Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}

Enjoy and Merry Christmas.

~jr
jrazz wrote on 12/15/2009, 9:45 AM
Thanks JR. That was thoughtful.

Merry Christmas all!

j razz
jetdv wrote on 12/16/2009, 8:40 AM
The "Logo Resize" command in Excalibur will do this as well as allow positioning of the image.