Hi,
ich habe noch tierische Probleme mit dem Shoutcast Streaming. Es dauert fast 6,5 Minuten, bevor überhaupt etwas abgespielt wird. Danach vergehn noch mal ca. 30 Sekunden (je nach Bitrate des Streams) bis der Buffer voll ist und die Wiedergabe stotterfrei läuft.
Meine Box wird mit einem aktuellen HEAD Abzug (13.06.) per YADD betrieben (Skripte von Homar). Das Problem habe ich aber schon seitdem die Streaming Funktion im ehem. MP3-Player integriert ist.
Zuerst dachte ich, dass der Player einfach nur abschmiert, da ich während der Wartezeit mit dem Druck auf die Rote-Taste die Box nur noch per Konsole runterfahren kann. Warte ich jedoch die gut 7 Minuten ab, kann ich normal mit Stop die Wiedergabe sauber beenden.
Hier mal mein Debug Output:
Die ersten 6,5 Minuten
Code: Alles auswählen
f_open: /var/Shoutcast/DI-Euro Dance.url
URL to open: scast://8946, access mode SHOUTCAST/SHOUTCAST
FILE to open: /, access mode: 2
f_open: (compatibility mode) http://www.shoutcast.com/sbin/shoutcast-playlist.pl
s?rn=8946&file=filename.pls
URL to open: http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=8946&file=
filename.pls, access mode HTTP/1.1
FILE to open: /sbin/shoutcast-playlist.pls?rn=8946&file=filename.pls, access mod
e: 1
looking up hostname: www.shoutcast.com
connecting to www.shoutcast.com [205.188.234.56], port 80
looking up hostname: www.shoutcast.com
connecting to www.shoutcast.com [205.188.234.88], port 80
Die restlichen 0,5 Minuten:
Code: Alles auswählen
looking up hostname: www.shoutcast.com
connecting to www.shoutcast.com [205.188.234.88], port 80
> GET /sbin/shoutcast-playlist.pls?rn=8946&file=filename.pls HTTP/1.1
> Host: www.shoutcast.com
> Connection: close
> User-Agent: Mozilla/4.0
----------
HTTP/1.1 200 OK
Date: Sun, 13 Jun 2004 15:03:25 GMT
Server: Apache/1.3.29 (Unix) PHP/4.3.5RC3
X-Powered-By: PHP/4.3.5RC3
Connection: close
Transfer-Encoding: chunked
Content-Type: audio/x-scpls
----------
stream 10191360 not in type table, added entry (audio/x-scpls) for 10191360
server response parser: return value = 545
server[0]: http://64.236.34.4:80/stream/1024
server[1]: http://64.236.34.196:80/stream/1024
server[2]: http://64.236.34.97:80/stream/1024
f_open: icy://64.236.34.4:80/stream/1024
URL to open: icy://64.236.34.4:80/stream/1024, access mode HTTP/SHOUTCAST
FILE to open: /stream/1024, access mode: 1
looking up hostname: 64.236.34.4
connecting to 64.236.34.4 [64.236.34.4], port 80
f_open: adding stream 10191360 to cache[0]
f_open: creating mutexes
f_open: locking read direction
f_open: unlocking write direction
> GET /stream/1024 HTTP/1.0
> Host: 64.236.34.4
> icy-metadata: 1
> User-Agent: RealPlayer/4.0
----------
ICY 200 OK
icy-notice1: <BR>This stream requires <a href="http://www.winamp.com/">Winamp</a
><BR>
icy-notice2: SHOUTcast Distributed Network Audio Server/FreeBSD4 v1.9.2<BR>
icy-name: D I G I T A L L Y - I M P O R T E D - EuroDance & HiNRG - Finest impor
ted cheese on the net!
icy-genre: EuroDance HiNRG Pop
icy-url: http://www.di.fm
icy-pub: 0
icy-metaint: 8192
icy-br: 96
icy-irc: #shoutcast
icy-icq: 0
icy-aim: N/A
----------
stream 10191360 not in type table, added entry (audio/mpeg) for 10191360
CacheFillThread: thread started, using stream 10191360
stream 10191360 lookup in type table succeded91360
stream 10191360 lookup in type table succeded
stream 10191360 lookup in type table succeded
CAudioPlayer: Decoding /var/Shoutcast/DI-Euro Dance.url (mp3)
WARNING: program tries to seek on a stream !!91360
filter : ---> metadata 0 bytes @ 0
filter : ---> metadata 0 bytes @ 1stream: 10191360
pop: 16384 bytes requested [filled: 8379 of 196608], stream: 10191360
pop(): rptr: 0x32357008, buf: 0x32351a50, amt[0]=16384, blen=16384, len=16384, r
val=0
pop: 16384/16384/16384 bytes read [filled: 2233 of 196608], stream: 10191360
filter : ---> metadata 64 bytes @ 2tream: 10191360
ShoutCAST_ParseMetaData(StreamTitle='E-rotic - The winner takes it all';StreamUr
l='';, 101914e0)
CMP3Dec: recoverable frame level error (lost synchronization)
filter : ---> metadata 0 bytes @ 67tream: 10191360
filter : ---> metadata 0 bytes @ 68stream: 10191360
filter : ---> metadata 0 bytes @ 69stream: 10191360
filter : ---> metadata 0 bytes @ 70stream: 10191360
pop: 16117 bytes requested [filled: 24695 of 196608], stream: 10191360
pop(): rptr: 0x3235b008, buf: 0x32351b5b, amt[0]=16117, blen=16117, len=16117, r
val=0
pop: 16117/16117/16117 bytes read [filled: 25983 of 196608], stream: 10191360
filter : ---> metadata 0 bytes @ 71stream: 10191360
filter : ---> metadata 0 bytes @ 72stream: 10191360
filter : ---> metadata 0 bytes @ 73stream: 10191360
filter : ---> metadata 0 bytes @ 74stream: 10191360
pop: 16276 bytes requested [filled: 44413 of 196608], stream: 10191360
pop(): rptr: 0x3235eefd, buf: 0x32351abc, amt[0]=16276, blen=16276, len=16276, r
val=0
pop: 16276/16276/16276 bytes read [filled: 42471 of 196608], stream: 10191360
filter : ---> metadata 0 bytes @ 75stream: 10191360
filter : ---> metadata 0 bytes @ 76stream: 10191360
filter : ---> metadata 0 bytes @ 77stream: 10191360
filter : ---> metadata 0 bytes @ 78stream: 10191360
filter : ---> metadata 0 bytes @ 79stream: 10191360
pop: 16276 bytes requested [filled: 60901 of 196608], stream: 10191360
pop(): rptr: 0x32362e91, buf: 0x32351abc, amt[0]=16276, blen=16276, len=16276, r
val=0
pop: 16276/16276/16276 bytes read [filled: 70222 of 196608], stream: 10191360
filter : ---> metadata 64 bytes @ 80tream: 10191360
ShoutCAST_ParseMetaData(StreamTitle='E-rotic - The winner takes it all';StreamUr
l='';, 101914e0)
filter : ---> metadata 0 bytes @ 145tream: 10191360
filter : ---> metadata 0 bytes @ 146tream: 10191360
filter : ---> metadata 0 bytes @ 147tream: 10191360
pop: 16276 bytes requested [filled: 86540 of 196608], stream: 10191360
filter : ---> metadata 0 bytes @ 148
pop(): rptr: 0x32366e25, buf: 0x32351abc, amt[0]=16276, blen=16276, len=16276, r
val=0
pop: 16276/16276/16276 bytes read [filled: 90742 of 196608], stream: 10191360
filter : ---> metadata 0 bytes @ 149tream: 10191360
filter : ---> metadata 0 bytes @ 150tream: 10191360
filter : ---> metadata 0 bytes @ 151tream: 10191360
filter : ---> metadata 0 bytes @ 152tream: 10191360
pop: 16276 bytes requested [filled: 107124 of 196608], stream: 10191360
pop(): rptr: 0x3236adb9, buf: 0x32351abc, amt[0]=16276, blen=16276, len=16276, r
val=0
pop: 16276/16276/16276 bytes read [filled: 108253 of 196608], stream: 10191360
filter : ---> metadata 0 bytes @ 153tream: 10191360
filter : ---> metadata 0 bytes @ 154tream: 10191360
filter : ---> metadata 0 bytes @ 155tream: 10191360
filter : ---> metadata 0 bytes @ 156tream: 10191360
pop: 16276 bytes requested [filled: 126683 of 196608], stream: 10191360
pop(): rptr: 0x3236ed4d, buf: 0x32351abc, amt[0]=16276, blen=16276, len=16276, r
val=0
pop: 16276/16276/16276 bytes read [filled: 124741 of 196608], stream: 10191360
filter : ---> metadata 0 bytes @ 157tream: 10191360
filter : ---> metadata 0 bytes @ 158tream: 10191360
filter : ---> metadata 0 bytes @ 159tream: 10191360
pop: 16276 bytes requested [filled: 142147 of 196608], stream: 10191360
pop(): rptr: 0x32372ce1, buf: 0x32351abc, amt[0]=16276, blen=16276, len=16276, r
val=0
pop: 16276/16276/16276 bytes read [filled: 135086 of 196608], stream: 10191360
filter : ---> metadata 64 bytes @ 160ream: 10191360
ShoutCAST_ParseMetaData(StreamTitle='E-rotic - The winner takes it all';StreamUr
l='';, 101914e0)
filter : ---> metadata 0 bytes @ 225tream: 10191360
filter : ---> metadata 0 bytes @ 226tream: 10191360
filter : ---> metadata 0 bytes @ 227tream: 10191360
filter : ---> metadata 0 bytes @ 228tream: 10191360
pop: 16276 bytes requested [filled: 151404 of 196608], stream: 10191360
pop(): rptr: 0x32376c75, buf: 0x32351abc, amt[0]=16276, blen=16276, len=16276, r
val=0
pop: 16276/16276/16276 bytes read [filled: 157653 of 196608], stream: 10191360
filter : ---> metadata 0 bytes @ 229tream: 10191360
filter : ---> metadata 0 bytes @ 230tream: 10191360
filter : ---> metadata 0 bytes @ 231tream: 10191360
pop: 16276 bytes requested [filled: 174035 of 196608], stream: 10191360
filter : ---> metadata 0 bytes @ 232tream: 10191360
pop(): rptr: 0x3237ac09, buf: 0x32351abc, amt[0]=16276, blen=16276, len=16276, r
val=0
pop: 16276/16276/16276 bytes read [filled: 173118 of 196608], stream: 10191360
filter : ---> metadata 0 bytes @ 233tream: 10191360
filter : ---> metadata 0 bytes @ 234tream: 10191360
push: buffer overrun; cache full - leaving cache locked
pop: 16276 bytes requested [filled: 189500 of 196608], stream: 10191360
pop(): rptr: 0x3237eb9d, buf: 0x32351abc, amt[0]=16276, blen=16276, len=16276, r
val=0
pop: 16276/16276/16276 bytes read [filled: 180332 of 196608], stream: 10191360
filter : ---> metadata 0 bytes @ 235tream: 10191360
filter : ---> metadata 0 bytes @ 236tream: 10191360
push: buffer overrun; cache full - leaving cache locked
pop: 16276 bytes requested [filled: 196608 of 196608], stream: 10191360
pop(): rptr: 0x32382b31, buf: 0x32351abc, amt[0]=16276, blen=16276, len=16276, r
val=0
pop: 16276/16276/16276 bytes read [filled: 180332 of 196608], stream: 10191360
filter : ---> metadata 0 bytes @ 237tream: 10191360
filter : ---> metadata 64 bytes @ 238ream: 10191360
ShoutCAST_ParseMetaData(StreamTitle='E-rotic - The winner takes it all';StreamUr
l='';, 101914e0)
push: buffer overrun; cache full - leaving cache locked
f_close: removing stream 10191360 from cache[0]
push: buffer overrun; cache full - leaving cache locked
CacheFillThread: thread exited, stream 10191360
f_close: waiting for fill tread to finish
f_close: closing cache
f_close: calling stream filter destructor
f_close: destroying mutexes
In dem zweiten Auszug sind wohl die Füllstande des Buffers verloren gegangen. Jedenfalls konnte man im Live-Log sehen, dass er schon während des Füllens anfängt zu spielen und dabei sich tierisch verhaspelt, solange der Buffe nicht bei 100% ist.
MfG
riker