You need to provide more information before we have any hope of being able to help you. How does oggenc announce its progress? Is there a result file that grows to a particular size? Does it always take 45 seconds?
the progress of oggenc.exe is output to the msdos screen as "encoding... 2%" and increases accordingly. the time it takes is not the same each time as this depends on file size cpu etc.