search for: theora_info_init

Displaying 11 results from an estimated 11 matches for "theora_info_init".

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 doc...
2005 Feb 09
1
Trying to do windows encoding dll
...ht; ogg_stream_state enc_stream; theora_state dec_state; int dec_width, dec_height; ogg_stream_state dec_stream; __declspec (dllexport) void startenc(int width, int height, int bitrate) { ogg_stream_init(&enc_stream, 290482); enc_width = width; enc_height = height; theora_info ti; theora_info_init(&ti); ti.width=width; ti.height=height; // must be /16 ti.frame_width=width; ti.frame_height=height; ti.offset_x=0; ti.offset_y=0; ti.colorspace=OC_CS_UNSPECIFIED; ti.target_bitrate=bitrate; ti.dropframes_p=0; ti.quick_p=1; ti.keyframe_auto_p=1; ti.keyframe_frequency=64...
2004 Oct 02
2
Theora decode problem
...issue is that CodingMethod is equal to 5 (CODE_GOLDENFRAME), which doesn't initialize the moving vectors - and yet it goes into this area anyway and promptly blows up because the moving vectors are garbage. I'm not sure what I'm doing wrong. Here's my encryption initialization: theora_info_init(&m_ti); m_ti.width=176; m_ti.height=144; m_ti.frame_width=176; m_ti.frame_height=144; m_ti.offset_x=0; m_ti.offset_y=0; m_ti.fps_denominator=(ogg_uint32_t)1000000.0; m_ti.fps_numerator=10 * m_ti.fps_denominator; //10 is 10 frames per second m_ti.aspect_numerator=1; m_ti....
2007 Jan 06
7
FFmpeg Theora encoding patch
Hi, Attached is my patch to add theora encoding to ffmpeg's libavcodec (by using libtheora). I am requesting help to fix the bug I mention below and am seeking general comments before I submit the patch properly. Files encoded using this encoder have a problem playing in VLC. The files will not play unless "Drop late frames" has been unticked in the advanced video settings.
2009 May 12
2
compile error of libtheora example
...39; player_example.c:(.text+0xe23): undefined reference to `vorbis_info_init' player_example.c:(.text+0xe2f): undefined reference to `vorbis_comment_init' player_example.c:(.text+0xe3b): undefined reference to `theora_comment_init' player_example.c:(.text+0xe47): undefined reference to `theora_info_init' player_example.c:(.text+0xe86): undefined reference to `ogg_page_bos' player_example.c:(.text+0xeb1): undefined reference to `ogg_page_serialno' player_example.c:(.text+0xec3): undefined reference to `ogg_stream_init' player_example.c:(.text+0xed9): undefined reference to `ogg_stre...
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...t;Error: VideoStreamTheora::initMovie: bad file."; videoStream.seekg (0, std::ios::end); movieLengthBytes = videoStream.tellg(); videoStream.seekg (0, std::ios::beg); ogg_sync_init (&oggSyncState); theora_comment_init (&theoraComment); theora_info_init (&theoraInfo); // Fetch from the ogg-stream until we have the INITIAL PAGES of the theora stream for (bool doneScanningHeaders=false; ! doneScanningHeaders; ) { if (buffer_data ()==0) throw "Error: VideoStreamTheora::initMovie: Couldn...
2005 Oct 05
1
Simple encodig sample...
...; /* We force the offset to be even. This ensures that the chroma samples align properly with the luma samples. */ frame_x_offset = ( ( video_x - frame_x ) / 2 ) & ~1; frame_y_offset = ( ( video_y - frame_y ) / 2 ) & ~1; yuvframe = malloc( video_x * video_y * 3 / 2 ); theora_info_init( &ti ); ti.width = video_x; ti.height = video_y; ti.frame_width = frame_x; ti.frame_height = frame_y; ti.offset_x = frame_x_offset; ti.offset_y = frame_y_offset; ti.fps_numerator = video_hz...
2009 Jul 08
2
Theora 1.1 rate controller
Hello everyone, I'm currently developing an adaptive videoconferencing application based on Ekiga which uses TFRC as a congestion control mechanism to adapt the video encoding rate according to the quality of the network experienced. My goal was to use the open-source Theora codec for video transmission. Unfortunately, it seemed that Theora 1.0 did not properly implement any correct CBR mode.
2006 Oct 06
0
V4L + Theora small app...
...stride = iVideoX / 2; tYUVbuffer.y = ucYUVframe; tYUVbuffer.u = ucYUVframe + iVideoX * iVideoY; tYUVbuffer.v = ucYUVframe + iVideoX * iVideoY * 5 / 4; return 0; } int OGG_OpenClip( const char *szFilename ) { int iRet = 0; printf( "+++ OGG_OpenClip() \n" ); theora_info_init( &tTheoraInfo ); tTheoraInfo.width = iVideoX; tTheoraInfo.height = iVideoY; tTheoraInfo.frame_width = FRAME_WIDTH; tTheoraInfo.frame_height = FRAME_HEIGHT; tTheoraInfo.offset_x = iFrameOffsetX; tTheoraInfo.offset...
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:
2004 Nov 20
0
ffmpeg2theora start and end time support
...his->output_height); output_buffered =alloc_picture(PIX_FMT_YUV420P, this->video_x, this->video_y); //this->output_width,this->output_height); } if(!info.audio_only){ /* video settings here */ /* config file? commandline options? v2v presets? */ theora_info_init (&info.ti); info.ti.width = this->video_x; info.ti.height = this->video_y; info.ti.frame_width = this->output_width; info.ti.frame_height = this->output_height; info.ti.offset_x = this->frame_x_offset; info.ti.offset_y = this->frame_y_offset; // FIXED:...