[Icecast-dev] [PATCH] icecast video preview

kysucix kysucix at dyne.org
Fri Nov 11 09:05:53 PST 2005


Hi. Here it is my patch to put a video preview of a theora stream in
status.xsl.
I just added a:
    <video-preview>1</video-preview>
parameters in icecast.xml.in that control the previewing function.
It encodes a png in $webroot/$mountname.tmp and then move it to
$webroot/$mountname.png
As for now it saves a frame every theora keyframe, which is probably
too heavy for the server but it is trivial to add a counter.
I tried to code in a "icecast" style but tell me if it's ok.
I tested it and it should work without threading and memory leaks
problems.
bye :)
kysucix
p.s. the patch is against latest svn code


More information about the Icecast-dev mailing list