-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, sorry for late reply ;) Geoff Shang wrote:>> so, what I'm looking for is a way to re-encode every stream which is >> sent to the icecast server, as soon as it is started. >> >> this could be done with streamtranscoder and a looped bash script >> around, that looks if there is a source, if so it starts the re-encode. >> >> Is there an elegant way, better than a bash script? maybe a plugin for >> the icecast server itself? > > I've not used it, but Icecast now has the ability to execute a command > upon stream start, as well as upon stream stop. You could use this > fascility to launch a streamTranscoder instance.I didn't find any docs on that, how to execute a command upon stream start/end? the docs on streamTranscoder are a little rare also ;) what exactly does streamTranscoder: serving one multiple bandwidth stream (like havong one stream on server and when client clicks on it it just measures bandwidth and serves the highest possible quality) in just one mountpoint? or serving multiple streams with multiple encoding & qualities, just as configured? What bothers me most, is that streamTranscoder seems to connect to just one server getting the stream and delivering to the same. So if icecast serves a stream, on stream-start streamTranscoder re-encodes the stream and delivers it to the same server:port, how to avoid a loop of re-encoding & re-delivering the same stream over and over again? thanx and regards, kloschi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iQIVAwUBQ+UrdNC25rdcwSxcAQhOAA//dhkwMctlk9aHEyGU4Q/4o5W9mELfz9Q/ Zed2HpJ4kbSCLsTyMyFTsyjSNkhyIuatHO0I1uZI+4+GzgX4ZjkmFKJFACQxpCmZ kJcPDvG4suuGPaj4/tzNt4v8h0X/74lEm/Db8lFQshB1xErTA/ZKAVqSnMsXHaAT 51Uo++nUH3djtLOzQc6+46McqcMgXTyrLXmyt/k6ahB5hRDjUq487iebiTRSW4rc RH6zXVAvEKvD2nn3P5YzeVeWaolf98m2rO/WdVBYYEk0SEbthU3DyVXhhIINM25Q eC9TYSCmfnfvOilQnADRc6gyf+R+0XzsAeRYxkbhPx0pWKhyXFoco+XEOmbVByWS pPMClBT/XfI/X4kDryWP4rXAFu6XzfZVZQWgYXMDBe0kB0FnoGrgPknrkE4E7bOy GEL5vX3b1FXi2YKVRVRigOgp/tKHNAFmbzRJ+etYFVrDwt3QyFDcT5NmW9EADRQD Hk7brqV8XGwaKmlqF0nidaGxRsjDgeWdVk/M+Hf7u3160dhnVdG01gz9AHHZy4x5 lxPcOePlHTu88eXqJ8RbsATyZ+uAtRSSuW9ePVm2BORRs6v9SY0AkRmFQqSjr9nU +mEXz0h8E5hbB7/bEZrxsvRC0KiJQyM9OalSEjjGNE6SnzpBTf4/ApzlfgQqCHgF 11zcTYHGMRc=vGWm -----END PGP SIGNATURE-----
kloschi wrote:>> I've not used it, but Icecast now has the ability to execute a command >> upon stream start, as well as upon stream stop. You could use this >> fascility to launch a streamTranscoder instance. > > I didn't find any docs on that, how to execute a command upon stream > start/end?As I say, I've not used it, but I think there are some comments or at least some examples in the sample config files which come with Icecast. Note that this is either an Icecast 2.3 or 2.3.1 feature, it's pretty new.> the docs on streamTranscoder are a little rare also ;) > what exactly does streamTranscoder: > serving one multiple bandwidth stream (like havong one stream on server > and when client clicks on it it just measures bandwidth and serves the > highest possible quality) in just one mountpoint? > or > serving multiple streams with multiple encoding & qualities, just as > configured?It transcodes according to how you configure it. What you describe above would theoretically be possible once someone implements bitrate pealing in Vorbis.> What bothers me most, is that streamTranscoder seems to connect to just > one server getting the stream and delivering to the same.No. I've not used the latest version, but versions up to 1.2.x listen to a stream, encode to whatever you specify, then send it where you specify. That could be a different mountpoint on the same server, or somewhere else entirely. It can even listen to your sound card, though I've not tried this either. It does not send it back to the same place where it got it from, it can't anyway since it wouldn't be able to connect. Note that versions I've used take one input stream and deliver one output stream only. If you want more than one transcode of a stream, you need to use multiple instances. Whether this has changed in recent versions I do not know. Geoff.
Hi, Now that I've been able to look at streamtranscoder 3.0, I see there's absolutely no documentation whatsoever. I've not compiled it, but I note that previously when you ran it first time, it would create a sample config file for you to edit. Maybe it still does this. Oddsock's flash demo may shed more light on this, but I can't use it so don't know. Geoff. -- Geoff Shang <geoff@hitsandpieces.net> Phone: +61-418-96-5590 MSN: geoff@acbradio.org Make sure your E-mail can be read by everyone! http://www.betips.net/etc/evilmail.html Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html