Displaying 5 results from an estimated 5 matches for "ogg_state_t".
2007 Mar 15
2
Logging album info for ogg-vorbis
Hi, i just joined the list. I was wondering if anyone would be interested
in a change to icecast that logs album info as well as ARTST and TRACK. I
have made the changes to the source code and it's working fine. If there
is any interest, I could look into making it an addition to the code.
Let me know.
thanks,
--
Aaron
-------------- next part --------------
An HTML attachment was
2007 Mar 26
0
Logging album info for ogg-vorbis
...-2.3.1/src/format_ogg.c icecast-2.3.1-modified/src/format_ogg.c
--- icecast-2.3.1/src/format_ogg.c 2005-08-19 04:01:58.000000000 +0200
+++ icecast-2.3.1-modified/src/format_ogg.c 2007-03-26 23:24:51.000000000 +0200
@@ -184,12 +184,17 @@
void format_ogg_free_plugin (format_plugin_t *plugin)
{
ogg_state_t *state = plugin->_state;
+ int i;
/* free memory associated with this plugin instance */
free_ogg_codecs (state);
free (state->artist);
free (state->title);
+ for(i=0; i < state->metadata_count; ++i)
+ free(state->metadata[i]);
+ free(state-&g...
2005 Nov 11
0
[PATCH] icecast video preview 2
...int granule_shift;
ogg_int64_t last_iframe;
ogg_int64_t prev_granulepos;
+#ifdef WITH_PNG
+ theora_state td;
+ video_preview_t *video_preview;
+ yuv_buffer yuv;
+ int frame_count;
+#endif
} theora_codec_t;
-
static void theora_codec_free (ogg_state_t *ogg_info, ogg_codec_t *codec)
{
theora_codec_t *theora = codec->specific;
@@ -50,8 +56,17 @@
DEBUG0 ("freeing theora codec");
stats_event (ogg_info->mount, "video_bitrate", NULL);
stats_event (ogg_info->mount, "video_quality", NULL);
+#if...
2005 Nov 11
2
[PATCH] icecast video preview 2
Updated version of video preview covering frame writing every 3 keyframe
and a xsl typo.
Best regards :)
kysucix
--
Make things as simple as possible, but no simpler. - Albert Einstein
2005 Nov 11
1
[PATCH] icecast video preview
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