PDA

View Full Version : Trouble playing anything but MP3 and WAV files



Julian Griffiths
2004-09-28, 04:57
Thanks Craig,
I shall try that tonight after work.
One thing: for months, I've been playing Ogg files smoothly on my PC (using
WinAmp and foobar2000) but the problem only occurs with SlimServer - does
SlimServer use a different method of decoding?

Cheers,
Julian.



-----Original Message-----
From: Craig Eales [mailto:craig.eales (AT) gmail (DOT) com]
Sent: 28 September 2004 12:14
To: Slim Devices Discussion
Subject: [slim] Trouble playing anything but MP3 and WAV files


Julian,

the slim server uses an executable called oggdec to decode the ogg
files, it is located in
C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread
by default.

When you locate it then try and use it to decode one of your ogg files
(in this example called myoggfile.ogg):

oggdec -o test.wav myoggfile.ogg

Time how long it takes to finish the decoding - if the time to decode
is about the same or longer than the length of the song then you have
CPU problems

Craig


www.astra-games.com

The information contained in this e-mail message and any attachments is
strictly confidential and is intended for the person or organisation to whom
it is addressed. If you are not the intended recipient, you must not read,
use, copy or disseminate the information contained in this message and must
delete it. Although Astra Games Ltd believes this e-mail and any attachments
are free of any virus or defect which may affect a computer, it is the
responsibility of the recipient to ensure that it is virus free. Astra
Games Ltd will not accept any liability for any loss or damage arising in
any way from its use".

Craig Eales
2004-09-28, 05:21
Julian,

I believe that WinAmp and foobar2000 have the codec integrated into
them. Where as the slimserver runs an external decoder and then
comunicates via pipes, this will add some overhead, but, I agree it
does not necessarily look like a CPU problem.

However, at least after the test you can check that the output from
oggdec is correct, etc, which removes at least one variable.

You could also monitor the CPU usage when you try and stream the ogg
through the slim server.

Craig

On Tue, 28 Sep 2004 12:57:14 +0100, Julian Griffiths
<jgriffiths (AT) astra-games (DOT) com> wrote:
> Thanks Craig,
> I shall try that tonight after work.
> One thing: for months, I've been playing Ogg files smoothly on my PC (using
> WinAmp and foobar2000) but the problem only occurs with SlimServer - does
> SlimServer use a different method of decoding?
>
> Cheers,
> Julian.
>
>
>
>
> -----Original Message-----
> From: Craig Eales [mailto:craig.eales (AT) gmail (DOT) com]
> Sent: 28 September 2004 12:14
> To: Slim Devices Discussion
> Subject: [slim] Trouble playing anything but MP3 and WAV files
>
> Julian,
>
> the slim server uses an executable called oggdec to decode the ogg
> files, it is located in
> C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread
> by default.
>
> When you locate it then try and use it to decode one of your ogg files
> (in this example called myoggfile.ogg):
>
> oggdec -o test.wav myoggfile.ogg
>
> Time how long it takes to finish the decoding - if the time to decode
> is about the same or longer than the length of the song then you have
> CPU problems
>
> Craig
>
> www.astra-games.com
>
> The information contained in this e-mail message and any attachments is
> strictly confidential and is intended for the person or organisation to whom
> it is addressed. If you are not the intended recipient, you must not read,
> use, copy or disseminate the information contained in this message and must
> delete it. Although Astra Games Ltd believes this e-mail and any attachments
> are free of any virus or defect which may affect a computer, it is the
> responsibility of the recipient to ensure that it is virus free. Astra
> Games Ltd will not accept any liability for any loss or damage arising in
> any way from its use".
>