search for: theora_encode_yuvin

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

2009 Feb 20
2
segfault on amd64 with ffmpeg
...) Stream #0.1: Audio: flac, 48000 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding ==12051== Invalid write of size 4 ==12051== at 0x64D1485: PickIntra (in /usr/local/lib/libtheora.so.0.3.4) ==12051== by 0x64DA9B2: theora_encode_YUVin (in /usr/local/lib/libtheora.so.0.3.4) ==12051== by 0x762598: (within /home/pub/apps/ffmpeg_dev/ffmpeg_svn/ffmpeg) ==12051== by 0x4E2DB8: avcodec_encode_video (in /home/pub/apps/ffmpeg_dev/ffmpeg_svn/ffmpeg) ==12051== by 0x4256D2: (within /home/pub/apps/ffmpeg_dev/ffmpeg_svn/ffmpeg) ==...
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.
2004 Aug 02
1
Theroa Guess Confirmation
...ived by a Theora decoder 4) "theora_encode_comment" need never be called, but can be called at any time, and its packet can be inserted anwhere 5) "theroa_encode_tables" must be called exactly once, and its output must be the first non-comment packet after the header 6) "theora_encode_YUVin" must be called once per frame, and its output added to the stream in a sequential manner 7) Theora can tolerate any number of "dropped packets", so long as the packet is not "header", "tables", or (perhaps) the first "YUVin". As you can see, I'm m...
2008 Nov 30
1
ogg_stream_pageout function...
I write this small piece of code, that get pixels and encode them: ogg_page page; ogg_packet packet; m_frameSource.getYUVBits(m_buffer.y, m_buffer.u, m_buffer.v); theora_encode_YUVin(&m_encoder, &m_buffer); while(theora_encode_packetout(&m_encoder, isLastFrame, &packet)) ogg_stream_packetin(&m_oggStream, &packet); while (ogg_stream_pageout(&m_oggStream, &page)) { fwrite(page.header,page.header_len, 1, m_oggFile);...
2009 Jun 11
1
Thusnelda - Floating point exception in encoder_toplevel.c:209
...context. (gdb) backtrace #0 0x00007f8d0e3ce515 in oc_enc_select_qi (cpi=0x7f8d0c14f010, _qti=<value optimized out>, _trial=0) at enc/encoder_toplevel.c:209 #1 0x00007f8d0e3d036a in CompressFrame (cpi=0x7f8d0c14f010, recode=0) at enc/encoder_toplevel.c:278 #2 0x00007f8d0e3d08ce in theora_encode_YUVin (t=0x7fff1660eb00, yuv=0x7fff1660ecb8) at enc/encoder_toplevel.c:473 #3 0x0000000000403a29 in l3_theora_encode (s=0x7fff1660e8e0, im=<value optimized out>, eos=0) at live3.c:636 #4 0x0000000000405696 in main (argc=<value optimized out>, argv=<value optimized out>)...
2005 Feb 09
1
Trying to do windows encoding dll
...dth; yuv_enc.y_height=enc_height; yuv_enc.y_stride=enc_width; yuv_enc.uv_width=enc_width/2; yuv_enc.uv_height=enc_height/2; yuv_enc.uv_stride=enc_width/2; yuv_enc.y=yuvframe; yuv_enc.u=yuvframe+enc_width*enc_height; yuv_enc.v=yuvframe+enc_width*enc_height*5/4; theora_encode_YUVin(&enc_state,&yuv_enc); ogg_packet opacket; theora_encode_packetout(&enc_state,0,&opacket); ogg_stream_packetin(&enc_stream,&opacket); } } __declspec (dllexport) void stopenc() { theora_clear(&enc_state); ogg_stream_clear(&enc_stream); } __declspe...
2005 Aug 03
1
linking, exported symbols
...ging.so #1 0xb6906fcd in TransformQuantizeBlock () from /usr/lib/libtheora.so.0 #2 0xb69073ab in TransformQuantizeBlock () from /usr/lib/libtheora.so.0 #3 0xb6907830 in EncodeData () from /usr/lib/libtheora.so.0 #4 0xb6909cef in WriteFrameHeader () from /usr/lib/libtheora.so.0 #5 0xb690aaf1 in theora_encode_YUVin () from /usr/lib/libtheora.so.0 #6 0xb6922b8a in theora_enc_chain (pad=0x83c34f8, data=0x81b3db0) at theoraenc.c:746 #7 0xb79c80d5 in gst_pad_call_chain_function (pad=0x83c34f8, data=0x81b3db0) at gstpad.c:4539 Here, we see that either I'm terribly confused, or gdb is, or libtheora is calli...
2005 Oct 28
2
Invalid read of size 1...
...LineSearchScorePixel (scan.c:1643) ==2782== by 0x1B94B5A4: LineSearchScoreRow (scan.c:1714) ==2782== by 0x1B94C10B: AnalysePlane (scan.c:2244) ==2782== by 0x1B94C357: YUVAnalyseFrame (scan.c:2326) ==2782== by 0x1B950F96: CompressFrame (encoder_toplevel.c:651) ==2782== by 0x1B95181B: theora_encode_YUVin (encoder_toplevel.c:976) ==2782== by 0x80497F4: 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: ScanYUVIn...
2004 Nov 16
0
metadata switches for ffmpeg2theora
...o *info, uint8_t * data, int width, int height, int linesize,int e_o_s){ /* map some things from info struk to local variables, * just to understand the code better */ /* pysical pages */ @@ -186,10 +184,10 @@ yuv.u = data + width * height; yuv.v = data + width * height * 5 / 4; } - theora_encode_YUVin (&info.td, &yuv); - theora_encode_packetout (&info.td, e_o_s, &info.op); - ogg_stream_packetin (&info.to, &info.op); - info.videoflag=1; + theora_encode_YUVin (&info->td, &yuv); + theora_encode_packetout (&info->td, e_o_s, &info->op); + ogg_stream_pa...
2005 Oct 05
1
Simple encodig sample...
...--; fprintf( stderr, "\r%c", SPIN[frame_counter%4] ); /* fill the frame data */ memset( yuvframe, frame_counter % 255, video_x * video_y ); memset( yuvframe + video_x * video_y, frame_counter % 128, video_x * video_y / 2 ); /* encode the frame */ theora_encode_YUVin( td, &yuv ); if( frame_counter < 0 ) theora_encode_packetout( td, 1, &op ); else theora_encode_packetout( td, 0, &op ); ogg_stream_packetin( to, &op ); if( ogg_stream_pageout( to, videopage ) > 0 ) {...
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...
...clear( &tTheoraState ); if( pfOGGclip != NULL ) { fclose( pfOGGclip ); pfOGGclip = NULL; } return 0; } int OGG_PutFrame( void ) { ogg_page tOGGpageTmp; ogg_packet tOGGpacketTmp; memcpy( ucYUVframe, pucV4Lbuffer, iVideoX * iVideoY * 3 / 2 ); theora_encode_YUVin( &tTheoraState, &tYUVbuffer ); theora_encode_packetout( &tTheoraState, ( iFrameCounter == 0 ) ? 1 : 0, &tOGGpacketTmp ); /* last frame */ ogg_stream_packetin( &tOGGstreamState, &tOGGpacketTmp ); if( ogg_stream_pageout( &tOGGstreamState, &tOGGpageTmp )...