changing size in avisynth, vdub error messages

Locked
User avatar
norskotaku
Joined: Fri Jun 13, 2003 11:42 am
Location: houston, tx
Contact:
Org Profile

changing size in avisynth, vdub error messages

Post by norskotaku » Sun Feb 08, 2004 6:05 pm

I'm trying to resize my videos to 640x480 for online distribution, and have written an avisynth script to load into vdub, rather than using vdub to resize, in order to avoid another colourspace conversion. I followed the templates in the A & E guide, but every time I try to encode the video, it gets almost to the end and has an error, saying there might be corrupt data.

I tried using SetMemoryMax as well to see if that fixed the problem, but I got the same thing. am I missing something? I thought I could use the avisynth file to do the resizing and encode it using vdub. am I doing something wrong? or is there something wrong with my source file?
Image

User avatar
Corran
Joined: Mon Oct 14, 2002 7:40 pm
Contact:
Org Profile

Post by Corran » Sun Feb 08, 2004 6:22 pm

What does your avisynth script look like? And is the resolution you are resizing to in multiples of 16?

User avatar
klinky
Joined: Mon Jul 23, 2001 12:23 am
Location: Cookie College...
Contact:
Org Profile

Post by klinky » Sun Feb 08, 2004 6:55 pm

There's really no point to converting your video using AVIsynth, it's not going to save you a colorspace conversion. Video coming out of Premiere(or most any digital video editor) is going to be in RGB. Vdub's internal filter engine works in RGB. RGB -> RGB = no loss.

Basically it should be going like:

(AVISynth w/IVTC and/or 2D filtering ) = YUV ----> (Premiere) = RGB -----> VirtualDub(RGB) ----> MPEG/4 codec(YUV).

User avatar
norskotaku
Joined: Fri Jun 13, 2003 11:42 am
Location: houston, tx
Contact:
Org Profile

Post by norskotaku » Sun Feb 08, 2004 7:15 pm

I'm resizing the video I already did in premiere. it's currently encoded with huffyuv, and thus, using vdub to resize it would convert it to rgb again.

I'm trying to take the 720x480 video and change it to 640x480 to correct the aspect ratio for my xvid copies. I'll leave it the way it is for the mpegs, since I believe I will be able to correct that with the file itself anyway.

here is the current avs file:

SetMemoryMax(10)
AVISource("E:/princess_nine/Going down in flames - huffy.avi")
BicubicResize(640,480)

(the top lin was added after the first time I had the problem.)

I just remembered that I was doing the same with my newest video and didn't run into that error. that avs file was setup the same, but without the SetMemoryMax line. that makes me wonder if there is something wrong with my huffy copy of this video? it worked fine encoding without using an avs file, but that was without resizing as well.
Image

User avatar
kmv
Joined: Mon Mar 03, 2003 8:31 am
Location: Another day, another city
Org Profile

Post by kmv » Mon Feb 09, 2004 7:39 am

What is the error message?

You're not running out of disk space are you?

User avatar
norskotaku
Joined: Fri Jun 13, 2003 11:42 am
Location: houston, tx
Contact:
Org Profile

Post by norskotaku » Mon Feb 09, 2004 10:28 am

I'll have to give it another shot and keep that error message to make sure I can tell you exactly what it is saying. no problems with disk space, though, that's for sure. I'm only creating a file that is somewhere around 60 megs and the disk has almost 40 gigs free still.
Image

User avatar
norskotaku
Joined: Fri Jun 13, 2003 11:42 am
Location: houston, tx
Contact:
Org Profile

Post by norskotaku » Mon Feb 09, 2004 12:08 pm

here is the error message:
vdub wrote:Video compression error: An unknown error occurred (may be corrupt data). (Error code -100)
Image

User avatar
klinky
Joined: Mon Jul 23, 2001 12:23 am
Location: Cookie College...
Contact:
Org Profile

Post by klinky » Mon Feb 09, 2004 12:44 pm

huffYUV saves in RGB from RGB source unless you tell it to convert to YUY2, there is an option in the codec settings.

User avatar
norskotaku
Joined: Fri Jun 13, 2003 11:42 am
Location: houston, tx
Contact:
Org Profile

Post by norskotaku » Mon Feb 09, 2004 12:54 pm

klinky wrote:huffYUV saves in RGB from RGB source unless you tell it to convert to YUY2, there is an option in the codec settings.
I know, I always tell it to save in YUV. that was mentioned in the A&E guide
Image

User avatar
klinky
Joined: Mon Jul 23, 2001 12:23 am
Location: Cookie College...
Contact:
Org Profile

Post by klinky » Mon Feb 09, 2004 2:22 pm

AD&E @re devils. I would just do post-processing in Vdub since it's filter engine is faster. >_> <_< Re-export in RGB and use Vdub... >_> <_<. I have no clue why it's giving you that error.

Locked

Return to “Video & Audio Help”