PDA

View Full Version : Console progress display



GrahamB
23rd April 2014, 10:30
Sirs
I am working on a project to convert wav files to mp3's using lame.
I note that lame's output on the console window displays information in the same place on the screen and also a 'running' progress display.
Two questions:
1. How does this console display work?
2. Can I 'capture' the progress and display it as a progress bar or changing number graphically in my program?
Thank you
Graham

Lesiok
23rd April 2014, 10:58
1. Take Lame sources (http://lame.sourceforge.net/download.php) and see how it does.
2. Yes, You can capture console output from process. Read about class QProcess.