I've transcoded parts of my music library to ogg vorbis at about 64kb/s,
but streaming those files with WinAmp (v5.08) fails, "error synching to mpeg". When adding a link to the .ogg directly (the .ogg files are publically accessible ATM), WinAmp plays it. Also foobar2000 plays the same playlist without a problem where WinAmp fails.
The settings in config.inc.php are:
Code: Select all
$cfg['stream_extension'] = 'ogg';
$cfg['stream_header'] = 'Content-Type: application/ogg';
$cfg['stream_encode'] = 'D:\oggenc.exe --raw --downmix --quality 0 - -';
$cfg['stream_transcode'] = 'D:\oggdec.exe --quiet %source --output - | D:\oggenc.exe --quality 0 --raw --title %title --artist %artist --album %album -';
$cfg['stream_transcode_treshold'] = 130000;
mp3 streaming works without a problem. Any idea what's wrong with WinAmp?
HTTP headers:
direct link:
Code: Select all
GET /music/Anastacia/Anastacia/06%20-%20I%20Do.ogg HTTP/1.1
Host: myhostname
User-Agent:Winamp
Accept:*/*
HTTP/1.1 200 OK
Date: Wed, 16 Feb 2005 10:51:02 GMT
Server: Apache/2.0.52 (Win32) PHP/4.3.10
Last-Modified: Thu, 03 Feb 2005 16:02:48 GMT
ETag: "78c4-155217-7f52bb20"
Accept-Ranges: bytes
Content-Length: 1397271
Content-Type: application/ogg
Code: Select all
GET /netjukebox3.66/stream.php?command=stream&track_id=bfuo3c44u5_470a353e&username=Lex&expire=1108554291&hash=1b47d335e8e93b7482d73a16c39a3d3b770be8eb HTTP/1.0
Host: myhostname
User-Agent: WinampMPEG/5.0
Accept: */*
Icy-MetaData:1
Connection: close
HTTP/1.1 200 OK
Date: Wed, 16 Feb 2005 11:32:52 GMT
Server: Apache/2.0.52 (Win32) PHP/4.3.10
X-Powered-By: PHP/4.3.10
icy-notice2: netjukebox (expires: Wed, 16 Feb 2005 12:44:51 +0100)<BR>
icy-name: I Do
Content-Disposition: inline; filename=Anastacia - I Do
Content-Length: 1397271
Accept-Ranges: bytes
Connection: close
Content-Type: application/ogg