Log in

View Full Version : Movie freezes after AutoGK


shtir
14th September 2004, 10:54
I have tried to convert DVD movie into AVI file. Everything was OK. But when I tried to open movie in MSPlayer the movie freezes. No video output comes from MSPLayer. When I've tried o open AVI file in VirtualDub I've received - "Warning: nothing to output bframe decoder lag" error.

What can be the problem?

Here is the agk.log file

[14-Sep-2004 12:12:08 AM] AutoGK 1.52b
[14-Sep-2004 12:12:08 AM] OS: WinXP (5.1.2600).2
[14-Sep-2004 12:12:08 AM] Job started.
[14-Sep-2004 12:12:08 AM] Input dir: C:\NIGHT_WATCH\VIDEO_TS
[14-Sep-2004 12:12:08 AM] Output file: C:\NIGHT_WATCH\VIDEO_TS\avi\dozor.avi
[14-Sep-2004 12:12:08 AM] Audio: Russian
[14-Sep-2004 12:12:08 AM] Subtitles: none
[14-Sep-2004 12:12:08 AM] Codec: XviD
[14-Sep-2004 12:12:08 AM] Target size: 1400Mb
[14-Sep-2004 12:12:08 AM] Started encoding.
[14-Sep-2004 12:12:08 AM] Demuxing and indexing.
[14-Sep-2004 12:16:47 AM] Source aspect ratio: 16:9
[14-Sep-2004 12:16:47 AM] Source resolution: 720x576
[14-Sep-2004 12:16:47 AM] Found PAL source.
[14-Sep-2004 12:16:47 AM] Analyzing source.
[14-Sep-2004 12:16:47 AM] Writing the following script to C:\NIGHT_WATCH\VIDEO_TS\avi\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\agk_tmp\\_.avs",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\agk_tmp\\_.avi");
===========================================================
[14-Sep-2004 12:22:03 AM] Source has percentage of interlacing in motion areas: 0.01
[14-Sep-2004 12:22:03 AM] Source is considered to be progressive.
[14-Sep-2004 12:22:03 AM] Found 175242 frames
[14-Sep-2004 12:22:03 AM] Audio size: 392,224,000 bytes (374.05 Mb)
[14-Sep-2004 12:22:03 AM] Overhead: 1,168,256 bytes (1.11 Mb)
[14-Sep-2004 12:22:03 AM] Video size: 1,074,614,144 bytes (1024.83 Mb)
[14-Sep-2004 12:22:03 AM] Running compressibility test.
[14-Sep-2004 12:22:03 AM] Writing the following script to C:\NIGHT_WATCH\VIDEO_TS\avi\agk_tmp\dozor_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

movie = mpeg2source("C:\NIGHT_WATCH\VIDEO_TS\avi\agk_tmp\dozor.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
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
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[14-Sep-2004 12:22:04 AM] Writing the following script to C:\NIGHT_WATCH\VIDEO_TS\avi\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\agk_tmp\\dozor_comptest.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.SaveAVI("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\agk_tmp\\dozor_comptest.avi");
===========================================================
[14-Sep-2004 12:29:13 AM] Duration was: 7 minutes 9 seconds
[14-Sep-2004 12:29:13 AM] Speed was: 20.40 fps.
[14-Sep-2004 12:29:13 AM] Compressibility percentage is: 49.35
[14-Sep-2004 12:29:13 AM] Using softer matrix.
[14-Sep-2004 12:29:13 AM] Chosen resolution is: 608x336 ( AR: 1.81 )
[14-Sep-2004 12:29:13 AM] Predicted comptest value is: 65.30
[14-Sep-2004 12:29:13 AM] Running first pass.
[14-Sep-2004 12:29:13 AM] Writing the following script to C:\NIGHT_WATCH\VIDEO_TS\avi\agk_tmp\dozor_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

movie = mpeg2source("C:\NIGHT_WATCH\VIDEO_TS\avi\agk_tmp\dozor.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 608
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)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[14-Sep-2004 12:29:13 AM] Writing the following script to C:\NIGHT_WATCH\VIDEO_TS\avi\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\agk_tmp\\dozor_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.SaveAVI("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\dozor.avi");
===========================================================
[14-Sep-2004 1:29:19 AM] Duration was: 1 hour, 0 minutes 5 seconds
[14-Sep-2004 1:29:19 AM] Speed was: 48.61 fps.
[14-Sep-2004 1:29:19 AM] Expected quality of first pass size: 76.26
[14-Sep-2004 1:29:19 AM] Running second pass.
[14-Sep-2004 1:29:19 AM] Writing the following script to C:\NIGHT_WATCH\VIDEO_TS\avi\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\agk_tmp\\dozor_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("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\agk_tmp\\dozor 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","Russian");
VirtualDub.SaveAVI("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\dozor.avi");
===========================================================
[14-Sep-2004 2:58:16 AM] Duration was: 1 hour, 28 minutes 56 seconds
[14-Sep-2004 2:58:16 AM] Speed was: 32.84 fps.
[14-Sep-2004 2:58:17 AM] Writing the following script to C:\NIGHT_WATCH\VIDEO_TS\avi\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\dozor.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,96,96,1,0);
VirtualDub.video.AddComment(0x00000000,"IAS1","Russian");
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(0,78619);
VirtualDub.SaveAVI("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\dozor.cd1.avi");
===========================================================
[14-Sep-2004 2:58:17 AM] Splitting video into: C:\NIGHT_WATCH\VIDEO_TS\avi\dozor.cd1.avi
[14-Sep-2004 2:59:13 AM] Writing the following script to C:\NIGHT_WATCH\VIDEO_TS\avi\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\dozor.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,96,96,1,0);
VirtualDub.video.AddComment(0x00000000,"IAS1","Russian");
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(78619,96429);
VirtualDub.SaveAVI("C:\\NIGHT_WATCH\\VIDEO_TS\\avi\\dozor.cd2.avi");
===========================================================
[14-Sep-2004 2:59:13 AM] Splitting video into: C:\NIGHT_WATCH\VIDEO_TS\avi\dozor.cd2.avi
[14-Sep-2004 3:00:02 AM] Job finished.

len0x
14th September 2004, 17:34
I have no idea what is MSPLayer, but what you see in VDub is perfectly normal - you can just press play button there or scroll through the video and see that its perfectly OK.

Taurus
14th September 2004, 20:05
My guess: MSPlayer = Microsoft Sh...Player
Try another one, like Mediaplayer Classic, Zoomplayer...
Be sure your playback filters are installed properly.
Maybe give ffdshow a try as the universal swiss army knife:D ;)for decoding.
The message in virtualdub is because "packed bitstream" is disabled during xvid encoding for SAP's (standaloneplayer) sake.
It's not a bug in xvid or AutoGk, just one of this small annoying things that make virtualdub sometimes a little confusing.
Just hit play and you will see, everything should work out fine.
As far as I can see, your log file is allright. So should be your avi's.

Cheers

Taurus

P.S.: How fast is your machine? Any codec packs installed?

shtir
15th September 2004, 06:04
Originally posted by len0x
I have no idea what is MSPLayer, but what you see in VDub is perfectly normal - you can just press play button there or scroll through the video and see that its perfectly OK.

I've made a small mistek MSPLayer - MS Windows Media Player. When I opened my movie in Media Player I can scroll through video but the picture doesn't change (I can see only static keyframes).

shtir
15th September 2004, 06:24
Originally posted by Taurus
My guess: MSPlayer = Microsoft Sh...Player
Try another one, like Mediaplayer Classic, Zoomplayer...
Be sure your playback filters are installed properly.
Maybe give ffdshow a try as the universal swiss army knife:D ;)for decoding.
The message in virtualdub is because "packed bitstream" is disabled during xvid encoding for SAP's (standaloneplayer) sake.
It's not a bug in xvid or AutoGk, just one of this small annoying things that make virtualdub sometimes a little confusing.
Just hit play and you will see, everything should work out fine.
As far as I can see, your log file is allright. So should be your avi's.

Cheers

Taurus

P.S.: How fast is your machine? Any codec packs installed?

The main problem - I ripped the movie to publish it on my site. And most of the visitors - they have MS Windows Media Player. So I'd like to make my movie playable in Media Player.

About my computer - it's a Pentium 4 2.0 GHz with 1gb of RAM and ATI 9800 pro video card. So I guess it's not the problem.
About codec packs. As I remeber DIVx and XViD codecs are inatlled.

BTW one note. When I started to play with AutoGK for the first time I was able to convert DVD to AVI and to play it in MSPLayer. After this I was playing with some decoding options and now I can't play the movie in MSPlayer. Seems I need to play with settings some more.

len0x
15th September 2004, 17:57
Originally posted by shtir
The main problem - I ripped the movie to publish it on my site. And most of the visitors - they have MS Windows Media Player. So I'd like to make my movie playable in Media Player.


I suggest you familiarize yourself with forum rules (section 6 in particular): http://forum.doom9.org/forum-rules.htm

Originally posted by shtir
BTW one note. When I started to play with AutoGK for the first time I was able to convert DVD to AVI and to play it in MSPLayer. After this I was playing with some decoding options and now I can't play the movie in MSPlayer. Seems I need to play with settings some more.

Well, you seem to know the answer already...