search for: theora_decode_init

Displaying 14 results from an estimated 14 matches for "theora_decode_init".

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/2...
2005 Aug 05
3
decoder init/clear
Enabling the following function in tests/noop.c: noop_test_decode () { theora_info ti; theora_state th; theora_info_init (&ti); theora_decode_init (&th, &ti); theora_clear (&th); theora_info_clear (&ti); } segfaults. The cause is that theora_decode_init() expects a theora_info structure which was previously initialized by passing actual bitstream data through theora_decode_header(), as documented in theora.h: /** * Ini...
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:
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...); 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 (&theoraState, &theoraInfo); Specifically this line in quant.c gave me a problem: qmat = ci->range_table[0]->qmat; According to my debugger (Visual Studio 7.1) ci->range_table[0] = 0x00000000. No doubt the problem is related to some sort of clearing that I still need to do...
2003 Mar 18
6
bitstream changes
ok now I see why we need another packet in the header. The first one is basically for ID purposes (theora_decode_header()). I've jammed my huffman trees in there but it sucks because I need them later on when I actually build the huffman tree structs (theora_decode_init, calls InitHuffmanSet()). At that point the original header packet is gone so I've been keeping it around in a buffer. Gross!! Someone please help. This is likely the last bitstream change before we lock it down for Beta, so I want to get it right. ___ Dan Miller (++,) Founder, CTO, On2...
2009 May 12
2
compile error of libtheora example
...example.c:(.text+0x1112): undefined reference to `vorbis_synthesis_headerin' player_example.c:(.text+0x1187): undefined reference to `ogg_stream_packetout' player_example.c:(.text+0x11ae): undefined reference to `ogg_sync_pageout' player_example.c:(.text+0x1265): undefined reference to `theora_decode_init' 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 `the...
2007 Jan 22
1
theora problems
...ot;blocky". Ideas? FPS settings? I've been trying to play around with the encoder settings to no avail. Same problems arise in those same webcams. I don't know if libtheora-experimental is ready for use. I tried to do it with libtheora but had some problems with access violations in theora_decode_init(). Perhaps an uninitialized value? Finally gave up to try libtheora-experimental with these results. Ideas? Has anyone tried to accomplish this (real-time webcam encoding-decoding) with theora and succeded (or not?) P.S. Please, send me some feedback because my messsages are not going to the fo...
2004 Feb 06
0
Bug in src/player_example.c
...condition and this turned out to be the cause of problems I was experiencing in my player. A simple memset() did the trick; not the tidiest of solutions but I couldn't use theora_clear() from libtheora because this makes NULLness assumptions on the structure as well. Maybe a modification to theora_decode_init() to clear the appropriate fields? -- Cheers, Jay http://www.evilrealms.net/ - Systems Administrator & Developer http://www.imperial.ac.uk/ - 3rd year CS student --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from...
2006 Aug 24
1
trying to encode/decode videos using libtheora
...om unknown stream 0 Ogg : Warning found none bos page from unknown stream 0 Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll libavformat file format detected. LAVF_header: av_open_input_stream() failed 2) trying to decode it by myself: theora_decode_init(&ts, &thi) gives me a segmentation fault. Can anyone help me? Thanks, Ribamar
2005 Feb 09
1
Trying to do windows encoding dll
...ECIFIED; ti.target_bitrate=bitrate; ti.dropframes_p=0; ti.quick_p=1; ti.keyframe_auto_p=1; ti.keyframe_frequency=64; ti.keyframe_frequency_force=64; ti.keyframe_data_target_bitrate=bitrate*1.5; ti.keyframe_auto_threshold=80; ti.keyframe_mindistance=8; 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...
2004 Oct 02
2
Theora decode problem
...ck_p=1; // should always be 1 m_ti.keyframe_auto_p=1; m_ti.keyframe_frequency=64; m_ti.keyframe_frequency_force=64; m_ti.keyframe_data_target_bitrate=(ogg_uint32_t)(m_ti.target_bitrate*1.5 ); m_ti.keyframe_auto_threshold=80; m_ti.keyframe_mindistance=8; m_ti.noise_sensitivity=1; theora_decode_init(&m_td,&m_ti); Any advice? I know the packets are received intact on the other end, however, I keep getting stuck on this line in the compiler. There must be something wrong with my encryption/decryption initialization to cause it to enter this wrong code segment. Shana
2005 Nov 11
0
[PATCH] icecast video preview 2
...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 (&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_pre...
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