Log in

View Full Version : Strange problem with encoding.


SiburNY
11th December 2004, 05:19
I'm trying to encode DVD "Crime Spree". I ripped it with DVDDecryptor. In AutoGK I selected fixed width 640, AC3 sound, and target size 1399 (i want one big file). Then start encoding. It goes as always, no error occurs. However, final AVI has a problem: approximately at 45:40 I see frames from the beginning of the movie, audio goes on without any problem. It continues like this for 10 minutes, then picture restores as it should be. If I load VOB files and try to watch them, I don't have any problems.

If u need, I can cut that fragment where frames go out of order.

Thank you.

P.S. Log file:

[12/7/2004 9:23:19 PM] AutoGK 1.82b
[12/7/2004 9:23:19 PM] OS: WinXP (5.1.2600).2
[12/7/2004 9:23:19 PM] Job started.
[12/7/2004 9:23:19 PM] Input dir: K:\dvd\Crime Spree\VIDEO_TS
[12/7/2004 9:23:19 PM] Output file: K:\dvd\Crime Spree\VIDEO_TS\crime.spree.avi
[12/7/2004 9:23:19 PM] Audio: English
[12/7/2004 9:23:19 PM] Subtitles: none
[12/7/2004 9:23:19 PM] Codec: XviD
[12/7/2004 9:23:19 PM] Target size: 1399Mb
[12/7/2004 9:23:19 PM] Custom resolution settings: fixed width of 640 pixels
[12/7/2004 9:23:19 PM] Custom audio settings: AC3
[12/7/2004 9:23:19 PM] Started encoding.
[12/7/2004 9:23:19 PM] Demuxing and indexing.
[12/7/2004 9:26:48 PM] Processing file: K:\dvd\Crime Spree\VIDEO_TS\VTS_02_1.VOB
[12/7/2004 9:26:48 PM] Processing file: K:\dvd\Crime Spree\VIDEO_TS\VTS_02_2.VOB
[12/7/2004 9:26:48 PM] Processing file: K:\dvd\Crime Spree\VIDEO_TS\VTS_02_3.VOB
[12/7/2004 9:26:48 PM] Processing file: K:\dvd\Crime Spree\VIDEO_TS\VTS_02_4.VOB
[12/7/2004 9:26:48 PM] Source aspect ratio: 16:9
[12/7/2004 9:26:48 PM] Source resolution: 720x480
[12/7/2004 9:26:48 PM] Found NTSC source.
[12/7/2004 9:26:48 PM] Analyzing source.
[12/7/2004 10:38:47 PM] Source has percentage of interlacing in motion areas: 40.01
[12/7/2004 10:38:47 PM] Source has percentage of telecined patterns: 94.10
[12/7/2004 10:38:47 PM] Source has percentage of progressive patterns: 5.90
[12/7/2004 10:38:47 PM] Source has percentage of interlaced patterns: 0.00
[12/7/2004 10:38:47 PM] Source is considered to be FILM.
[12/7/2004 10:38:47 PM] Found 142777 frames
[12/7/2004 10:38:48 PM] Audio size: 333,485,824 bytes (318.04 Mb)
[12/7/2004 10:38:48 PM] Overhead: 992,512 bytes (0.95 Mb)
[12/7/2004 10:38:48 PM] Video size: 1,132,479,488 bytes (1080.02 Mb)
[12/7/2004 10:38:48 PM] Running compressibility test.
[12/7/2004 10:38:48 PM] Writing the following script to K:\dvd\Crime Spree\VIDEO_TS\agk_tmp\crime.spree_comptest.avs
===========================================================
LoadPlugin("G:\video\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("G:\video\AutoGK\filters\autocrop.dll")
LoadPlugin("G:\video\AutoGK\filters\decomb.dll")
LoadPlugin("G:\video\AutoGK\filters\RemoveGrain.dll")

movie = mpeg2source("K:\dvd\Crime Spree\VIDEO_TS\agk_tmp\crime.spree.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.18518518518519
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 = 640
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
Telecide(movie,order=1,guide=1,post=2).Decimate(mode=0)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(300,15)
===========================================================
[12/8/2004 3:52:06 AM] Duration was: 5 hours 13 minutes 16 seconds
[12/8/2004 3:52:07 AM] Speed was: 0.38 fps.
[12/8/2004 3:52:08 AM] Compressibility percentage is: 119.89
[12/8/2004 3:52:08 AM] Switching b-frames off
[12/8/2004 3:52:08 AM] Chosen resolution is: 640x368 ( AR: 1.74 )
[12/8/2004 3:52:08 AM] Predicted comptest value is: 88.71
[12/8/2004 3:52:08 AM] Running first pass.
[12/8/2004 3:52:08 AM] Writing the following script to K:\dvd\Crime Spree\VIDEO_TS\agk_tmp\crime.spree_movie.avs
===========================================================
LoadPlugin("G:\video\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("G:\video\AutoGK\filters\autocrop.dll")
LoadPlugin("G:\video\AutoGK\filters\decomb.dll")
LoadPlugin("G:\video\AutoGK\filters\RemoveGrain.dll")

movie = mpeg2source("K:\dvd\Crime Spree\VIDEO_TS\agk_tmp\crime.spree.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.18518518518519
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 = 640
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
Telecide(movie,order=1,guide=1,post=2).Decimate(mode=0)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
[12/8/2004 8:31:35 AM] Duration was: 4 hours 39 minutes 26 seconds
[12/8/2004 8:31:36 AM] Speed was: 8.52 fps.
[12/8/2004 8:31:37 AM] Expected quality of first pass size: 84.21
[12/8/2004 8:31:37 AM] Running second pass.
[12/8/2004 2:15:02 PM] Duration was: 5 hours 43 minutes 24 seconds
[12/8/2004 2:15:02 PM] Speed was: 6.93 fps.
[12/8/2004 2:15:02 PM] Job finished.

jggimi
11th December 2004, 05:38
Hello, and welcome to the forum!

...I see frames from the beginning of the movie...

Are you using DVD Decrypter in IFO mode? From this description, you may be incorrectly using it in the default File mode.

SiburNY
11th December 2004, 06:12
No, I used it in IFO mode.

Added: Also I forgot to mention, that the moment where frames go out of order is in the middle of the second VOB file.

Added: In AutoGK I also specified "DVD input".

len0x
11th December 2004, 15:29
if you manually open vobs in DGIndex - what do you see? The same out of order frames or not?

SiburNY
11th December 2004, 20:24
I just opened VOB files in DGindex and they play fine, I don't see any problems.

Added: I cut off the segment, download it HERE (http://www.evton.us/temp/segment.avi)

len0x
13th December 2004, 12:17
wicked... that means that DGDecode has some issues. Nic might be able to have a look at it if you can provide him with the VOB files in DVD2AVI forum...

SiburNY
14th December 2004, 02:48
Yesterday I also tried different parameters. I selected width: 560, sound: cbr 128, and target size: 1CD. The result was the same.

Unfortunately, I don't have DVD right now, so I can't re-decrypt it.