Log in

View Full Version : My encoding speed


WorldBook
5th June 2004, 17:14
Hi

I have a prescott 2.8 ghz PC w 512 mb ram (PC3200).

These are the speeds I get:

1st pass: 33.87 fps

2nd pass: 24.92 fps

Are these speeds "okay"? or are they "slow"?

BTW here's the log

Also Autogk is an awesome tool :)
Thanks!
=======================================
[04/06/2004 10:47:39 AM] AutoGK 1.25
[04/06/2004 10:47:39 AM] OS: WinXP (5.1.2600).2
[04/06/2004 10:47:39 AM] Job started.
[04/06/2004 10:47:39 AM] Input dir: F:\VIDEO_TS
[04/06/2004 10:47:39 AM] Output file: C:\movie1\movie1.avi
[04/06/2004 10:47:39 AM] Audio: english
[04/06/2004 10:47:39 AM] Subtitles: none
[04/06/2004 10:47:39 AM] Codec: XviD
[04/06/2004 10:47:39 AM] Target size: 1400Mb
[04/06/2004 10:47:39 AM] Started encoding.
[04/06/2004 10:47:39 AM] Demuxing and indexing.
[04/06/2004 11:03:22 AM] Analyzing source.
[04/06/2004 11:03:22 AM] Writing the following script to C:\movie1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\movie1\\gk_tmp\\_.avs",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\movie1\\gk_tmp\\_.avi");
===========================================================
[04/06/2004 11:19:09 AM] Source has percentage of interlacing in motion areas: 64.61
[04/06/2004 11:19:09 AM] Source has percentage of telecined patterns: 4.71
[04/06/2004 11:19:09 AM] Source has percentage of progressive patterns: 16.58
[04/06/2004 11:19:09 AM] Source has percentage of interlaced patterns: 78.71
[04/06/2004 11:19:09 AM] Source is considered to be interlaced.
[04/06/2004 11:19:10 AM] Found 352471 frames
[04/06/2004 11:19:10 AM] Audio size: 329,300,608 bytes (314.05 Mb)
[04/06/2004 11:19:10 AM] Overhead: 1,960,192 bytes (1.87 Mb)
[04/06/2004 11:19:10 AM] Video size: 1,136,745,600 bytes (1084.09 Mb)
[04/06/2004 11:19:10 AM] Running compressibility test.
[04/06/2004 11:19:10 AM] Writing the following script to C:\movie1\gk_tmp\movie1_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")

function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }

movie = mpeg2source("C:\movie1\gk_tmp\movie1.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=35)
c_width = width(cropclip)
c_height = round(height(cropclip) / 0.911392405063291)
input_par = float(c_width)/float(c_height)
fixed_aspect = 0.911392405063291
flag_halfdvd = input_par > 1.0 ? 0 : 1
input_par = input_par > 1.0 ? input_par : input_par * 2
input_par = input_par > 1.4 ? 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
new_aspect = flag_halfdvd > 0 ? new_aspect/2.0 : new_aspect
KernelDeInt(movie,order=getOrder(movie),sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=35)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[04/06/2004 11:19:11 AM] Writing the following script to C:\movie1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\movie1\\gk_tmp\\movie1_comptest.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\movie1\\gk_tmp\\movie1_comptest.avi");
===========================================================
[04/06/2004 11:46:54 AM] Duration was: 27 minutes 43 seconds
[04/06/2004 11:46:55 AM] Speed was: 10.60 fps.
[04/06/2004 11:46:56 AM] Compressibility percentage is: 27.64
[04/06/2004 11:46:56 AM] Using softer matrix.
[04/06/2004 11:46:56 AM] Chosen resolution is: 512x384 ( AR: 1.33 )
[04/06/2004 11:46:56 AM] Predicted comptest value is: 60.61
[04/06/2004 11:46:56 AM] Running first pass.
[04/06/2004 11:46:56 AM] Writing the following script to C:\movie1\gk_tmp\movie1_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")

function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }

movie = mpeg2source("C:\movie1\gk_tmp\movie1.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=35)
c_width = width(cropclip)
c_height = round(height(cropclip) / 0.911392405063291)
input_par = float(c_width)/float(c_height)
fixed_aspect = 0.911392405063291
flag_halfdvd = input_par > 1.0 ? 0 : 1
input_par = input_par > 1.0 ? input_par : input_par * 2
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 512
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
new_aspect = flag_halfdvd > 0 ? new_aspect/2.0 : new_aspect
KernelDeInt(movie,order=getOrder(movie),sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=35)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[04/06/2004 11:47:06 AM] Writing the following script to C:\movie1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\movie1\\gk_tmp\\movie1.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\movie1\\movie1.avi");
===========================================================
[04/06/2004 2:40:32 PM] Duration was: 2 hours 53 minutes 26 seconds
[04/06/2004 2:40:33 PM] Speed was: 33.87 fps.
[04/06/2004 2:40:34 PM] Expected quality of first pass size: 48.88
[04/06/2004 2:40:34 PM] Running second pass.
[04/06/2004 2:40:34 PM] Writing the following script to C:\movie1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\movie1\\gk_tmp\\movie1.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("C:\\movie1\\gk_tmp\\movie1 AC3 T01 2_0ch 224Kbps DELAY 0ms.ac3",0x00000203,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,96,96,1,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.video.AddComment(0x00000000,"IAS1","English");
VirtualDub.SaveAVI("C:\\movie1\\movie1.avi");
===========================================================
[04/06/2004 6:36:16 PM] Duration was: 3 hours 55 minutes 41 seconds
[04/06/2004 6:36:16 PM] Speed was: 24.92 fps.
[04/06/2004 6:36:18 PM] Writing the following script to C:\movie1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\movie1\\movie1.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,96,96,1,0);
VirtualDub.video.AddComment(0x00000000,"IAS1","English");
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(0,176382);
VirtualDub.SaveAVI("C:\\movie1\\movie1.cd1.avi");
===========================================================
[04/06/2004 6:36:18 PM] Splitting video into: C:\movie1\movie1.cd1.avi
[04/06/2004 6:37:23 PM] Writing the following script to C:\movie1\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("C:\\movie1\\movie1.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,96,96,1,0);
VirtualDub.video.AddComment(0x00000000,"IAS1","English");
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(176382,175572);
VirtualDub.SaveAVI("C:\\movie1\\movie1.cd2.avi");
===========================================================
[04/06/2004 6:37:23 PM] Splitting video into: C:\movie1\movie1.cd2.avi
[04/06/2004 6:38:49 PM] Job finished.

ukb007
6th June 2004, 02:15
Hi.

Your speeds exceed mine (my processor speed is about 2.09 GHz). You're doin' okay.

Regards.

manono
6th June 2004, 02:31
Hi,

Yeah, those speeds look normal to me. You have a deinterlacer in there, which slows things down. If there was a full IVTC, it would be slower yet. With a Force Film (and therefore no deinterlacing required), it would be faster. And if you were able to Force Film, the total encoding time would decrease considerably, both because of the faster encoding speeds, and also because you'd then be encoding a 23.976fps .avi, instead of a 29.97fps .avi (fewer frames to encode).

And you're also encoding a full frame movie at 512x384. Since that resolution actually contains more pixels than most widescreen resolutions (for example 640x272), at different horizontal resolutions, and at different ARs, the relative encoding speeds would change.

WorldBook
6th June 2004, 04:20
Hi,

thanks for the replies!


BTW I neglected to mention that I conducted the entire encode from my dvd rw drive (instead of ripping the files to the harddrive), could that also be a bottleneck?

manono
6th June 2004, 10:15
Hi-

I don't know the answer to that one for sure (I don't think that makes a difference), as I don't do it that way. And neither should you. Encoding directly from the DVD-RW is a sure recipe for wearing it out before its time.

Tuning
6th June 2004, 13:46
Originally posted by WorldBook
..... I conducted the entire encode from my dvd rw drive (instead of ripping the files to the harddrive), could that also be a bottleneck?

This can be a bottle neck in future. Sometimes, your DVDRW's "eye" may get dusted and then nothing will be read.:p

Another problem is with datatransfer rate...
HDDs are much faster than DVD drives. And if you are not using DMA, then slight CPU will be used up by the drive.;)

WorldBook
6th June 2004, 17:18
Once again, thanks for the insightful replies!