Displaying 8 results from an estimated 8 matches for "theora_packet_iskeyfram".
Did you mean:
theora_packet_iskeyframe
2007 Apr 12
1
Seek problem 2 - reinitialization of the decoder
...ough data... load some more pages!
bufferData();
} else if (result > 0) {
theora_decode_packetin(&decoder, &packet);
int videoBufferTime = theora_granule_time(&decoder, decoder.granulepos);
int frameNo = theora_granule_frame(&decoder, decoder.granulepos);
if (theora_packet_iskeyframe(&packet) == 1) {
...
The problem is that the time and framenumber are not correct - in fact they
are offset with something that's either completely random or influenced by
whatever state the decoder had before the seek (I don't know which).
So my immediate fix was to just rea...
2005 Nov 11
0
[PATCH] icecast video preview 2
...(&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_iskeyframe (&packet)) {
+#ifdef WITH_PNG
+ if(config_get_config()->video_preview == 1 ) {
+ config_release_config();
+
+ if (theora -> frame_count == -1) {
+ fflush(stdout);
+ theora_decode_init (&th...
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
2004 Dec 20
0
libtheora 1.0 alpha 4 release
...ease:
* first draft of the Theora I Format Specification
* API documentation generated from theora.h with Doxygen
* fix a double-update bug in the motion analysis
* apply the loop filter before filling motion vector border in the reference
frame
* new utility functions: theora_packet_isheader(), theora_packet_iskeyframe(),
and theora_granule_frame()
* optional support for building without floating point
* optional support for building without encode support
* various build and packaging fixes
* pkg-config support
* SymbianOS build support
We still plan to make incompatible api changes before the first beta rele...
2006 Dec 08
1
Skipping Frames
Hi everyone!
I'm currently trying to use the theora decoder on PPC.
Everything is working perfect now, but I have a problem: I need to skip the
decoding of some frames (drop frames) when the device is not powerful enough
to decode them all in real time (which in PPC is a frequent issue).
Right now, I'm skipping the call to theora_decode_YUVout and the yuv to
rgb procedure. That gives me
2004 Sep 27
1
ogg and keyframes
Hi,
When doing a live ogg+theora stream on our server we ran into the
following problem: When a client connects we send out the theora header
pages followed by the actual live stream pages. The problem is that the
first ogg data page does not have the right page number (2), which
causes libogg to not want to decode the first _packet_ of that page.
Since that first packet happens to contain the
2006 Apr 04
2
ogg + theora + seeking
Hi all,
I'm actually learning how to use ogg, theora and vorbis. My idea is to create
a small program running, that is able to concatenate ogg video+audio files.
However I have some small questions. Here I will start with the first one:
I read the following for seeking in ogg for a theora key-frame:
---- snipp (http://www.xiph.org/ogg/doc/ogg-multiplex.html) ----
[...]The third point