search for: theora_decode_yuvout

Displaying 13 results from an estimated 13 matches for "theora_decode_yuvout".

2007 May 25
2
Cleaning app
Hello all, When I'm doing something like: yuv_buffer yuv; theora_decode_YUVout(&td,&yuv); I'm guessing a bunch of stuff gets newed/malloced for yuv.y, yuv.u, and yuv.u. Who is responsible for deleting/freeing that stuff? Cheers, Kos.
2007 Jun 17
1
Please help : Trying to fool Theora into doing what I want
...but when the app is running I get block artifacts, which look like small square bits of the image have been moved to the wrong place. The process I use for 3 and 4 is: To get the key frame: 1) Put the packet I saved into theora using theora_decode_packetin 2) Grab the decoded packet using theora_decode_YUVout 3) Read the YUV data into my own buffer To force the saved keyframe data back into theora: 1) call theora_decode_YUVout in order to get a YUV structure with its data members pointing somewhere usesful 2) copy the data I saved in (3) above back into the YUV structure (thereby writing it into...
2009 Aug 13
2
Getting only frame deltas?
..., though - this is the operation that causes delays in one of the test machines, and it's pretty much unavoidable. I was thinking - since videos are encoded as delta frames, is it possible to get Theora to give me the rects modified since the last frame and upload only that? I'm stuck with theora_decode_YUVout which decodes a full frame (yep, old API, but th_decode_ycbcr_out in the new one seems to be similar) Thanks, --Gabriel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20090813/e9ef5ec2/attachment.htm
2006 Dec 08
1
Skipping Frames
...ng 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 some extra time, but not enough. Is there a way to avoid decoding a frame? Thank you in advanced. Sergio Fierens Bayo. -- EppurSiMuove -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theo...
2009 May 12
2
compile error of libtheora example
...eference to `SDL_CreateYUVOverlay' player_example.c:(.text+0x886): undefined reference to `SDL_GetError' player_example.c:(.text+0x8e9): undefined reference to `SDL_DisplayYUVOverlay' /tmp/ccpyle3c.o: In function `video_write': player_example.c:(.text+0x909): undefined reference to `theora_decode_YUVout' player_example.c:(.text+0x932): undefined reference to `SDL_LockSurface' player_example.c:(.text+0x947): undefined reference to `SDL_LockYUVOverlay' player_example.c:(.text+0xaf8): undefined reference to `SDL_UnlockSurface' player_example.c:(.text+0xb05): undefined reference to `SD...
2007 Apr 12
1
Seek problem 2 - reinitialization of the decoder
...ogress jump. But since the code sees it's now 239 seconds ahead (or some other random value), it freezes playback for a long time. Or, almost just as bad, it thinks we're several thousands seconds behind, so it starts dropping frames as much as possible (dropping only means skipping the theora_decode_YUVout and the yuv to rgb after it). I hope the code I have sent here is sufficient to tell me where I do something bad, so I can have a 100% working reinitialization of the decoder. Any help is appreciated. Bo Thorsen. -- Thorsen Consulting ApS - Qt consulting services http://www.thorsen-consulti...
2005 Feb 09
1
Trying to do windows encoding dll
...ti.noise_sensitivity=1; theora_decode_init(&dec_state,&ti); theora_info_clear(&ti); } __declspec (dllexport) void decode(signed char *yuvframe, ogg_page *op) { ogg_packet ipacket; ogg_stream_pagein(&dec_stream, op); theora_decode_packetin(&dec_state,&ipacket); theora_decode_YUVout(&dec_state, yuvframe); } __declspec (dllexport) void stopdec() { theora_clear(&dec_state); ogg_stream_clear(&dec_stream); } BOOL APIENTRY DllMain (HINSTANCE hInst /* Library instance handle. */ , DWORD reason /* Reason this function is being calle...
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...return; } if (! videobuf_ready) { buffer_data (); while (ogg_sync_pageout (&oggSyncState, &oggPage) > 0) { queue_page (&oggPage); } } } theora_decode_YUVout (&theoraState, &yuvBuffer); } int VideoStreamTheora::buffer_data () { char *buffer = ogg_sync_buffer (&oggSyncState,4096); int bytes = videoStream.tellg(); videoStream.read (buffer, 4096); bytes = int(videoStream.tellg()) - bytes;...
2004 Dec 08
3
yuv2rgb
hi all, i'm trying to code a tool to get some images from a ogg/theora file .... so basically i need to get a frame and convert to rgb ... and here is my question (sorry, i'm newbe here) ... how to convert a yuv_buffer to a rgb matrix ? i tryied diferent ways but my mistakes are bassically cause i don't understant how yuv_buffer structure works ... anybody can help? thanks a lot.
2005 Nov 11
0
[PATCH] icecast video preview 2
...+ if (theora -> frame_count == -1) { + fflush(stdout); + theora_decode_init (&theora->td, &theora-> ti); + } + + if ((theora -> frame_count % PREVIEW_KEYFRAME_INTERVAL )== 0) { + fflush(stdout); + theora_decode_packetin (&theora->td, &packet); + theora_decode_YUVout (&theora->td, &theora -> yuv); + write_video_preview (&theora -> yuv, theora -> video_preview); + theora -> frame_count = 0; + } + + fflush(stdout); + theora -> frame_count++; + + } +#endif + has_keyframe = 1; + } + } if (header_page) {...
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
2012 Oct 10
5
Theora integration question
Hello, I am programmer working on a product which integrates Theora. I have a question regarding the memory use on some of the internals of Theora. Is this the right forum for this question, and if not, does anyone know where an appropriate place to ask is? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: