View Full Version : Problem with Some AutoGK conversions
nstocke
21st November 2005, 15:41
I have several files that I have not been able to convert to XVID format. I'm not sure what the problem is. Some of my captured shows work fine but a couple have the following error:
Error Message:
=====================
VirtualDub Error
Avisynth open failure:
Resize: Source Image too small for this resize method
(H:\SnapStream\Beyond TV\Daily\agk_tmp\The Bravados___-205-11-15-0_vovie.avs, line 18)
======================
File Contents referenced .avs file:
==============================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
movie = mpeg2source("H:\SnapStream\Beyond TV\Daily\agk_tmp\The Bravados ___-2005-11-15-0.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 0.888888888888889
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
ColorMatrix("Rec.709->Rec.601",mmx=true,hints=false)
=========================================================
Any suggestions would be appreciated.
Neal
CWR03
21st November 2005, 19:51
As it says in the first few lines, your source image is too small. According to that, you will need to capture at a higher resolution.
nstocke
21st November 2005, 20:38
As it says in the first few lines, your source image is too small. According to that, you will need to capture at a higher resolution.
I would have assumed the same thing. My files are 720X480. My capture card can't capture any higher and many of the other files have worked okay. I've also set the fixed width for the conversion to 720 but I still get the error.
Neal
CWR03
21st November 2005, 21:00
Certainly 720 x 480 isn't too small, then. If you can recreate the error, please post the entire log file, enclosed in Code tags and kindly word-wrapped. You may also open a problematic file with GSpot and post a screenshot of the window after you've used the Render feature.
nstocke
21st November 2005, 21:59
When you ask for the entire log file which file are you interested in? And its location? The file I posted earlier was the entire contents of the .AVS file that is in the "agk_.tmp" folder. The _.avs file is below.
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
movie = mpeg2source("H:\SnapStream\Beyond TV\Daily\agk_tmp\The Bravados.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,
leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 0.888888888888889
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,
samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
ColorMatrix("Rec.709->Rec.601",mmx=true,hints=false)
Sorry, I'm not sure if I got this formated the way I should. Not sure how to do the word wrap or if I got the code quote right.
Neal
laserfan
21st November 2005, 22:29
Neal that's not the log file--the AGK log file ends in _agk.log and should be located in the same directory, and have the same name +_agk.log, as your output file (the .avi file).
nstocke
22nd November 2005, 01:11
Thanks for being patient.
[11/21/2005 12:42:25 PM] AutoGK 2.20
[11/21/2005 12:42:25 PM] OS: WinXP (5.1.2600).2
[11/21/2005 12:42:25 PM] Job started.
[11/21/2005 12:42:25 PM] Input file: H:\SnapStream\Beyond TV\Shows\The Bravados.mpg
[11/21/2005 12:42:25 PM] Output file: H:\SnapStream\Beyond TV\Daily\The Bravados.avi
[11/21/2005 12:42:25 PM] Output codec: XviD
[11/21/2005 12:42:25 PM] Audio 1: Audio Stream 0 MPEG
[11/21/2005 12:42:25 PM] Subtitles: none
[11/21/2005 12:42:25 PM] Format: .AVI
[11/21/2005 12:42:25 PM] Target quality: 75%
[11/21/2005 12:42:25 PM] Custom resolution settings: fixed width of 720 pixels
[11/21/2005 12:42:25 PM] Started encoding.
[11/21/2005 12:42:25 PM] Demuxing and indexing.
[11/21/2005 1:04:13 PM] Processing file: H:\SnapStream\Beyond TV\Shows\The Bravados.mpg
[11/21/2005 1:04:13 PM] Source resolution: 720x480
[11/21/2005 1:04:13 PM] Found NTSC source.
[11/21/2005 1:04:13 PM] Source aspect ratio: 4:3
[11/21/2005 1:04:13 PM] Color correction enabled.
[11/21/2005 1:04:13 PM] Analyzing source.
[11/21/2005 1:12:48 PM] Source has percentage of interlacing in motion areas: 0.00
[11/21/2005 1:12:48 PM] Source has percentage of telecined patterns: 0.00
[11/21/2005 1:12:48 PM] Source has percentage of progressive patterns: 0.00
[11/21/2005 1:12:48 PM] Source has percentage of interlaced patterns: 0.00
[11/21/2005 1:12:48 PM] Source is considered to be progressive.
[11/21/2005 1:12:49 PM] Output will contain 211786 frames
[11/21/2005 1:12:49 PM] Running single pass encoding.
[11/21/2005 1:12:49 PM] Writing the following script to H:\SnapStream\Beyond TV\Daily\agk_tmp\
The Bravados_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
movie = mpeg2source("H:\SnapStream\Beyond TV\Daily\agk_tmp\
The Bravados.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,
leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 0.888888888888889
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,
leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
ColorMatrix("Rec.709->Rec.601",mmx=true,hints=false)
===========================================================
[11/21/2005 1:33:21 PM] Duration was: 20 minutes 30 seconds
[11/21/2005 1:33:21 PM] Speed was: 172.14 fps.
[11/21/2005 1:33:21 PM] Job finished. Total time: 50 minutes 56 seconds
I think this is the right one. I'm still not sure what I need to do for the word wrap.
Neal
CWR03
22nd November 2005, 01:36
Was that a successful encode? I don't see the error message.
Your "word wrap" would have to be manual - just place a line break (Enter/Return) at any point the text would create a scroll bar at the bottom of the window. It makes things much easier to read.
nstocke
22nd November 2005, 02:05
Was that a successful encode? I don't see the error message.
Your "word wrap" would have to be manual - just place a line break (Enter/Return) at any point the text would create a scroll bar at the bottom of the window. It makes things much easier to read.
No this was an unsuccessful one. The error message appears on the screen. I haven't found it in any of the log files.
Neal
nstocke
22nd November 2005, 14:50
Was that a successful encode? I don't see the error message.
Your "word wrap" would have to be manual - just place a line break (Enter/Return) at any point the text would create a scroll bar at the bottom of the window. It makes things much easier to read.
I figured out my problem. The .mpg files are the problem. The recordings themselves were messed up.
Thanks so much for the help.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.