PDA

View Full Version : Why *.avi audio is before video? All other *.avi's are correct, but this one...


xMBx
2nd January 2008, 17:03
Why this *.avi audio is out of sync? All other (with same settings) are synced flawlessly, but this one isn't. 2 other *.avi's are same, with same options. So only 50% of the files work correctly. Why? It's because VBR 128 audio? People, plz help me, i want to offer some good quality TVrips.
[02/01/2008 03:15:20] AutoGK 2.48b
[02/01/2008 03:15:20] OS: WinXP (5.1.2600).2
[02/01/2008 03:15:20] Job started.
[02/01/2008 03:15:20] Input file: C:\Eesti vs Jõekalda 20-12-2007.ts
[02/01/2008 03:15:20] Output file: C:\Eesti vs Jõekalda 20-12-2007.avi
[02/01/2008 03:15:20] Output codec: XviD
[02/01/2008 03:15:20] Audio 1: PID 0322, MPEG Audio Stream
[02/01/2008 03:15:20] Subtitles: none
[02/01/2008 03:15:20] Format: AVI
[02/01/2008 03:15:20] Target size: 700Mb
[02/01/2008 03:15:20] Custom resolution settings: fixed width of 704 pixels
[02/01/2008 03:15:20] Audio 1 settings: VBR MP3 with average bitrate: 128Kbps
[02/01/2008 03:15:20] Started encoding.
[02/01/2008 03:15:20] Demuxing and indexing.
[02/01/2008 03:16:42] Processing file: C:\Eesti vs Jõekalda 20-12-2007.ts
[02/01/2008 03:16:42] Source resolution: 720x576
[02/01/2008 03:16:42] Found PAL source.
[02/01/2008 03:16:42] Source aspect ratio: 4:3
[02/01/2008 03:16:42] Color correction enabled.
[02/01/2008 03:16:42] Analyzing source.
[02/01/2008 03:19:42] Source has percentage of interlacing in motion areas: 63.58
[02/01/2008 03:19:42] Source is considered to be interlaced.
[02/01/2008 03:19:42] Output will contain 101266 frames
[02/01/2008 03:19:42] Encoding audio.
[02/01/2008 03:28:28] Audio1 size: 58,816,680 bytes (56.09 Mb)
[02/01/2008 03:28:28] Overhead: 4,050,688 bytes (3.86 Mb)
[02/01/2008 03:28:28] Video size: 671,135,832 bytes (640.05 Mb)
[02/01/2008 03:28:28] Running compressibility test.
[02/01/2008 03:28:28] Writing the following script to C:\agk_tmp\Eesti vs Jõekalda 20-12-2007_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")

movie = mpeg2source("C:\agk_tmp\Eesti vs Jõekalda 20-12-2007.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 = 1.06666666666667
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
LeakKernelDeInt(movie,order=1,sharp=true)
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(300,15)
===========================================================
[02/01/2008 03:35:29] Duration was: 7 minutes 0 seconds
[02/01/2008 03:35:29] Speed was: 12.05 fps.
[02/01/2008 03:35:29] Compressibility percentage is: 28.53
[02/01/2008 03:35:29] Using softer resizer.
[02/01/2008 03:35:29] Chosen resolution is: 704x528 ( AR: 1.33 )
[02/01/2008 03:35:29] Predicted comptest value is: 29.60%
[02/01/2008 03:35:29] Running first pass.
[02/01/2008 03:35:29] Writing the following script to C:\agk_tmp\Eesti vs Jõekalda 20-12-2007_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")

movie = mpeg2source("C:\agk_tmp\Eesti vs Jõekalda 20-12-2007.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 = 1.06666666666667
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
LeakKernelDeInt(movie,order=1,sharp=true)
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)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false,threads=0)
===========================================================
[02/01/2008 04:46:45] Duration was: 1 hour, 11 minutes 15 seconds
[02/01/2008 04:46:45] Speed was: 23.68 fps.
[02/01/2008 04:46:45] Expected quality of first pass size: 29.51%
[02/01/2008 04:46:45] Running second pass.
[02/01/2008 06:35:23] Duration was: 1 hour, 48 minutes 37 seconds
[02/01/2008 06:35:23] Speed was: 15.54 fps.
[02/01/2008 06:35:23] Job finished. Total time: 3 hours 20 minutes 3 seconds

xMBx
4th January 2008, 15:44
Now if i cut with VirtualDub, then the audio is out of sync (i choose copy audio and video), but if i choose full process audio and video, then the audio is in sync, but the *.avi file is 1 GB (it should be 600 MB).

Wolfman
4th January 2008, 21:05
Dont cut vbr mp3 .. in fact dont use vbr mp3 at all! if you use cbr mp3 and then cut everything will be alright. Loss of bits cbr vs Vbr mp3 is minimal . Cameron DIaz will continue to cook your Breakfast.

xMBx
6th January 2008, 02:00
Oh, that's the whole problem. But my friend recommended VBR 128 for videos, not CBR. :( But CBR takes much longer time?

setarip_old
6th January 2008, 02:41
Hi! But CBR takes much longer time?No...

xMBx
19th January 2008, 17:11
704 width, but it takes 7 hours to convert 2,32 GB *.ts (1h 17 minutes) to *.avi. What i'm doing wrong again?
Here's the log:
[19.01.2008 11:09:09] AutoGK 2.48b
[19.01.2008 11:09:09] OS: WinXP (5.1.2600).2
[19.01.2008 11:09:09] Job started.
[19.01.2008 11:09:09] Input file: E:\Kanal 2 30-12-2007 19h01m02s.ts
[19.01.2008 11:09:09] Output file: E:\Kanal 2 30-12-2007 19h01m02s.avi
[19.01.2008 11:09:09] Output codec: XviD
[19.01.2008 11:09:09] Audio 1: PID 0322, MPEG Audio Stream
[19.01.2008 11:09:09] Subtitles: none
[19.01.2008 11:09:09] Format: AVI
[19.01.2008 11:09:09] Target size: 700Mb
[19.01.2008 11:09:09] Custom resolution settings: fixed width of 704 pixels
[19.01.2008 11:09:09] Audio 1 settings: CBR MP3 with bitrate: 128Kbps
[19.01.2008 11:09:09] Started encoding.
[19.01.2008 11:09:09] Demuxing and indexing.
[19.01.2008 11:12:25] Processing file: E:\Kanal 2 30-12-2007 19h01m02s.ts
[19.01.2008 11:12:25] Source resolution: 720x576
[19.01.2008 11:12:25] Found PAL source.
[19.01.2008 11:12:25] Source aspect ratio: 4:3
[19.01.2008 11:12:25] Color correction enabled.
[19.01.2008 11:12:25] Analyzing source.
[19.01.2008 11:17:41] Source has percentage of interlacing in motion areas: 68,00
[19.01.2008 11:17:41] Source is considered to be interlaced.
[19.01.2008 11:17:41] Output will contain 105544 frames
[19.01.2008 11:17:41] Encoding audio.
[19.01.2008 11:33:47] Audio1 size: 67,523,328 bytes (64.40 Mb)
[19.01.2008 11:33:47] Overhead: 1,253,376 bytes (1.20 Mb)
[19.01.2008 11:33:47] Video size: 665,226,496 bytes (634.41 Mb)
[19.01.2008 11:33:47] Running compressibility test.
[19.01.2008 11:33:47] Writing the following script to E:\agk_tmp\Kanal 2 30-12-2007 19h01m02s_comptest.avs
===========================================================
LoadPlugin("E:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")

movie = mpeg2source("E:\agk_tmp\Kanal 2 30-12-2007 19h01m02s.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 = 1.06666666666667
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
LeakKernelDeInt(movie,order=1,sharp=true)
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(300,15)
===========================================================
[19.01.2008 11:49:18] Duration was: 15 minutes 30 seconds
[19.01.2008 11:49:18] Speed was: 5,67 fps.
[19.01.2008 11:49:18] Compressibility percentage is: 28,57
[19.01.2008 11:49:18] Using softer resizer.
[19.01.2008 11:49:18] Chosen resolution is: 704x528 ( AR: 1,33 )
[19.01.2008 11:49:18] Predicted comptest value is: 29,64%
[19.01.2008 11:49:18] Running first pass.
[19.01.2008 11:49:18] Writing the following script to E:\agk_tmp\Kanal 2 30-12-2007 19h01m02s_movie.avs
===========================================================
LoadPlugin("E:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")

movie = mpeg2source("E:\agk_tmp\Kanal 2 30-12-2007 19h01m02s.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 = 1.06666666666667
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
LeakKernelDeInt(movie,order=1,sharp=true)
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)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false,threads=0)
===========================================================
[19.01.2008 14:03:07] Duration was: 2 hours 13 minutes 49 seconds
[19.01.2008 14:03:08] Speed was: 13,14 fps.
[19.01.2008 14:03:08] Expected quality of first pass size: 27,94%
[19.01.2008 14:03:08] Running second pass.
[19.01.2008 18:01:33] Duration was: 3 hours 58 minutes 24 seconds
[19.01.2008 18:01:33] Speed was: 7,38 fps.
[19.01.2008 18:01:33] Job finished. Total time: 6 hours 52 minutes 23 seconds

buzzqw
19th January 2008, 17:40
1 hour film BUT
it's interlaced
it's 704x528

try reduce resolution for a quicker encoding

BHH

xMBx
20th January 2008, 11:56
Reduced to width 672 pixels, but still.
931 MB *.ts and 2,13 GB *.ts. 30 min and 1 hour videos.
[20.01.2008 4:26:51] AutoGK 2.48b
[20.01.2008 4:26:51] OS: WinXP (5.1.2600).2
[20.01.2008 4:26:51] Job started.
[20.01.2008 4:26:51] Input file: E:\Kanal 2 18-1-2008 20h04m21s.ts
[20.01.2008 4:26:51] Output file: E:\Kanal 2 18-1-2008 20h04m21sRE.avi
[20.01.2008 4:26:51] Output codec: XviD
[20.01.2008 4:26:51] Audio 1: PID 0322, MPEG Audio Stream
[20.01.2008 4:26:52] Subtitles: none
[20.01.2008 4:26:52] Format: AVI
[20.01.2008 4:26:52] Target size: 233Mb
[20.01.2008 4:26:52] Custom resolution settings: fixed width of 672 pixels
[20.01.2008 4:26:52] Audio 1 settings: CBR MP3 with bitrate: 128Kbps
[20.01.2008 4:26:52] Started encoding.
[20.01.2008 4:26:52] Demuxing and indexing.
[20.01.2008 4:27:46] Processing file: E:\Kanal 2 18-1-2008 20h04m21s.ts
[20.01.2008 4:27:46] Source resolution: 720x576
[20.01.2008 4:27:46] Found PAL source.
[20.01.2008 4:27:46] Source aspect ratio: 4:3
[20.01.2008 4:27:46] Color correction enabled.
[20.01.2008 4:27:46] Analyzing source.
[20.01.2008 4:29:55] Source has percentage of interlacing in motion areas: 56,17
[20.01.2008 4:29:55] Source is considered to be interlaced.
[20.01.2008 4:29:55] Output will contain 44100 frames
[20.01.2008 4:29:55] Encoding audio.
[20.01.2008 4:37:06] Audio1 size: 28,215,936 bytes (26.91 Mb)
[20.01.2008 4:37:06] Overhead: 523,648 bytes (0.50 Mb)
[20.01.2008 4:37:06] Video size: 215,578,624 bytes (205.59 Mb)
[20.01.2008 4:37:06] Running compressibility test.
[20.01.2008 4:37:06] Writing the following script to E:\agk_tmp\Kanal 2 18-1-2008 20h04m21sRE_comptest.avs
===========================================================
LoadPlugin("E:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")

movie = mpeg2source("E:\agk_tmp\Kanal 2 18-1-2008 20h04m21sRE.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 = 1.06666666666667
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 = 672
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
LeakKernelDeInt(movie,order=1,sharp=true)
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(300,15)
===========================================================
[20.01.2008 4:43:53] Duration was: 6 minutes 47 seconds
[20.01.2008 4:43:53] Speed was: 5,41 fps.
[20.01.2008 4:43:53] Compressibility percentage is: 42,54
[20.01.2008 4:43:53] Using softer resizer.
[20.01.2008 4:43:53] Chosen resolution is: 672x512 ( AR: 1,31 )
[20.01.2008 4:43:53] Predicted comptest value is: 44,13%
[20.01.2008 4:43:53] Running first pass.
[20.01.2008 4:43:53] Writing the following script to E:\agk_tmp\Kanal 2 18-1-2008 20h04m21sRE_movie.avs
===========================================================
LoadPlugin("E:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")

movie = mpeg2source("E:\agk_tmp\Kanal 2 18-1-2008 20h04m21sRE.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 = 1.06666666666667
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 = 672
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
LeakKernelDeInt(movie,order=1,sharp=true)
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)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false,threads=0)
===========================================================
[20.01.2008 5:38:41] Duration was: 54 minutes 47 seconds
[20.01.2008 5:38:41] Speed was: 13,41 fps.
[20.01.2008 5:38:41] Expected quality of first pass size: 43,37%
[20.01.2008 5:38:41] Running second pass.
[20.01.2008 7:09:48] Duration was: 1 hour, 31 minutes 6 seconds
[20.01.2008 7:09:48] Speed was: 8,07 fps.
[20.01.2008 7:09:48] Job finished. Total time: 2 hours 42 minutes 56 seconds

[20.01.2008 7:09:50] AutoGK 2.48b
[20.01.2008 7:09:50] OS: WinXP (5.1.2600).2
[20.01.2008 7:09:50] Job started.
[20.01.2008 7:09:50] Input file: E:\Kanal 2 18-1-2008 20h34m02s.ts
[20.01.2008 7:09:50] Output file: E:\Kanal 2 18-1-2008 20h34m02s.avi
[20.01.2008 7:09:50] Output codec: XviD
[20.01.2008 7:09:50] Audio 1: PID 0322, MPEG Audio Stream
[20.01.2008 7:09:50] Subtitles: none
[20.01.2008 7:09:50] Format: AVI
[20.01.2008 7:09:50] Target size: 525Mb
[20.01.2008 7:09:50] Custom resolution settings: fixed width of 672 pixels
[20.01.2008 7:09:50] Audio 1 settings: CBR MP3 with bitrate: 128Kbps
[20.01.2008 7:09:50] Started encoding.
[20.01.2008 7:09:50] Demuxing and indexing.
[20.01.2008 7:11:40] Processing file: E:\Kanal 2 18-1-2008 20h34m02s.ts
[20.01.2008 7:11:40] Source resolution: 720x576
[20.01.2008 7:11:40] Found PAL source.
[20.01.2008 7:11:40] Source aspect ratio: 4:3
[20.01.2008 7:11:40] Color correction enabled.
[20.01.2008 7:11:40] Analyzing source.
[20.01.2008 7:16:25] Source has percentage of interlacing in motion areas: 63,96
[20.01.2008 7:16:25] Source is considered to be interlaced.
[20.01.2008 7:16:25] Output will contain 96603 frames
[20.01.2008 7:16:25] Encoding audio.
[20.01.2008 7:30:48] Audio1 size: 61,818,624 bytes (58.95 Mb)
[20.01.2008 7:30:48] Overhead: 1,147,136 bytes (1.09 Mb)
[20.01.2008 7:30:48] Video size: 487,536,640 bytes (464.95 Mb)
[20.01.2008 7:30:48] Running compressibility test.
[20.01.2008 7:30:48] Writing the following script to E:\agk_tmp\Kanal 2 18-1-2008 20h34m02s_comptest.avs
===========================================================
LoadPlugin("E:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")

movie = mpeg2source("E:\agk_tmp\Kanal 2 18-1-2008 20h34m02s.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 = 1.06666666666667
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 = 672
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
LeakKernelDeInt(movie,order=1,sharp=true)
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(300,15)
===========================================================
[20.01.2008 7:43:32] Duration was: 12 minutes 44 seconds
[20.01.2008 7:43:32] Speed was: 6,32 fps.
[20.01.2008 7:43:32] Compressibility percentage is: 22,70
[20.01.2008 7:43:32] Using softer resizer.
[20.01.2008 7:43:32] Chosen resolution is: 672x512 ( AR: 1,31 )
[20.01.2008 7:43:32] Predicted comptest value is: 23,55%
[20.01.2008 7:43:32] Running first pass.
[20.01.2008 7:43:32] Writing the following script to E:\agk_tmp\Kanal 2 18-1-2008 20h34m02s_movie.avs
===========================================================
LoadPlugin("E:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")

movie = mpeg2source("E:\agk_tmp\Kanal 2 18-1-2008 20h34m02s.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 = 1.06666666666667
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 = 672
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
LeakKernelDeInt(movie,order=1,sharp=true)
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)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false,threads=0)
===========================================================
[20.01.2008 9:39:01] Duration was: 1 hour, 55 minutes 28 seconds
[20.01.2008 9:39:01] Speed was: 13,94 fps.
[20.01.2008 9:39:01] Expected quality of first pass size: 23,05%
[20.01.2008 9:39:01] Running second pass.
[20.01.2008 12:57:07] Duration was: 3 hours 18 minutes 5 seconds
[20.01.2008 12:57:07] Speed was: 8,13 fps.
[20.01.2008 12:57:07] Job finished. Total time: 5 hours 47 minutes 17 seconds

buzzqw
20th January 2008, 15:19
encoding is based on cpu power, no more no less

or you reduce the resolution, or don't deinterlace (not recommed)

try to not use the pc while encoding, deactivate the antivirus and unneded programs..

but.. it's all about cpu

BHH

xMBx
20th January 2008, 15:52
It's not about the computer, i have encode lots of (more than 5 *.ts -> *.avi). Maybe it's about the channel where i rip it? Maybe the channels have different video/audio settings? I'm not using my CPU while i encode, CPU is encoding when i'm sleeping and no other programs are working.

Edit: Three different channels:

1. channel - http://www.hot.ee/xmbx/ETV%2020-1-2008%2021h43m54s_agk.log

2. channel - http://www.hot.ee/xmbx/Kanal%202%2020-1-2008%2021h44m08s_agk.log

3. channel - http://www.hot.ee/xmbx/TV%203%2020-1-2008%2021h44m18s_agk.log

So how different are those channels? All the videoclips are ~5 seconds long.

xMBx
23rd January 2008, 02:21
I edited my last post, but no answers. So i BUMP this topic.

den78
23rd January 2008, 07:56
u should keep compressibility between 50 ~ 80 % & it's gonna b ok.
this way you get quality & a correct size

emoyeni
30th January 2008, 16:00
Dont cut vbr mp3 .. in fact dont use vbr mp3 at all! if you use cbr mp3 and then cut everything will be alright. Loss of bits cbr vs Vbr mp3 is minimal . Cameron DIaz will continue to cook your Breakfast

I've read all the guides and not one of them EXPLICITLY states to use CBR instead of VBR in the advanced options. In fact the guide in Afterdawn explicitly states to use VBR.

All my conversions to date have been vbr @ 320 and all are fine.

So what's the story. :confused:

Thanks,
Emoyeni.

den78
31st January 2008, 17:04
it's pretty simple,...if you don't want to experience sync issues, than use CBR (constant bitrate).

weaver4
31st January 2008, 21:21
avi is not a very good container. If you don't want to have audio sync problems you should use CBR.

xMBx
28th March 2008, 19:32
Omg, i still can't get a right-sized *.avi file. :(

I converted 91,2 MB *.ts file to 49 MB *.avi file.
But it's just a 2:40 minute file.
What i'm doing wrong?
With options (added attachment):