Displaying 5 results from an estimated 5 matches for "theora_comment_clear".
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...file dump_video.c gave me most of what I needed.
...But I can't seem to handle end-of-stream very well. I would like to be
able to rewind. First I tried the brute force method:
if (videoStream.eof())
{
ogg_stream_clear (&theoraStreamState);
theora_clear (&theoraState);
theora_comment_clear (&theoraComment);
theora_info_clear (&theoraInfo);
ogg_sync_clear (&oggSyncState);
videoStream.clear();
videoStream.close();
init_the_movie_like_it_was_inited_the_first_time();
}
But I got a crash when trying to re-initialize:
theora_decode_init (&the...
2009 May 12
2
compile error of libtheora example
...nit'
player_example.c:(.text+0x13a6): undefined reference to `theora_control'
player_example.c:(.text+0x13d8): undefined reference to `theora_control'
player_example.c:(.text+0x13f0): undefined reference to `theora_info_clear'
player_example.c:(.text+0x13fc): undefined reference to
`theora_comment_clear'
player_example.c:(.text+0x1419): undefined reference to
`vorbis_synthesis_init'
player_example.c:(.text+0x142d): undefined reference to `vorbis_block_init'
player_example.c:(.text+0x146e): undefined reference to `vorbis_info_clear'
player_example.c:(.text+0x147a): undefined referen...
2005 Nov 11
0
[PATCH] icecast video preview 2
...vent (ogg_info->mount, "frame_rate", NULL);
stats_event (ogg_info->mount, "frame_size", NULL);
+
+
+#ifdef WITH_PNG
+ free_video_preview (theora -> video_preview);
+ theora_clear(&theora -> td);
+#endif
theora_info_clear (&theora->ti);
theora_comment_clear (&theora->tc);
ogg_stream_clear (&codec->os);
@@ -112,8 +127,32 @@
ERROR0 ("Not enough header packets");
return NULL;
}
- if (theora_packet_iskeyframe (&packet))
- has_keyframe = 1;
+ if (theora_packet_iske...
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