search for: theora_encode_init

Displaying 15 results from an estimated 15 matches for "theora_encode_init".

2006 Nov 09
1
[Doc] theora_encode_init problem
Hello, I recently decided to develop a client-server visio-conference app for windows using libtheora for network communication. But I have a problem initialising the theora encoder : theora_encode_init() returns -23 and I would like to know what it means all I could find in the doc is that it should return 0 in case of success. I understand my call to theora_encode_init() failed, but i'd like to know why... where can i find such a documentation (i'm using libtheora 1.0alpha7) thanks --...
2008 Jan 07
0
uninitialised theora_info values
...sting. The test passes, but gives output like: make[1]: Entering directory `/home/conrad/src/xiph.org/theora/tests' ---- + Initializing theora_info struct ... ---- + Allocating encoder context ... ==15878== Conditional jump or move depends on uninitialised value(s) ==15878== at 0x4032485: theora_encode_init (in /home/conrad/src/xiph.org/theora/lib/.libs/libtheoraenc.so.1.0.0) ==15878== ==15878== Conditional jump or move depends on uninitialised value(s) ==15878== at 0x40324C0: theora_encode_init (in /home/conrad/src/xiph.org/theora/lib/.libs/libtheoraenc.so.1.0.0) ---- + Clearing theora_info struc...
2005 Mar 05
2
Bitrate Adaption
...e (or target video qiality) during a live stream without a standard theora decoder having any problems. I had assumed that this must be possible, given that Theora is defined as a variable bit rate codec, although in libtheora, it wouldn't be, as the bitrate / video quality has to be passed to theora_encode_init, which you'd only call before the encode started (unless it's possible to call this afterwards to change parameters?) The conclusion I'm reaching is that the answer is yes, it's possible, but only with a modified theora encoder, but I'd be very grateful if somebody in-the-know...
2009 Feb 20
2
segfault on amd64 with ffmpeg
...s before a block of size 8,100 alloc'd ==12051== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==12051== by 0x64E64C9: InitFragmentInfo (in /usr/local/lib/libtheora.so.0.3.4) ==12051== by 0x64E6722: InitFrameDetails (in /usr/local/lib/libtheora.so.0.3.4) ==12051== by 0x64D9F2E: theora_encode_init (in /usr/local/lib/libtheora.so.0.3.4) ==12051== by 0x762874: (within /home/pub/apps/ffmpeg_dev/ffmpeg_svn/ffmpeg) ==12051== by 0x4E38FE: avcodec_open (in /home/pub/apps/ffmpeg_dev/ffmpeg_svn/ffmpeg) ==12051== by 0x4292DB: (within /home/pub/apps/ffmpeg_dev/ffmpeg_svn/ffmpeg) ==12051==...
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 Aug 01
1
Encoder init
Well, as you may have seen from my previous messages, I'm doing a webcam stream program. The encoder is working well right now, but I'm having some hard time with the decoder. I know the parameters used in the encoder, and they are not gonna change, so I want to init the encoder directly into the client. The problem is that if I give the values to theora_info and after that I call
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
2005 Aug 06
0
[Fwd: Re: Force keyframe creation]
...ny way to force the creation of a keyframe when encoding? > > Poking around through the archive it looks like I might be able to do > this by setting 'keyframe_frequency_force' to '1' for a frame and then > setting it back. But to do this would I need to call > 'theora_encode_init' again? Is this safe? > > Basically, what's the best way to arbitrarily force the creation of a > keyframe within an encoding session? Calling it again (with a corresponding theora_clear first) would be okay, except that it also resets the granule positions applied to the packet...
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_encode_init(&enc_state,&ti); theora_info_clear(&ti); } __declspec (dllexport) encode(signed char *yuvframe, ogg_page *op) { while (ogg_stream_pageout(&enc_stream, op) == 0) { yuv_buffer yuv_enc; yuv_enc.y_width=enc_width; yuv_enc.y_height=enc_height; yuv_enc.y_stride=enc...
2005 Aug 05
0
libtheora test suite
...ruct ... ==9720== ==9720== 256 bytes in 1 blocks are definitely lost in loss record 1 of 1 ==9720== at 0x1B90659D: malloc (vg_replace_malloc.c:130) ==9720== by 0x1B9357E4: oggpack_writeinit (bitwise.c:41) ==9720== by 0x1B93582E: oggpackB_writeinit (bitwise.c:47) ==9720== by 0x1B9213CE: theora_encode_init (encoder_toplevel.c:845) ==9720== by 0x8048735: noop_test_encode (noop.c:15) ==9720== by 0x804886D: main (noop.c:62) PASS: noop ---- + Initializing theora_comment ... ---- + Adding ARTIST1 ... ---- + Adding LICENSE by tag ... ---- + Adding ARTIST2 by tag ... ---- + Querying value of LICE...
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_encode_init(&m_td,&m_ti); theora_info_clear(&m_ti); Here is my decrypt init. Since I can join the stream of theora packets (enclosed in ogg packets) at any time, I don't get headers, but I know what format I'm sending them in anyway since I'm the one sending them in the first place....
2005 Oct 28
2
Invalid read of size 1...
...80497F4: main (test3.c:281) ==2782== Address 0x1CEC27A7 is 1 bytes before a block of size 8448 alloc'd ==2782== at 0x1B90459D: malloc (vg_replace_malloc.c:130) ==2782== by 0x1B945908: PInitFrameInfo (pp.c:139) ==2782== by 0x1B94979A: ScanYUVInit (scan.c:296) ==2782== by 0x1B95159B: theora_encode_init (encoder_toplevel.c:884) ==2782== by 0x804947F: main (test3.c:220) ( repeated many times ) ... I noticed some things: - if I encode images programmatically generated (like in the last app I posted here in the ML...) my debugger says it's all ok (no errors) - if I grab a simple image ( I pu...
2004 Nov 16
0
metadata switches for ffmpeg2theora
...; + info->video_bytesout = 0; /* yayness. Set up Ogg output stream */ srand (time (NULL)); - ogg_stream_init (&info.vo, rand ()); + ogg_stream_init (&info->vo, rand ()); - if(!info.audio_only){ - ogg_stream_init (&info.to, rand ()); /* oops, add one ot the above */ - theora_encode_init (&info.td, &info.ti); - theora_info_clear (&info.ti); + if(!info->audio_only){ + ogg_stream_init (&info->to, rand ()); /* oops, add one ot the above */ + theora_encode_init (&info->td, &info->ti); + theora_info_clear (&info->ti); } /* init theora d...
2005 Oct 05
1
Simple encodig sample...
...keyframe_auto_p = 1; ti.keyframe_frequency = 64; ti.keyframe_frequency_force = 64; ti.keyframe_data_target_bitrate = video_r * 1.5; ti.keyframe_auto_threshold = 80; ti.keyframe_mindistance = 8; ti.noise_sensitivity = 1; theora_encode_init( &td, &ti ); theora_info_clear( &ti ); /* write the bitstream header packets with proper page interleave */ /* first packet will get its own page automatically */ theora_encode_header( &td, &op ); ogg_stream_packetin( &to, &op ); if( ogg_stream_pageout(...
2006 Oct 06
0
V4L + Theora small app...
...o.noise_sensitivity ); pfOGGclip = fopen( szFilename, "wb" ); if( pfOGGclip == NULL ) { perror( "### fopen()" ); iRet = -1; goto OGG_OpenClip_quit; } ogg_stream_init( &tOGGstreamState, rand() ); /* need a random number */ theora_encode_init( &tTheoraState, &tTheoraInfo ); theora_info_clear( &tTheoraInfo ); /* first packet will get its own page automatically */ theora_encode_header( &tTheoraState, &tOGGpacket ); ogg_stream_packetin( &tOGGstreamState, &tOGGpacket ); if( ogg_stream_pageout( &a...