View Full Version : AVS Files Screwed Up
Hiro2k
24th April 2002, 14:09
Hi im pretty much a newb when it comes to Video Edditing and Im having a bad problem with an AVS file. I am ripping my Cowboy Bebop DVD set so i don't have to take them out of the box. I am encoding useing Gknot and Divx5.01, and VDub 1.4.10. I have been able to encode every single episode from the Box Set except for episode number 5. I have reason to believe that the AVS file created in Gknot is the culprit because i have made all the other episodes fine. I have reripped it about 4 times with no luck. At the time I frameserve in Vdub after about 2 seconds it gives me an error with the 2 pass encoding. "Avisynth read error". I have tried changing the format in Gkont with Subs, Without Subs, With IVTC (it's an NTSC source), without IVTC and it just won't work. But it's funny how when I load the AVS file in Vdub I can play the movie.
Wellt thats about all the information I can give you, I hope someone can help me.
N_F
24th April 2002, 14:12
Could you post the .avs file here?
Hiro2k
25th April 2002, 14:02
This is the File you asked for, this is about all i can give you.
Mac Sidewinder
25th April 2002, 14:42
You are going to have to cut and paste the avs file info instead of trying to attach it.
Mac
N_F
25th April 2002, 14:56
Open the .avs file in notepad and you'll see that you can read it. :) Just copy it in here.
theReal
25th April 2002, 21:51
I don't believe the avs file could be the culprit because it is only a few lines of text that are always the same.
I believe "avisynth read error" means that avisynth had problems reading the source - I'd try to re-rip that episode (maybe using another ripper).
Hiro2k
25th April 2002, 23:14
Here's the code you asked me for. I have tried to use other rippers and I always get the Same error. Here's the exact error Vdub gives me
AviSynth Read Error:
Avisynth: caught an acess violation at 0x018870d7 , attempting to read from 0x00000000
#
# Created with Gordian Knot
#
# http://thewef.nav.to
#
# PLUGINS
# get them from http://users.win.be/dividee
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\InverseTelecine.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\Avisynth_Spatial.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\GreedyHMA.dll")
LoadPlugin("C:\WINDOWS\System32\vobsub.dll")
#
# SOURCE
mpeg2source("D:\Bebop 5.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
InverseTelecine(40,10,15)
# or use
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# CROPPING
crop(7,2,709,473)
#
# DEINTERLACING
#SmartDeinterlace(2,15,true,true,true)
# or use
#VerticalReduceBy2
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
# DENOISING: choose one combination (or none)
# 1) little noise (fast)
#TemporalSmoother(2,1)
#
# 2) medium noise (slow)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#TemporalSmoother(2)
#
# 3) heavy noise (very slow, you have been warned)
#SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
#TemporalSmoother(3)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#
# SUBTITLES
VobSub("D:\bebop 5_0")
#
# RESIZING
BicubicResize(448,336,0,0.5)
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# COMPRESSIBILITY CHECK
# !Snip Size has to be 13 for use in GKnot!
#SelectRangeEvery(260,13)
#
# FOOL CCEnc
#ResampleAudio(44100)
theReal
26th April 2002, 00:21
All the lines with # at the beginning are ignored by avisynth, these are only comment lines (or commands that were not selected).
In effect, all you have left is:
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\InverseTelecine.dll")
mpeg2source("D:\Bebop 5.d2v")
InverseTelecine(40,10,15)
crop(7,2,709,473)
VobSub("D:\bebop 5_0")
BicubicResize(448,336,0,0.5)
and there is nothing messed up about these commands. If you give wrong arguments to the commands or write something that is not a command, avisynth will give you an error immediately when you try to open the file, but this really sounds like avisynth is unable to read from a certain part of the original file.
You might try to watch the whole vob file with a DVD player - if this works, I dunno what it is...
Hiro2k
26th April 2002, 00:24
I finaly came to that same conclusion. Thanks, im going to try and watch my Original DVD. Thanks Real. I knew about the # cause i did a little programing. And I tried with several rippers and now i don't know what to do.
Head Hunter
26th April 2002, 01:52
According to this thread (http://forum.doom9.org/showthread.php?s=&threadid=22738), horizontal cropping values have to be even. Therefore "crop(7,2,709,473)" is invalid. Hope this helps.
manono
26th April 2002, 02:08
Hi-
Yeah-I was just going to suggest that and Head Hunter beat me to it. In some cases the left-right crops must be divisible by 4 as well, although I don't know if that's true with IVTC, but I believe it to be necessary with GreedyHMA and Decomb. To make sure, add the pixel left and right crops together and make sure they can be divided by 4.
I always try and make sure the top and bottom crops are both even numbers also, although I don't know if that's necessary.
theReal
26th April 2002, 14:27
oops, you are right. From the avisynth reference guide (under the description for "crop/crop bottom"):YUY2 format only stores color information for every two pixels horizontally, so if you're processing in YUY2 mode, left and width must be even.I thought Gknot would correct such mistakes automatically?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.