Displaying 5 results from an estimated 5 matches for "ogg_info".
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
...ree(state->metadata[i]);
+ free(state->metadata);
+
ogg_sync_clear (&state->oy);
free (state);
@@ -268,6 +273,7 @@
unsigned int len = 1; /* space for the nul byte at least */
ogg_codec_t *codec;
char codec_names [100] = "";
+ int i;
if (ogg_info->artist)
{
@@ -293,6 +299,17 @@
snprintf (metadata, len, "%s", title);
}
}
+
+ if (ogg_info->metadata_count > 0) {
+ len += ogg_info->metadata_len;
+ if(metadata) metadata = realloc(metadata,len);
+ else metadata = calloc(1...
2005 Nov 11
0
[PATCH] icecast video preview 2
...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);
+#ifdef WITH_P...
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