Господа с помощью AGK риппнул DVD. Документальный фильм: в перемешку идут цветные съемки с черно-белыми. Так вот, с цветными частями все в порядке, а на некоторых черно-белых видно крупное зерно и вообще выглядят как-то неестественно (при просмотре DVD все отображается нормально)
Использован кодек XVid, вот данные по сжатию:
[more=SoyCuba_2_2_agk.log][14.03.2010 9:46:00] AutoGK 2.55
[14.03.2010 9:46:00] OS: Windows Vista (6.0.6002).2
[14.03.2010 9:46:00] Job started.
[14.03.2010 9:46:00] Input file: D:\Video\Films\Test\I_AM_CUBA_DISC_2\VIDEO_TS\VTS_01_0.IFO
[14.03.2010 9:46:00] Output file: D:\Video\Films\Test\SoyCuba_2.avi
[14.03.2010 9:46:00] Output codec: XviD
[14.03.2010 9:46:00] Audio 1: English AC3 2ch
[14.03.2010 9:46:00] Subtitles: none
[14.03.2010 9:46:00] Format: AVI
[14.03.2010 9:46:00] Target size: 1400Mb
[14.03.2010 9:46:00] Audio 1 settings: Auto
[14.03.2010 9:46:00] Started encoding.
[14.03.2010 9:46:00] Demuxing and indexing.
[14.03.2010 9:48:06] Processing file: D:\Video\Films\Test\I_AM_CUBA_DISC_2\VIDEO_TS\VTS_01_1.VOB
[14.03.2010 9:48:06] Processing file: D:\Video\Films\Test\I_AM_CUBA_DISC_2\VIDEO_TS\VTS_01_2.VOB
[14.03.2010 9:48:06] Processing file: D:\Video\Films\Test\I_AM_CUBA_DISC_2\VIDEO_TS\VTS_01_3.VOB
[14.03.2010 9:48:06] Processing file: D:\Video\Films\Test\I_AM_CUBA_DISC_2\VIDEO_TS\VTS_01_4.VOB
[14.03.2010 9:48:06] Source resolution: 720x480
[14.03.2010 9:48:06] Found NTSC source.
[14.03.2010 9:48:06] Source aspect ratio: 4:3
[14.03.2010 9:48:06] Analyzing source.
[14.03.2010 9:48:49] Source has percentage of interlacing in motion areas: 0,00
[14.03.2010 9:48:49] Source has percentage of telecined patterns: 0,00
[14.03.2010 9:48:49] Source has percentage of progressive patterns: 0,00
[14.03.2010 9:48:49] Source has percentage of interlaced patterns: 0,00
[14.03.2010 9:48:49] Source is considered to be progressive.
[14.03.2010 9:48:49] Output will contain 163934 frames
[14.03.2010 9:48:49] Using VAQ in XviD
[14.03.2010 9:48:49] Audio1 size: 131,266,560 bytes (125.19 Mb)
[14.03.2010 9:48:49] Overhead: 911,616 bytes (0.87 Mb)
[14.03.2010 9:48:49] Video size: 1,335,828,224 bytes (1273.95 Mb)
[14.03.2010 9:48:49] Running compressibility test.
[14.03.2010 9:48:49] Writing the following script to D:\Video\Films\Test\agk_tmp\SoyCuba_2_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("D:\Video\Films\Test\agk_tmp\SoyCuba_2.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 = 704
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)
SelectRangeEvery(300,15)
===========================================================
[14.03.2010 9:54:30] Duration was: 5 minutes 39 seconds
[14.03.2010 9:54:30] Speed was: 24,12 fps.
[14.03.2010 9:54:30] Compressibility percentage is: 47,23
[14.03.2010 9:54:30] Using softer matrix.
[14.03.2010 9:54:30] Chosen resolution is: 656x384 ( AR: 1,71 )
[14.03.2010 9:54:30] Predicted comptest value is: 70,31%
[14.03.2010 9:54:30] Running first pass.
[14.03.2010 9:54:30] Writing the following script to D:\Video\Films\Test\agk_tmp\SoyCuba_2_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("D:\Video\Films\Test\agk_tmp\SoyCuba_2.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 = 656
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)
===========================================================
[14.03.2010 10:49:41] Duration was: 55 minutes 11 seconds
[14.03.2010 10:49:41] Speed was: 49,51 fps.
[14.03.2010 10:49:42] Expected quality of first pass size: 70,16%
[14.03.2010 10:49:42] Running second pass.
[14.03.2010 12:12:33] Duration was: 1 hour, 22 minutes 50 seconds
[14.03.2010 12:12:33] Speed was: 32,98 fps.
[14.03.2010 12:12:34] Splitting video into: D:\Video\Films\Test\SoyCuba_2.cd1.avi
[14.03.2010 12:13:52] Splitting video into: D:\Video\Films\Test\SoyCuba_2.cd2.avi
[14.03.2010 12:14:49] Splitting video into: D:\Video\Films\Test\SoyCuba_2.cd3.avi
[14.03.2010 12:14:52] Job finished. Total time: 2 hours 28 minutes 52 seconds
[/more]
Вопрос как можно улучшить качество черно-белых отрезков? Вроде бы при таких параметрах рипа и так должно все качественно получаться.
Для примера - скриншот
Особенно плохо получаются динамичные сцены.