PDA

View Full Version : Why *.ts to *.avi XviD takes so long time?


xMBx
31st December 2007, 15:24
I have a 2,0 GHz processor, so that's not the problem. My one hour *.ts (2,24 GB) takes more than 6h to complete. What's wrong with my program? I have reinstalled AutoGK, still same. Screenshot with my settings: http://img146.imageshack.us/img146/1410/63335303ju5.png
My log file about that 2,24 GB *.ts:
[29.12.2007 1:10:53] AutoGK 2.48b
[29.12.2007 1:10:53] OS: WinXP (5.1.2600).2
[29.12.2007 1:10:53] Job started.
[29.12.2007 1:10:53] Input file: E:\Eesti vs Jõekalda 20-12-2007.ts
[29.12.2007 1:10:53] Output file: E:\Eesti vs Jõekalda 20-12-2007.avi
[29.12.2007 1:10:53] Output codec: XviD
[29.12.2007 1:10:53] Audio 1: PID 0322, MPEG Audio Stream
[29.12.2007 1:10:53] Subtitles: none
[29.12.2007 1:10:53] Format: AVI
[29.12.2007 1:10:53] Target size: 525Mb
[29.12.2007 1:10:53] Custom resolution settings: fixed width of 704 pixels
[29.12.2007 1:10:53] Audio 1 settings: CBR MP3 with bitrate: 128Kbps
[29.12.2007 1:10:53] Started encoding.
[29.12.2007 1:10:53] Demuxing and indexing.
[29.12.2007 1:12:44] Processing file: E:\Eesti vs Jõekalda 20-12-2007.ts
[29.12.2007 1:12:44] Source resolution: 720x576
[29.12.2007 1:12:44] Found PAL source.
[29.12.2007 1:12:44] Source aspect ratio: 4:3
[29.12.2007 1:12:44] Color correction enabled.
[29.12.2007 1:12:44] Analyzing source.
[29.12.2007 1:17:36] Source has percentage of interlacing in motion areas: 63,58
[29.12.2007 1:17:36] Source is considered to be interlaced.
[29.12.2007 1:17:36] Output will contain 101266 frames
[29.12.2007 1:17:36] Encoding audio.
[29.12.2007 1:32:40] Audio1 size: 64,737,408 bytes (61.74 Mb)
[29.12.2007 1:32:40] Overhead: 1,202,560 bytes (1.15 Mb)
[29.12.2007 1:32:40] Video size: 484,562,432 bytes (462.11 Mb)
[29.12.2007 1:32:40] Running compressibility test.
[29.12.2007 1:32:40] Writing the following script to E:\agk_tmp\Eesti vs Jõekalda 20-12-2007_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\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)
===========================================================
[29.12.2007 1:46:58] Duration was: 14 minutes 18 seconds
[29.12.2007 1:46:59] Speed was: 5,90 fps.
[29.12.2007 1:46:59] Compressibility percentage is: 20,60
[29.12.2007 1:46:59] Using softer resizer.
[29.12.2007 1:46:59] Chosen resolution is: 704x528 ( AR: 1,33 )
[29.12.2007 1:46:59] Predicted comptest value is: 21,37%
[29.12.2007 1:46:59] Running first pass.
[29.12.2007 1:46:59] Writing the following script to E:\agk_tmp\Eesti vs Jõekalda 20-12-2007_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\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)
===========================================================
[29.12.2007 4:02:51] Duration was: 2 hours 15 minutes 52 seconds
[29.12.2007 4:02:51] Speed was: 12,42 fps.
[29.12.2007 4:02:51] Expected quality of first pass size: 21,31%
[29.12.2007 4:02:51] Running second pass.
[29.12.2007 7:48:18] Duration was: 3 hours 45 minutes 26 seconds
[29.12.2007 7:48:18] Speed was: 7,49 fps.
[29.12.2007 7:48:18] Job finished. Total time: 6 hours 37 minutes 24 seconds

buzzqw
31st December 2007, 15:31
out_width = 704
Source is considered to be interlaced.

interlace and the width are main cause, since for interlace you can only .. deinterlace.. try reducing the output width..

BHH

xMBx
31st December 2007, 15:35
To what width? I want the best quality.

buzzqw
31st December 2007, 15:41
"best quality" have a cost.. TIME

only you can judge for a good trade-off

BHH

xMBx
31st December 2007, 15:47
I thought that's the answer, but i wanted to be sure.
Now i recorded five different *.ts files and i wanted to join them, but all the sample rates were different. How i can get all the rates to same and then join them flawlessly?

buzzqw
31st December 2007, 16:01
virtualdub allow joining of avi only if video proprierties are the same and the audio have all the same sample rate and is CBR... or you must reencode (usually audio parts)

AviDemux will allow joining even if audio is different. try this option

BHH

xMBx
31st December 2007, 16:07
I got VBR audio. Wich one you recommend for TVrips? I'm gonna try this then.

buzzqw
31st December 2007, 16:14
if i know that i must join avis later i will follow the CBR, no matter. But for personal , one time encoding i use abr

BHH

xMBx
31st December 2007, 20:36
Help me with Avidemux program. I can only open one *.avi file there. How i suppose to join two (or more) .*avi's to one *.avi?
And how is suppose to convert with AutoGK to get same sample rates for all my *.avi's? I convert with same options (only size is different) all my recorded parts, but still different sample rates.

buzzqw
1st January 2008, 00:59
in avidemux.. File -> Open, then File ->Append

BHH