[Icecast] elegant way of re-encoding?

kloschi kloschi at subsignal.org
Sat Feb 4 22:32:22 UTC 2006


-----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-----



More information about the Icecast mailing list