Zalbar
1st October 2004, 18:43
I have one anime series which is 16:9 anamorphic. The stream information.txt lists the video as:
0xE0 - Video - MPEG-2 / 720x480 (NTSC) / 16:9 / Letterboxed / LBA: 1 / PTS: 00:00:00.300 / Delay: 0ms
AutoGK video info line displays: NTSC - 720x480 - 16:9 - 29.997fps
However, AutoGK when processing declares 4:3 and and encodes it as such.
I figured there was a problem with the .ifo so I opened it in IFOEdit to fix it, however, the .ifo already shows that the stream is in 16:9.
You'll notice I forced IVTC on in this instance. I was testing something unrelated to the issue. It has had no effect on the AR issue.
Also. Can anyone suggest a workaround which would function with autoGK before I start doing them manually?
Thank you!
Here's the most recent logfile:
[10/1/2004 9:26:50 AM] AutoGK 1.60
[10/1/2004 9:26:50 AM] OS: WinXP (5.1.2600).2
[10/1/2004 9:26:50 AM] Job started.
[10/1/2004 9:26:50 AM] Input dir: C:\DVD\GITS\episode1
[10/1/2004 9:26:50 AM] Output file: C:\DVD\GITS\episode1\episode1.xvid.nocartoon.avi
[10/1/2004 9:26:50 AM] Audio: English
[10/1/2004 9:26:50 AM] Subtitles: none
[10/1/2004 9:26:50 AM] Codec: XviD
[10/1/2004 9:26:50 AM] Target size: 175Mb
[10/1/2004 9:26:50 AM] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[10/1/2004 9:26:50 AM] Started encoding.
[10/1/2004 9:26:50 AM] Demuxing and indexing.
[10/1/2004 9:27:13 AM] Processing file: C:\DVD\GITS\episode1\VTS_14_1.VOB
[10/1/2004 9:27:13 AM] Source aspect ratio: 4:3
[10/1/2004 9:27:13 AM] Source resolution: 720x480
[10/1/2004 9:27:13 AM] Found NTSC source.
[10/1/2004 9:27:13 AM] Analyzing source.
[10/1/2004 9:28:12 AM] Source has percentage of interlacing in motion areas: 34.98
[10/1/2004 9:28:12 AM] Source has percentage of telecined patterns: 75.37
[10/1/2004 9:28:12 AM] Source has percentage of progressive patterns: 22.66
[10/1/2004 9:28:12 AM] Source has percentage of interlaced patterns: 1.97
[10/1/2004 9:28:12 AM] Source is considered to be hybrid (mostly FILM).
[10/1/2004 9:28:12 AM] Looking for optimal hybrid thresholds.
[10/1/2004 9:28:22 AM] Found threshold of: 0.94
[10/1/2004 9:28:22 AM] Forcing normal IVTC method.
[10/1/2004 9:28:22 AM] Found 37762 frames
[10/1/2004 9:28:22 AM] Encoding audio.
[10/1/2004 9:31:15 AM] Audio size: 25,061,552 bytes (23.90 Mb)
[10/1/2004 9:31:15 AM] Overhead: 1,510,528 bytes (1.44 Mb)
[10/1/2004 9:31:15 AM] Video size: 156,928,720 bytes (149.66 Mb)
[10/1/2004 9:31:15 AM] Running compressibility test.
[10/1/2004 9:31:15 AM] Writing the following script to C:\DVD\GITS\episode1\agk_tmp\episode1.xvid.nocartoon_comptest.avs
===========================================================
LoadPlugin("C:\dvdutils\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\decomb.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\undot.dll")
movie = mpeg2source("C:\DVD\GITS\episode1\agk_tmp\episode1.xvid.nocartoon.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=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 : (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)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(250,15)
===========================================================
[10/1/2004 9:33:16 AM] Duration was: 2 minutes 0 seconds
[10/1/2004 9:33:16 AM] Speed was: 15.64 fps.
[10/1/2004 9:33:16 AM] Compressibility percentage is: 60.51
[10/1/2004 9:33:16 AM] Chosen resolution is: 592x448 ( AR: 1.32 )
[10/1/2004 9:33:16 AM] Predicted comptest value is: 70.09
[10/1/2004 9:33:16 AM] Running first pass.
[10/1/2004 9:33:16 AM] Writing the following script to C:\DVD\GITS\episode1\agk_tmp\episode1.xvid.nocartoon_movie.avs
===========================================================
LoadPlugin("C:\dvdutils\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\decomb.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\undot.dll")
movie = mpeg2source("C:\DVD\GITS\episode1\agk_tmp\episode1.xvid.nocartoon.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=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 : (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,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)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[10/1/2004 9:51:09 AM] Duration was: 17 minutes 52 seconds
[10/1/2004 9:51:09 AM] Speed was: 35.20 fps.
[10/1/2004 9:51:09 AM] Expected quality of first pass size: 68.64
[10/1/2004 9:51:09 AM] Running second pass.
[10/1/2004 10:13:43 AM] Duration was: 22 minutes 33 seconds
[10/1/2004 10:13:43 AM] Speed was: 27.90 fps.
[10/1/2004 10:13:43 AM] Job finished.
0xE0 - Video - MPEG-2 / 720x480 (NTSC) / 16:9 / Letterboxed / LBA: 1 / PTS: 00:00:00.300 / Delay: 0ms
AutoGK video info line displays: NTSC - 720x480 - 16:9 - 29.997fps
However, AutoGK when processing declares 4:3 and and encodes it as such.
I figured there was a problem with the .ifo so I opened it in IFOEdit to fix it, however, the .ifo already shows that the stream is in 16:9.
You'll notice I forced IVTC on in this instance. I was testing something unrelated to the issue. It has had no effect on the AR issue.
Also. Can anyone suggest a workaround which would function with autoGK before I start doing them manually?
Thank you!
Here's the most recent logfile:
[10/1/2004 9:26:50 AM] AutoGK 1.60
[10/1/2004 9:26:50 AM] OS: WinXP (5.1.2600).2
[10/1/2004 9:26:50 AM] Job started.
[10/1/2004 9:26:50 AM] Input dir: C:\DVD\GITS\episode1
[10/1/2004 9:26:50 AM] Output file: C:\DVD\GITS\episode1\episode1.xvid.nocartoon.avi
[10/1/2004 9:26:50 AM] Audio: English
[10/1/2004 9:26:50 AM] Subtitles: none
[10/1/2004 9:26:50 AM] Codec: XviD
[10/1/2004 9:26:50 AM] Target size: 175Mb
[10/1/2004 9:26:50 AM] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[10/1/2004 9:26:50 AM] Started encoding.
[10/1/2004 9:26:50 AM] Demuxing and indexing.
[10/1/2004 9:27:13 AM] Processing file: C:\DVD\GITS\episode1\VTS_14_1.VOB
[10/1/2004 9:27:13 AM] Source aspect ratio: 4:3
[10/1/2004 9:27:13 AM] Source resolution: 720x480
[10/1/2004 9:27:13 AM] Found NTSC source.
[10/1/2004 9:27:13 AM] Analyzing source.
[10/1/2004 9:28:12 AM] Source has percentage of interlacing in motion areas: 34.98
[10/1/2004 9:28:12 AM] Source has percentage of telecined patterns: 75.37
[10/1/2004 9:28:12 AM] Source has percentage of progressive patterns: 22.66
[10/1/2004 9:28:12 AM] Source has percentage of interlaced patterns: 1.97
[10/1/2004 9:28:12 AM] Source is considered to be hybrid (mostly FILM).
[10/1/2004 9:28:12 AM] Looking for optimal hybrid thresholds.
[10/1/2004 9:28:22 AM] Found threshold of: 0.94
[10/1/2004 9:28:22 AM] Forcing normal IVTC method.
[10/1/2004 9:28:22 AM] Found 37762 frames
[10/1/2004 9:28:22 AM] Encoding audio.
[10/1/2004 9:31:15 AM] Audio size: 25,061,552 bytes (23.90 Mb)
[10/1/2004 9:31:15 AM] Overhead: 1,510,528 bytes (1.44 Mb)
[10/1/2004 9:31:15 AM] Video size: 156,928,720 bytes (149.66 Mb)
[10/1/2004 9:31:15 AM] Running compressibility test.
[10/1/2004 9:31:15 AM] Writing the following script to C:\DVD\GITS\episode1\agk_tmp\episode1.xvid.nocartoon_comptest.avs
===========================================================
LoadPlugin("C:\dvdutils\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\decomb.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\undot.dll")
movie = mpeg2source("C:\DVD\GITS\episode1\agk_tmp\episode1.xvid.nocartoon.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=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 : (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)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(250,15)
===========================================================
[10/1/2004 9:33:16 AM] Duration was: 2 minutes 0 seconds
[10/1/2004 9:33:16 AM] Speed was: 15.64 fps.
[10/1/2004 9:33:16 AM] Compressibility percentage is: 60.51
[10/1/2004 9:33:16 AM] Chosen resolution is: 592x448 ( AR: 1.32 )
[10/1/2004 9:33:16 AM] Predicted comptest value is: 70.09
[10/1/2004 9:33:16 AM] Running first pass.
[10/1/2004 9:33:16 AM] Writing the following script to C:\DVD\GITS\episode1\agk_tmp\episode1.xvid.nocartoon_movie.avs
===========================================================
LoadPlugin("C:\dvdutils\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\decomb.dll")
LoadPlugin("C:\dvdutils\AutoGK\filters\undot.dll")
movie = mpeg2source("C:\DVD\GITS\episode1\agk_tmp\episode1.xvid.nocartoon.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=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 : (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,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)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[10/1/2004 9:51:09 AM] Duration was: 17 minutes 52 seconds
[10/1/2004 9:51:09 AM] Speed was: 35.20 fps.
[10/1/2004 9:51:09 AM] Expected quality of first pass size: 68.64
[10/1/2004 9:51:09 AM] Running second pass.
[10/1/2004 10:13:43 AM] Duration was: 22 minutes 33 seconds
[10/1/2004 10:13:43 AM] Speed was: 27.90 fps.
[10/1/2004 10:13:43 AM] Job finished.