Displaying 3 results from an estimated 3 matches for "theora_codec".
2005 Nov 11
0
[PATCH] icecast video preview 2
...@
#include "format_theora.h"
#include "client.h"
#include "stats.h"
+#include "video_preview.h"
#define CATMODULE "format-theora"
+#define PREVIEW_KEYFRAME_INTERVAL 3
#include "logging.h"
+#include <png.h>
-
typedef struct _theora_codec_tag
{
theora_info ti;
@@ -40,9 +41,14 @@
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...
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