On Mon, Jun 21, 2004 at 09:42:52AM -0400, Brian J. Murrell wrote:
> ...
> So my command line is:
> 
> $ lav2wav file.eli | sox -t wav - -t wav /dev/null stat -v
> 
> but both lav2wav and sox both use up negligible CPU in doing this
> job, and it takes far too long.  lav2wav's CPU usage is about 2%
> and sox's CPU usage is about 4.5%.  Seems like there is a
> bottleneck somewhere but where I am not sure.  I have tried putting
> a "buffer" between them but no help.

Check your disk I/O read bandwidth.  Lav2wav is heavily read I/O
bandwidth bound.  It sounds like your disk read bandwidth is way low
for some reason, and therefore lav2wav is not creating PCM data very
quickly, which means there is very little data for sox to work with. 
Both result in very low CPU utilization.



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to