Murray Saul
2004-Aug-06 14:23 UTC
[icecast] Re: Viewing Broadcast using scope in a Webpage
Hi Thomas, So those possible solutions could allow for an audio spectrum analyzer to be on a webpage? (i.e. like the ones you can see on XMMS or WinAmp?) Murray Thomas B. Ruecker, DM8TBR wrote:>Hi Murray, > > > >>Is there a method to code on XHTML webpage that will use a "scope" to >>display the music stream that is being played? (like something using >>JavaScript?)... >> >> >Depends on what data you want to use for that scope. ATM the only usefull data I can see in the source file (/admin/stats.xml) would be number of listeners. If you know about the bitrate of the stream you could translate this additionally to bandwidth. > >To realize this you have several choices: >- do something using the built in xslt possibilities. >- put out the raw listener numbers and process it with an external app (php/gd/perl/python) > >Depends on what you want to have as output... >I like my stats as a history graph: >http://dk0td.afthd.tu-darmstadt.de/mrtg.png > >This is accomplished using mrtg + some xlst + some wrapper so mrtg can read the output. >I'll put up a webpage covering this topic, but am quite busy ATM. Don’t expect this before middle/end of next week. >Oh, and - yeah uhh - nowadays I'd probably choose its successor RRDTool... >But should be fairly similar to set up. > >Regards > >Thomas > >--- >8 ---- >List archives: http://www.xiph.org/archives/ >icecast project homepage: http://www.icecast.org/ >To unsubscribe from this list, send a message to 'icecast-request@xiph.org' >containing only the word 'unsubscribe' in the body. No subject is needed. >Unsubscribe messages sent to the list will be ignored/filtered. > >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Thomas B. Ruecker, DM8TBR
2004-Aug-06 14:23 UTC
[icecast] Re: Viewing Broadcast using scope in a Webpage
> So those possible solutions could allow for an audio spectrum analyzer > to be on a webpage? > (i.e. like the ones you can see on XMMS or WinAmp?)no, you missunderstood my explanation. There is no way to do this from xslt. For such an feature you would either need to stream the content to the client, decode it there and display the wave-form or decode it on the server and send an outputstream corresponding to the waveform which would then be displayed by some sort of applet (java/flash) IMHO I don’t see any sense in such a feature. Regards Thomas --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Murray Saul
2004-Aug-06 14:23 UTC
[icecast] Re: Viewing Broadcast using scope in a Webpage
Hi Thomas, Thanks for the info, I just wanted to experiment with a different effect for my webpage... I will check out Java/Flash... Murray Saul <p>Thomas B. Ruecker, DM8TBR wrote:>>So those possible solutions could allow for an audio spectrum analyzer >>to be on a webpage? >>(i.e. like the ones you can see on XMMS or WinAmp?) >> >> >no, you missunderstood my explanation. >There is no way to do this from xslt. > >For such an feature you would either need to stream the content to the client, decode it there and display the wave-form or decode it on the server and send an outputstream corresponding to the waveform which would then be displayed by some sort of applet (java/flash) > >IMHO I don’t see any sense in such a feature. > >Regards > >Thomas > >--- >8 ---- >List archives: http://www.xiph.org/archives/ >icecast project homepage: http://www.icecast.org/ >To unsubscribe from this list, send a message to 'icecast-request@xiph.org' >containing only the word 'unsubscribe' in the body. No subject is needed. >Unsubscribe messages sent to the list will be ignored/filtered. > >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.