Log in

View Full Version : Some encoded movies too short


derAku
15th February 2006, 00:50
Hi there!

I'm using AutoGK to shrink whole of my ripped DVD-collection - and i really appreciate that there is such a fine piece of automation software available.

80% of my encoding tasks work just fine, however its the 20% i have a lot of trouble with and i ask help for.

These movies are too short. Most of them just by a few minutes but some of them lack half an hour and more. Connected with these symptoms is the output-file's size. It's significantly larger.

I have attached some of AutoGK's logs.

The only hint i've found so far, is about collisions with older XVid versions. I have checked that, and it seems that there is just the actual XVid Version installed.


Thanks for your help

DerAku

derAku
15th February 2006, 00:52
hm there seems to be a problem with the attachments... well then here we go ;-) :


[10.02.2006 15:12:46] AutoGK 2.26
[10.02.2006 15:12:46] OS: WinXP (5.1.2600).2
[10.02.2006 15:12:46] Job started.
[10.02.2006 15:12:46] Input file: C:\Daten\Filme\Enemy Of The State\VIDEO_TS\VTS_01_0.IFO
[10.02.2006 15:12:46] Output file: C:\Daten\Filme\Enemy Of The State.avi
[10.02.2006 15:12:46] Output codec: XviD
[10.02.2006 15:12:46] Audio 1: English AC3 6ch
[10.02.2006 15:12:46] Audio 2: Deutsch AC3 6ch
[10.02.2006 15:12:46] Subtitles: none
[10.02.2006 15:12:46] Format: .AVI
[10.02.2006 15:12:46] Target quality: 75%
[10.02.2006 15:12:46] Custom audio settings: Original
[10.02.2006 15:12:46] Started encoding.
[10.02.2006 15:12:46] Demuxing and indexing.
[10.02.2006 15:19:30] Processing file: C:\Daten\Filme\Enemy Of The State\VIDEO_TS\VTS_01_1.VOB
[10.02.2006 15:19:30] Processing file: C:\Daten\Filme\Enemy Of The State\VIDEO_TS\VTS_01_2.VOB
[10.02.2006 15:19:30] Processing file: C:\Daten\Filme\Enemy Of The State\VIDEO_TS\VTS_01_3.VOB
[10.02.2006 15:19:30] Processing file: C:\Daten\Filme\Enemy Of The State\VIDEO_TS\VTS_01_4.VOB
[10.02.2006 15:19:30] Processing file: C:\Daten\Filme\Enemy Of The State\VIDEO_TS\VTS_01_5.VOB
[10.02.2006 15:19:30] Processing file: C:\Daten\Filme\Enemy Of The State\VIDEO_TS\VTS_01_6.VOB
[10.02.2006 15:19:30] Source resolution: 720x576
[10.02.2006 15:19:30] Found PAL source.
[10.02.2006 15:19:30] Source aspect ratio: 16:9
[10.02.2006 15:19:30] Color correction enabled.
[10.02.2006 15:19:30] Analyzing source.
[10.02.2006 15:29:23] Source has percentage of interlacing in motion areas: 0,33
[10.02.2006 15:29:23] Source is considered to be progressive.
[10.02.2006 15:29:23] Output will contain 190173 frames
[10.02.2006 15:29:23] Running single pass encoding.
[10.02.2006 15:29:23] Writing the following script to C:\Daten\Filme\agk_tmp\Enemy Of The State_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\RemoveGrainSSE2.dll")

movie = mpeg2source("C:\Daten\Filme\agk_tmp\Enemy Of The State.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 = 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 < 1.25) ? input_par : (4.0/3.0)
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)
===========================================================
[10.02.2006 20:16:06] Duration was: 4 hours 46 minutes 42 seconds
[10.02.2006 20:16:06] Speed was: 11,06 fps.
[10.02.2006 20:16:06] Job finished. Total time: 5 hours 3 minutes 19 seconds


****


[07.02.2006 06:43:31] AutoGK 2.26
[07.02.2006 06:43:31] OS: WinXP (5.1.2600).2
[07.02.2006 06:43:31] Job started.
[07.02.2006 06:43:31] Input file: C:\Daten\Filme\Very Bad Things\VIDEO_TS\VTS_01_0.IFO
[07.02.2006 06:43:31] Output file: C:\Daten\Filme\Very Bad Things.avi
[07.02.2006 06:43:31] Output codec: XviD
[07.02.2006 06:43:31] Audio 1: English AC3 2ch
[07.02.2006 06:43:31] Audio 2: Deutsch AC3 6ch
[07.02.2006 06:43:31] Subtitles: none
[07.02.2006 06:43:31] Format: .AVI
[07.02.2006 06:43:31] Target quality: 75%
[07.02.2006 06:43:31] Custom audio settings: Original
[07.02.2006 06:43:31] Started encoding.
[07.02.2006 06:43:31] Demuxing and indexing.
[07.02.2006 06:48:57] Processing file: C:\Daten\Filme\Very Bad Things\VIDEO_TS\VTS_01_1.VOB
[07.02.2006 06:48:57] Processing file: C:\Daten\Filme\Very Bad Things\VIDEO_TS\VTS_01_2.VOB
[07.02.2006 06:48:57] Processing file: C:\Daten\Filme\Very Bad Things\VIDEO_TS\VTS_01_3.VOB
[07.02.2006 06:48:57] Processing file: C:\Daten\Filme\Very Bad Things\VIDEO_TS\VTS_01_4.VOB
[07.02.2006 06:48:57] Source resolution: 720x576
[07.02.2006 06:48:57] Found PAL source.
[07.02.2006 06:48:57] Source aspect ratio: 4:3
[07.02.2006 06:48:57] Color correction enabled.
[07.02.2006 06:48:57] Analyzing source.
[07.02.2006 06:54:55] Source has percentage of interlacing in motion areas: 0,47
[07.02.2006 06:54:55] Source is considered to be progressive.
[07.02.2006 06:54:55] Output will contain 136914 frames
[07.02.2006 06:54:55] Running single pass encoding.
[07.02.2006 06:54:55] Writing the following script to C:\Daten\Filme\agk_tmp\Very Bad Things_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\RemoveGrainSSE2.dll")

movie = mpeg2source("C:\Daten\Filme\agk_tmp\Very Bad Things.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 = 1.06666666666667
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 < 1.25) ? input_par : (4.0/3.0)
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)
===========================================================
[07.02.2006 12:13:07] Duration was: 5 hours 18 minutes 11 seconds
[07.02.2006 12:13:07] Speed was: 7,17 fps.
[07.02.2006 12:13:07] Job finished. Total time: 5 hours 29 minutes 35 seconds



***********

[04.02.2006 18:46:02] AutoGK 2.26
[04.02.2006 18:46:02] OS: WinXP (5.1.2600).2
[04.02.2006 18:46:02] Job started.
[04.02.2006 18:46:02] Input file: C:\Daten\Filme\Das Glücksprinzip\VIDEO_TS\VTS_01_0.IFO
[04.02.2006 18:46:02] Output file: C:\Daten\Filme\Das Glücksprinzip.avi
[04.02.2006 18:46:02] Output codec: XviD
[04.02.2006 18:46:02] Audio 1: English AC3 6ch
[04.02.2006 18:46:02] Audio 2: Deutsch AC3 6ch
[04.02.2006 18:46:02] Subtitles: none
[04.02.2006 18:46:02] Format: .AVI
[04.02.2006 18:46:02] Target quality: 75%
[04.02.2006 18:46:02] Custom audio settings: Original
[04.02.2006 18:46:02] Started encoding.
[04.02.2006 18:46:02] Demuxing and indexing.
[04.02.2006 18:53:00] Processing file: C:\Daten\Filme\Das Glücksprinzip\VIDEO_TS\VTS_01_1.VOB
[04.02.2006 18:53:00] Processing file: C:\Daten\Filme\Das Glücksprinzip\VIDEO_TS\VTS_01_2.VOB
[04.02.2006 18:53:00] Processing file: C:\Daten\Filme\Das Glücksprinzip\VIDEO_TS\VTS_01_3.VOB
[04.02.2006 18:53:00] Processing file: C:\Daten\Filme\Das Glücksprinzip\VIDEO_TS\VTS_01_4.VOB
[04.02.2006 18:53:00] Processing file: C:\Daten\Filme\Das Glücksprinzip\VIDEO_TS\VTS_01_5.VOB
[04.02.2006 18:53:00] Source resolution: 720x576
[04.02.2006 18:53:00] Found PAL source.
[04.02.2006 18:53:00] Source aspect ratio: 16:9
[04.02.2006 18:53:01] Color correction enabled.
[04.02.2006 18:53:01] Analyzing source.
[04.02.2006 18:59:05] Source has percentage of interlacing in motion areas: 0,00
[04.02.2006 18:59:05] Source is considered to be progressive.
[04.02.2006 18:59:05] Output will contain 177762 frames
[04.02.2006 18:59:05] Running single pass encoding.
[04.02.2006 18:59:05] Writing the following script to C:\Daten\Filme\agk_tmp\Das Glücksprinzip_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\RemoveGrainSSE2.dll")

movie = mpeg2source("C:\Daten\Filme\agk_tmp\Das Glücksprinzip.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 = 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 < 1.25) ? input_par : (4.0/3.0)
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)
===========================================================
[04.02.2006 22:56:59] Duration was: 3 hours 57 minutes 54 seconds
[04.02.2006 22:56:59] Speed was: 12,45 fps.
[04.02.2006 22:56:59] Job finished. Total time: 4 hours 10 minutes 57 seconds

jggimi
15th February 2006, 01:52
All three of these samples are single pass, quality based encodes.

#1, "Enemy of the State", in PAL has a run time of 127 minutes according to IMDB.com:[10.02.2006 15:29:23] Output will contain 190173 framesThis is 126 minutes, 47 seconds, and most likely correct. Open your .avi file with VDubMod and use File....Information to see how many frames it contains.

#2, "Very Bad Things", in PAL has a run time of 91 minutes according to IMDB.com:[07.02.2006 06:54:55] Output will contain 136914 framesThis is 91 minutes, 17 seconds, and most likely correct. Open your .avi file with VDubMod and use File....Information to see how many frames it contains.

#3, "Pay it Forward (Das Glücksprinzip)", in PAL has a run time of 118 minutes according to IMDB.com:[04.02.2006 18:59:05] Output will contain 177762 framesThis is 118 minutes, 30 seconds, and most likely correct. Open your .avi file with VDubMod and use File....Information to see how many frames it contains.

If your AVI files have fewer frames, you may want to look at your WinXP Event Viewer to see if VdubMod is exiting early with an abnormal end. You may see error messages in your System Log or your Application Log at about the time that the encodes end:[10.02.2006 20:16:06]
[07.02.2006 12:13:07]
[04.02.2006 22:56:59]

manono
15th February 2006, 11:41
And:
Connected with these symptoms is the output-file's size. It's significantly larger.
Significantly larger than what? Larger than the original vob files? It happens sometimes if the movie doesn't compress well. When using a 1-pass quality based encoding you'll lose all control over the file size. If you want it for a smaller size, use a lower percentage, a lower resolution, or use 2-pass encoding for a fixed file size.

derAku
15th February 2006, 19:41
Thanks to jggimi i've opened the "defective" movie files via VDubMod and Heureka... the movie seems to be quite complete. I've crosschecked it with the DivX-Player and the movie played as it should...till its very end. So this seems to be a problem with the Microsoft Media Player (i'm using). Anyone has any idea how this could happen? I thought the decoding process is done through the installed codecs and player software should have not much impact on that?

To answer manono's question: the movie size of the problematic files is about the size the movie should have - with its proper length...and now we have the explanation for this phaenomenon as well :-)

derAku
24th February 2006, 18:28
No one has any idea why Windows Media Player 10.0 plays some Xvid movies not till their very end?

Thought all of the decoding and indexing stuff is done through the codeces?

:o