bkv
22nd June 2005, 20:55
Hi
I have a few old b&w movies in mpeg2 files that I convert to DivX5 using
AutoGK. I wonder if I'm getting reaonable results or if I make the files much too small.
I have chosen 1cd as size for output file. I use DivX5 and chose the mono
option, but leave the rest to AutoGK.
I'll give you an example, and perhaps you have a comment to what I have
done ( I definetely don't understand every in and out of file conversion).
The film lasts 1 hour and 4 minutes and there is quite some flickering in parts of it. I want to see this move on my TV set.
Input mpeg2 file:
3.36 GB
Video:
Resolution 704x480
FPS 29,97
Bitrate 9363 Kbps
Quality factor 0.95 b/px
Codec : mpeg2
Output File
700 MB
Video
Resolution 400x304
Fps 23.98
Bitrate 1466 Kbps
Quality factor 0.51 b/px
Codec DivX 5.x
Audio
Channels 1
Sample rate 48000 Hz
Bitrate 61 Kbs
Codec MP3
Compressibility percentage is: 24,21. I have included the total log below
Regards,
Bjørn
[16.06.2005 23:28:18] AutoGK 1.96
[16.06.2005 23:28:18] OS: WinXP (5.1.2600).2
[16.06.2005 23:28:18] Job started.
[16.06.2005 23:28:18] Input file: spooks_run_wild.mpeg
[16.06.2005 23:28:18] Output file: C:\Documents and Settings\All Users\Dokumenter\Mine videoer\spooks_run_wild.avi
[16.06.2005 23:28:18] Audio: Audio Stream 0
[16.06.2005 23:28:18] Subtitles: none
[16.06.2005 23:28:18] Codec: DivX
[16.06.2005 23:28:18] Target size: 700Mb
[16.06.2005 23:28:18] Started encoding.
[16.06.2005 23:28:18] Demuxing and indexing.
[16.06.2005 23:32:56] Processing file: C:\Documents and Settings\All Users\Dokumenter\Mine videoer\spooks_run_wild.mpeg
[16.06.2005 23:32:57] Source aspect ratio: 4:3
[16.06.2005 23:32:57] Source resolution: 704x480
[16.06.2005 23:32:57] Found NTSC source.
[16.06.2005 23:32:57] Analyzing source.
[16.06.2005 23:37:12] Source has percentage of interlacing in motion areas: 32,64
[16.06.2005 23:37:12] Source has percentage of telecined patterns: 84,97
[16.06.2005 23:37:12] Source has percentage of progressive patterns: 15,03
[16.06.2005 23:37:12] Source has percentage of interlaced patterns: 0,00
[16.06.2005 23:37:12] Source is considered to be hybrid (mostly FILM).
[16.06.2005 23:37:13] Looking for optimal hybrid thresholds.
[16.06.2005 23:40:29] Found threshold of: 1,96
[16.06.2005 23:40:32] Output will contain 92245 frames
[16.06.2005 23:40:33] Enforcing mono audio encoding.
[16.06.2005 23:40:33] Encoding audio.
[16.06.2005 23:44:05] Audio size: 29,247,072 bytes (27.89 Mb)
[16.06.2005 23:44:05] Overhead: 5,952,768 bytes (5.68 Mb)
[16.06.2005 23:44:05] Video size: 698,803,360 bytes (666.43 Mb)
[16.06.2005 23:44:05] Target bitrate is: 1453kbps
[16.06.2005 23:44:05] Running compressibility test.
[16.06.2005 23:44:05] Writing the following script to C:\Documents and Settings\All Users\Dokumenter\Mine videoer\agk_tmp\spooks_run_wild_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\RemoveGrain.dll")
movie = mpeg2source("C:\Documents and Settings\All Users\Dokumenter\Mine videoer\agk_tmp\spooks_run_wild.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.909090909090909
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=3,threshold=1.96)
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)
SelectRangeEvery(280,14)
===========================================================
[16.06.2005 23:51:23] Duration was: 7 minutes 1 second.
[16.06.2005 23:51:24] Speed was: 10,93 fps.
[16.06.2005 23:51:25] Compressibility percentage is: 24,21
[16.06.2005 23:51:25] Using softer resizer.
[16.06.2005 23:51:25] Chosen resolution is: 400x304 ( AR: 1,32 )
[16.06.2005 23:51:25] Predicted comptest value is: 65,64
[16.06.2005 23:51:25] Running first pass.
[16.06.2005 23:51:25] Writing the following script to C:\Documents and Settings\All Users\Dokumenter\Mine videoer\agk_tmp\spooks_run_wild_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\RemoveGrain.dll")
movie = mpeg2source("C:\Documents and Settings\All Users\Dokumenter\Mine videoer\agk_tmp\spooks_run_wild.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.909090909090909
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 = 400
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=3,threshold=1.96)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)
===========================================================
[17.06.2005 00:42:49] Duration was: 51 minutes 20 seconds
[17.06.2005 00:42:50] Speed was: 29,94 fps.
[17.06.2005 00:42:51] Running second pass.
[17.06.2005 01:34:00] Duration was: 51 minutes 6 seconds
[17.06.2005 01:34:02] Speed was: 30,08 fps.
[17.06.2005 01:34:02] Job finished. Total time: 2 hours 5 minutes 44 seconds
I have a few old b&w movies in mpeg2 files that I convert to DivX5 using
AutoGK. I wonder if I'm getting reaonable results or if I make the files much too small.
I have chosen 1cd as size for output file. I use DivX5 and chose the mono
option, but leave the rest to AutoGK.
I'll give you an example, and perhaps you have a comment to what I have
done ( I definetely don't understand every in and out of file conversion).
The film lasts 1 hour and 4 minutes and there is quite some flickering in parts of it. I want to see this move on my TV set.
Input mpeg2 file:
3.36 GB
Video:
Resolution 704x480
FPS 29,97
Bitrate 9363 Kbps
Quality factor 0.95 b/px
Codec : mpeg2
Output File
700 MB
Video
Resolution 400x304
Fps 23.98
Bitrate 1466 Kbps
Quality factor 0.51 b/px
Codec DivX 5.x
Audio
Channels 1
Sample rate 48000 Hz
Bitrate 61 Kbs
Codec MP3
Compressibility percentage is: 24,21. I have included the total log below
Regards,
Bjørn
[16.06.2005 23:28:18] AutoGK 1.96
[16.06.2005 23:28:18] OS: WinXP (5.1.2600).2
[16.06.2005 23:28:18] Job started.
[16.06.2005 23:28:18] Input file: spooks_run_wild.mpeg
[16.06.2005 23:28:18] Output file: C:\Documents and Settings\All Users\Dokumenter\Mine videoer\spooks_run_wild.avi
[16.06.2005 23:28:18] Audio: Audio Stream 0
[16.06.2005 23:28:18] Subtitles: none
[16.06.2005 23:28:18] Codec: DivX
[16.06.2005 23:28:18] Target size: 700Mb
[16.06.2005 23:28:18] Started encoding.
[16.06.2005 23:28:18] Demuxing and indexing.
[16.06.2005 23:32:56] Processing file: C:\Documents and Settings\All Users\Dokumenter\Mine videoer\spooks_run_wild.mpeg
[16.06.2005 23:32:57] Source aspect ratio: 4:3
[16.06.2005 23:32:57] Source resolution: 704x480
[16.06.2005 23:32:57] Found NTSC source.
[16.06.2005 23:32:57] Analyzing source.
[16.06.2005 23:37:12] Source has percentage of interlacing in motion areas: 32,64
[16.06.2005 23:37:12] Source has percentage of telecined patterns: 84,97
[16.06.2005 23:37:12] Source has percentage of progressive patterns: 15,03
[16.06.2005 23:37:12] Source has percentage of interlaced patterns: 0,00
[16.06.2005 23:37:12] Source is considered to be hybrid (mostly FILM).
[16.06.2005 23:37:13] Looking for optimal hybrid thresholds.
[16.06.2005 23:40:29] Found threshold of: 1,96
[16.06.2005 23:40:32] Output will contain 92245 frames
[16.06.2005 23:40:33] Enforcing mono audio encoding.
[16.06.2005 23:40:33] Encoding audio.
[16.06.2005 23:44:05] Audio size: 29,247,072 bytes (27.89 Mb)
[16.06.2005 23:44:05] Overhead: 5,952,768 bytes (5.68 Mb)
[16.06.2005 23:44:05] Video size: 698,803,360 bytes (666.43 Mb)
[16.06.2005 23:44:05] Target bitrate is: 1453kbps
[16.06.2005 23:44:05] Running compressibility test.
[16.06.2005 23:44:05] Writing the following script to C:\Documents and Settings\All Users\Dokumenter\Mine videoer\agk_tmp\spooks_run_wild_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\RemoveGrain.dll")
movie = mpeg2source("C:\Documents and Settings\All Users\Dokumenter\Mine videoer\agk_tmp\spooks_run_wild.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.909090909090909
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=3,threshold=1.96)
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)
SelectRangeEvery(280,14)
===========================================================
[16.06.2005 23:51:23] Duration was: 7 minutes 1 second.
[16.06.2005 23:51:24] Speed was: 10,93 fps.
[16.06.2005 23:51:25] Compressibility percentage is: 24,21
[16.06.2005 23:51:25] Using softer resizer.
[16.06.2005 23:51:25] Chosen resolution is: 400x304 ( AR: 1,32 )
[16.06.2005 23:51:25] Predicted comptest value is: 65,64
[16.06.2005 23:51:25] Running first pass.
[16.06.2005 23:51:25] Writing the following script to C:\Documents and Settings\All Users\Dokumenter\Mine videoer\agk_tmp\spooks_run_wild_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\RemoveGrain.dll")
movie = mpeg2source("C:\Documents and Settings\All Users\Dokumenter\Mine videoer\agk_tmp\spooks_run_wild.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.909090909090909
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 = 400
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=3,threshold=1.96)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)
===========================================================
[17.06.2005 00:42:49] Duration was: 51 minutes 20 seconds
[17.06.2005 00:42:50] Speed was: 29,94 fps.
[17.06.2005 00:42:51] Running second pass.
[17.06.2005 01:34:00] Duration was: 51 minutes 6 seconds
[17.06.2005 01:34:02] Speed was: 30,08 fps.
[17.06.2005 01:34:02] Job finished. Total time: 2 hours 5 minutes 44 seconds