Log in

View Full Version : AutoGK and MPEG2 recorded at 6 mbps not compatible?


sconcequence
31st October 2007, 22:15
I have a DVD recorder, a Sony RDR-GX330. If I record at the highest bitrate, run the output through VideoRedo so that it is clean, and then encode it using AutoGK, it does a perfect job. However, when I record at the next lowest setting (~6 mbps), and run it through VideoRedo so that it is clean, strange problems occur within AutoGK. The video is not at a weird resolution, it is still 720x480 @ 29.97 fps.

The problem presents itself in the output as a file that is heavily overcropped, inflated, and corrupt, as garbage sometimes fills the output at the beginning. I have tried fooling with the autocrop settings to no avail. I have uninstalled, reboot, and reinstalled all of the codecs and associated programs twice also to no avail.

This happens with both the stable 2.45 version of AutoGK and the beta 2.47b version of AutoGK. I see no difference between the versions and this problem.

The only way I can describe it is to show it to you:

http://cruisefx.justjohnnyweb.net/AutoGK_Problem/bscap0001.jpg

Since it seems to be a problem with the MPEG2 file itself, I am including it in a link in this post for analysis. Please note that it is clean, correct, and proper by every standard that I can think of.

http://cruisefx.justjohnnyweb.net/AutoGK_Problem/TVWorthWatchingMPTSinging.mpg
(7.2 MB)

I am also including the corrupt AVI output of AutoGK for analysis:

http://cruisefx.justjohnnyweb.net/AutoGK_Problem/TVWorthWatchingMPTSinging.avi
(6.2 MB)

Here is my AutoGK Log:

[10/30/2007 6:54:12 PM] AutoGK 2.47b
[10/30/2007 6:54:12 PM] OS: WinXP (5.1.2600).2
[10/30/2007 6:54:12 PM] Job started.
[10/30/2007 6:54:12 PM] Input file: C:\temp999\TVWorthWatchingMPTSinging.mpg
[10/30/2007 6:54:12 PM] Output file: C:\temp999\TVWorthWatchingMPTSinging.avi
[10/30/2007 6:54:12 PM] Output codec: XviD
[10/30/2007 6:54:12 PM] Audio 1: Audio Stream 0 AC3
[10/30/2007 6:54:12 PM] Subtitles: none
[10/30/2007 6:54:12 PM] Format: AVI
[10/30/2007 6:54:12 PM] Target size: 4Mb
[10/30/2007 6:54:12 PM] Audio 1 settings: Auto
[10/30/2007 6:54:12 PM] Standalone support enabled: ESS
[10/30/2007 6:54:12 PM] Started encoding.
[10/30/2007 6:54:12 PM] Demuxing and indexing.
[10/30/2007 6:54:12 PM] Processing file: ..\TVWorthWatchingMPTSinging.mpg
[10/30/2007 6:54:12 PM] Source resolution: 720x480
[10/30/2007 6:54:12 PM] Found NTSC source.
[10/30/2007 6:54:12 PM] Source aspect ratio: 4:3
[10/30/2007 6:54:12 PM] Color correction enabled.
[10/30/2007 6:54:12 PM] Analyzing source.
[10/30/2007 6:54:16 PM] Source has percentage of interlacing in motion areas: 25.44
[10/30/2007 6:54:16 PM] Source has percentage of telecined patterns: 8.33
[10/30/2007 6:54:16 PM] Source has percentage of progressive patterns: 66.67
[10/30/2007 6:54:16 PM] Source has percentage of interlaced patterns: 25.00
[10/30/2007 6:54:16 PM] Source is considered to be hybrid (mostly NTSC).
[10/30/2007 6:54:16 PM] Looking for optimal hybrid thresholds.
[10/30/2007 6:54:17 PM] Found threshold of: 0.01
[10/30/2007 6:54:17 PM] Output will contain 208 frames
[10/30/2007 6:54:17 PM] Decoding audio.
[10/30/2007 6:54:18 PM] Normalizing audio.
[10/30/2007 6:54:18 PM] Encoding audio.
[10/30/2007 6:54:19 PM] Audio1 size: 92,160 bytes (0.09 Mb)
[10/30/2007 6:54:19 PM] Overhead: 8,320 bytes (0.01 Mb)
[10/30/2007 6:54:19 PM] Video size: 4,093,824 bytes (3.90 Mb)
[10/30/2007 6:54:19 PM] Running compressibility test.
[10/30/2007 6:54:19 PM] Writing the following script to C:\temp999\agk_tmp\TVWorthWatchingMPTSinging_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("C:\temp999\agk_tmp\TVWorthWatchingMPTSinging.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)
input_par = (input_par > 1.4) || (input_par < 1.25) ? 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,guide=1,post=2).Decimate(mode=1,threshold=0.01)
autocrop(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",opt=0,hints=false,threads=0)
SelectRangeEvery(15,15)
===========================================================
[10/30/2007 6:54:57 PM] Duration was: 37 seconds
[10/30/2007 6:54:57 PM] Speed was: 5.50 fps.
[10/30/2007 6:54:57 PM] Compressibility percentage is: 61.36
[10/30/2007 6:54:57 PM] Chosen resolution is: 592x512 ( AR: 1.16 )
[10/30/2007 6:54:57 PM] Predicted comptest value is: 70.48%
[10/30/2007 6:54:57 PM] Running first pass.
[10/30/2007 6:54:57 PM] Writing the following script to C:\temp999\agk_tmp\TVWorthWatchingMPTSinging_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("C:\temp999\agk_tmp\TVWorthWatchingMPTSinging.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)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 592
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,guide=1,post=2).Decimate(mode=1,threshold=0.01)
autocrop(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",opt=0,hints=false,threads=0)
===========================================================
[10/30/2007 6:55:23 PM] Duration was: 25 seconds
[10/30/2007 6:55:23 PM] Speed was: 8.04 fps.
[10/30/2007 6:55:23 PM] Expected quality of first pass size: 65.10%
[10/30/2007 6:55:23 PM] Running second pass.
[10/30/2007 6:55:58 PM] Duration was: 35 seconds
[10/30/2007 6:55:58 PM] Speed was: 5.88 fps.
[10/30/2007 6:55:58 PM] Job finished. Total time: 1 minute, 46 seconds

--------------

Please do not dismiss this as a problem with the MPEG2 file. It should work with it, as it is standard and clean (at least to the best of my knowledge).

Thank you.

--

sconcequence
16th November 2007, 01:27
The same behavior shows itself also on the new Auto Gordian Knot 2.48b.

Also note that it seems that this MPEG2 in particular seems to show this problem; not all MPEG2s that come from this recorder using the same settings have this same problem. However, I am sure that I will encounter another example of the same problem.

--

setarip_old
16th November 2007, 02:55
Hi!Please do not dismiss this as a problem with the MPEG2 file.Also note that it seems that this MPEG2 in particular seems to show this problemSince you now seem to indicate that this is, thusfar, a one-off problem, there would seem to be little point in speculating as to the cause of the unusual behavior...

Taurus
16th November 2007, 08:32
I don't know what's wrong with your media, but if you're really in need to convert it:
Try this in the hidden options of AutoGk:
http://img235.imageshack.us/img235/7729/hiddenmg8.th.png (http://img235.imageshack.us/my.php?image=hiddenmg8.png)

sconcequence
20th November 2007, 21:45
When I made my second post, I spoke too soon. ALL of the files I have recorded in this mode end up with strange and bizarre crop settings. This is an issue that needs to be addressed eventually...

--