While encoding a file with oggenc the status output is putting out loads of
data, which I pressumed should have only been on one line.
eg. Normally the output is like this...
Opening with wav module: WAV file reader
Encoding "102.wav" to
"102.ogg" at quality 3.00
Encoding with VBR
[ 0.5%] [17m33s remaining] |ning] \s remaining] -ning] |ning] \ning]
-ning] /ning] |ning] \ning] -ning] /ning] |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I've done a little edit to the encode.c file (update_statistics_full function)
which puts it all on one line...
Opening with wav module: WAV file reader
Encoding "102.wav" to
"102.ogg" at quality 3.00
Encoding with VBR
[ 0.4%] [17m34s remaining] -
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I just changed the line in the update_statistics_full function...
fprintf(stderr, "\r\t[%5.1f%%] [%2dm%.2ds remaining] %c",
too...
fprintf(stderr, "\r\t[%5.1f%%] [%2dm%.2ds remaining]
%c \t\r",
(The spaces at the end of the line remove the rest of the text and then starts
off on a new line again.)
I'm sure there is a better way to do this but this works.
(You probably don't need the \r at the end but I just put it there to be safe.)
Keep up the good work!