search for: theora_granule_tim

Displaying 12 results from an estimated 12 matches for "theora_granule_tim".

Did you mean: theora_granule_time
2009 May 12
2
compile error of libtheora example
...39; player_example.c:(.text+0x17b4): undefined reference to `theora_control' player_example.c:(.text+0x17f7): undefined reference to `theora_control' player_example.c:(.text+0x180d): undefined reference to `theora_decode_packetin' player_example.c:(.text+0x184a): undefined reference to `theora_granule_time' player_example.c:(.text+0x1930): undefined reference to `ogg_sync_pageout' player_example.c:(.text+0x1d30): undefined reference to `SDL_Quit' player_example.c:(.text+0x1d45): undefined reference to `ogg_stream_clear' player_example.c:(.text+0x1d51): undefined reference to `vorbis_...
2004 Aug 04
2
theora_decode_init bug
I found a bug in theora_decode_init when I was implementing the decoder. theora_decode_init should be zeroing the theora state structure right? memset(th, 0, sizeof(theora_state)); // Erik -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20040805/26350ca4/attachment.htm
2004 Aug 29
0
theora issues
...zip including all dependencies. dumpvideo sample relies on global structures being zero initialized though does not mention it so copy & pasting the code has some nasty side effects of touching uninitialized memory if those structures are no longer global. The most likely crash seems to be in theora_granule_time. decode.c line 467 accesses MVect[1].x which is not initialized if CODE_INTER_NO_MV is used. Apart from being sloppy programming and tripping Valgrind it also is problematic if compiled with VS.NET 2003 as the solution (after auto conversion from a VC6 project) has the runtime checking enabled wh...
2004 Aug 29
0
theora a3 issues
...zip including all dependencies. dumpvideo sample relies on global structures being zero initialized though does not mention it so copy & pasting the code has some nasty side effects of touching uninitialized memory if those structures are no longer global. The most likely crash seems to be in theora_granule_time. decode.c line 467 accesses MVect[1].x which is not initialized if CODE_INTER_NO_MV is used. Apart from being sloppy programming and tripping Valgrind it also is problematic if compiled with VS.NET 2003 as the solution (after auto conversion from a VC6 project) has the runtime checking enabled wh...
2005 Jun 23
0
theora granulepos scheme
..., all our audio codecs would mark that packet with granulepos one, while theora would use zero (modulo the shift of course). The audio codecs all derive their granulepos from a sample count, while theora uses the presentation time instead. On the plus side for the current scheme, you can call theora_granule_time() and directly compare the results with your playback clock to determine whether to show the current frame. If we change things you have to subtract one frame duration first. On the plus side for changing the scheme, it's conceptually the same as all the other codecs, which makes things easi...
2009 Jan 30
2
Delayed pages ?
Hi all ! I am experiencing a strange issue with the theora encoding process. Apparently, when I put packets into the ogg stream, the pages are not returned immediately by ogg_stream_pageout. What happens seems that I get several pages at once later. This causes me trouble since then the pages are not properly placed with the other vorbis audio pages, leading to warnings in oggz-validate,
2007 Apr 12
1
Seek problem 2 - reinitialization of the decoder
...) queuePage(); while (isPlaying) { const int result = ogg_stream_packetout(&tstream, &packet); if (result == 0) { // Not enough 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 co...
2006 Apr 05
12
Stream Test
Hi Seeing as other people are posting streams to test, the system I have been developing has an Ogg/Vorbis/Theora stream that you can watch. I would appreciate any feedback to what players can play it and which players have problems. (I am using Icecast as the streaming server) So far I have found VideoLan plays the stream very well. MPlayer was ok, but wasn't as good at buffering.
2004 Nov 16
0
metadata switches for ffmpeg2theora
...e); + while(!info->audio_only && (e_o_s || + ((info->videotime <= info->audiotime || info->video_only) && info->videoflag == 1))){ - info.videoflag = 0; - while(ogg_stream_pageout (&info.to, &info.videopage) > 0){ - info.videotime= - theora_granule_time (&info.td,ogg_page_granulepos(&info.videopage)); + info->videoflag = 0; + while(ogg_stream_pageout (&info->to, &info->videopage) > 0){ + info->videotime= + theora_granule_time (&info->td,ogg_page_granulepos(&info->videopage)); /* flush a...
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...! videobuf_ready; ) { if (ogg_stream_packetout (&theoraStreamState, &oggPacket) > 0) { theora_decode_packetin (&theoraState, &oggPacket); videobuf_granulepos = theoraState.granulepos; videobuf_time = theora_granule_time (&theoraState, videobuf_granulepos); videobuf_ready = true; } if (! videobuf_ready && videoStream.eof()) { //throw "Can't decode the frame! EOF reached"; return; }...
2005 Oct 05
1
Simple encodig sample...
...page; /* is there a video page flushed? If not, fetch one if possible */ ret = fetch_video_page( &videopage, &to, &td ); /* no pages of either? Must be end of stream. */ if( ret == STREAM_EOS ) break; /* Flush to stream */ videotime = theora_granule_time( &td,ogg_page_granulepos( &videopage ) ); /* flush a video page */ video_bytesout += fwrite( videopage.header, 1, videopage.header_len, outfile ); video_bytesout += fwrite( videopage.body, 1, videopage.body_len, outfile ); timebase = videotime; {...
2005 Jul 20
1
MMX IDCT for theora-exp
...53 11 0.0028 dump oc_state_borders_fill_caps 26 0.0046 4 0.0010 dump oc_clc_mv_comp_unpack 12 0.0021 6 0.0015 dump oc_ycbcr_buffer_flip 11 0.0019 13 0.0033 dump theora_granule_time 10 0.0018 1 2.6e-04 dump oc_state_loop_filter_init 6 0.0011 100 0.0258 dump oc_state_frag_copy 6 0.0011 5 0.0013 dump oc_token_skip_eob6 5 8.9e-04 2 5.2e-04 dump...