Log in

View Full Version : issue with xvid in autogk


mikecfa
23rd May 2004, 09:16
just used autogk for the first time. video does not show. audio is fine. if i skip forward in the vid, that video frame is shown but it stops there and the audio just continues.
in the file properties of the avi, couple things seem out of norm:
video frame rate 23fps, data rate 219kbps, video smpl size 12 bit.
Any suggestions? below is the logfile.
thxs
mj

[5/21/2004 9:14:54 PM] AutoGK 1.25
[5/21/2004 9:14:54 PM] OS: WinXP (5.1.2600).2
[5/21/2004 9:14:54 PM] Job started.
[5/21/2004 9:14:54 PM] Input dir: D:\dvd\big fish
[5/21/2004 9:14:54 PM] Output file: D:\Movies\big fish.avi
[5/21/2004 9:14:54 PM] Audio: English
[5/21/2004 9:14:54 PM] Subtitles: none
[5/21/2004 9:14:54 PM] Codec: XviD
[5/21/2004 9:14:54 PM] Target quality: 75%
[5/21/2004 9:14:54 PM] Started encoding.
[5/21/2004 9:14:54 PM] Demuxing and indexing.
[5/21/2004 9:18:28 PM] Source seems to be pure FILM.
[5/21/2004 9:18:29 PM] Found 180058 frames
[5/21/2004 9:18:29 PM] Running single pass encoding.
[5/21/2004 9:18:29 PM] Writing the following script to D:\Movies\gk_tmp\big fish_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }

movie = mpeg2source("D:\Movies\gk_tmp\big fish.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=35)
c_width = width(cropclip)
c_height = round(height(cropclip) / 1.21518987341772)
input_par = float(c_width)/float(c_height)
fixed_aspect = 1.21518987341772
flag_halfdvd = input_par > 1.0 ? 0 : 1
input_par = input_par > 1.0 ? input_par : input_par * 2
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 704
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
new_aspect = flag_halfdvd > 0 ? new_aspect/2.0 : new_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=35)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[5/21/2004 9:18:32 PM] Writing the following script to D:\Movies\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("D:\\Movies\\gk_tmp\\big fish_movie.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("D:\\Movies\\gk_tmp\\big fish AC3 T01 3_2ch 448Kbps DELAY 0ms.ac3",0x00000203,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,96,96,1,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.video.AddComment(0x00000000,"IAS1","English");
VirtualDub.SaveAVI("D:\\Movies\\big fish.avi");
===========================================================
[5/22/2004 1:01:22 AM] Duration was: 3 hours 42 minutes 49 seconds
[5/22/2004 1:01:23 AM] Speed was: 13.47 fps.
[5/22/2004 1:01:23 AM] Job finished.

jggimi
24th May 2004, 02:09
:logfile: In addition, you may want to edit your post and change the subject to something descriptive (Rule 9). That way, more people will read it!

len0x
24th May 2004, 10:47
check that you have AC3Filter installed as it looks to me as pure playback problem.

mikecfa
24th May 2004, 11:27
had it, but downloaded and installed latest on top of previous install and it worked.
you're brilliant
mj