search for: theora_encode_com

Displaying 7 results from an estimated 7 matches for "theora_encode_com".

Did you mean: theora_encode_ctl
2005 Oct 05
1
Simple encodig sample...
...r testing it easier. It seems ok to me but I have no experience with theora so I would like to know if my code is correct. I tried to debug it with Valgrind and I found 4 possible memory leaks... but I think they can be found in the original sample too ( encoder_example.c ) ... right? ( 1 about theora_encode_comment - row 195 ) ( 3 about ogg_stream_init - row 133 ) Sorry for my english. Thanx in advance. -Mat- === CODE === #define _GNU_SOURCE #define _LARGEFILE_SOURCE #define _LARGEFILE64_SOURCE #define _FILE_OFFSET_BITS 64 #ifndef _REENTRANT # define _REENTRANT #endif #include <math.h> #include...
2004 Aug 02
1
Theroa Guess Confirmation
...ture. 2) "yuv_buffer.y_stride" is this the number of bytes in one row of Y data. In other words, y_stride*8/y_width = num bits per Y component 3) "theora_encode_header" must be called exactly once, and its output must be the first packet received 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 fr...
2005 Oct 26
1
Small memory leak...
Hi all. In lib\encoder_toplevel.c , row 1123-1128: #ifndef LIBOGG2 /* So we're expecting the application with free this? */ op->packet=malloc(oggpack_bytes(opb)); memcpy(op->packet, oggpack_get_buffer(opb), oggpack_bytes(opb)); oggpack_writeclear(opb); #else In my small testing application my debugger says there are 50 bytes of memory lost and it refers to
2011 Aug 10
1
Ripping theora stream
Hi, I'm new to this mailing list. I'm trying to save a theora stream into an OGG file (or something else). I've the theora packets received from a VoIp application (over RTP). I'm able to convert a single frame to a jpeg image but I've no idea about how to write video file. Maybe this is not the right place to answer this question but I'm loosing my mind reading specs
2005 Oct 26
1
Small memory leak...
Hi all. In lib\encoder_toplevel.c , row 1123-1128: #ifndef LIBOGG2 /* So we're expecting the application with free this? */ op->packet=malloc(oggpack_bytes(opb)); memcpy(op->packet, oggpack_get_buffer(opb), oggpack_bytes(opb)); oggpack_writeclear(opb); #else In my small testing application my debugger says there are 50 bytes of memory lost and it refers to
2004 Nov 16
0
metadata switches for ffmpeg2theora
...gt;og.header, 1, info->og.header_len, info->outfile); + fwrite (info->og.body, 1, info->og.body_len, info->outfile); /* create the remaining theora headers */ - theora_comment_init (&info.tc); - theora_comment_add_tag (&info.tc, "ENCODER",PACKAGE_STRING); - theora_encode_comment (&info.tc, &info.op); - ogg_stream_packetin (&info.to, &info.op); - theora_encode_tables (&info.td, &info.op); - ogg_stream_packetin (&info.to, &info.op); + /* theora_comment_init (&info->tc); is called in main() prior to parsing options */ + theora_c...
2006 Oct 06
0
V4L + Theora small app...
...ror \n" ); iRet = -2; goto OGG_OpenClip_quit; } fwrite( tOGGpage.header, 1, tOGGpage.header_len, pfOGGclip ); fwrite( tOGGpage.body, 1, tOGGpage.body_len, pfOGGclip ); /* create the remaining theora headers */ theora_comment_init( &tTheoraComment ); theora_encode_comment( &tTheoraComment, &tOGGpacket ); ogg_stream_packetin( &tOGGstreamState, &tOGGpacket ); _ogg_free( tOGGpacket.packet ); /* !!! correct ? small mem leak without this !!! */ theora_encode_tables( &tTheoraState, &tOGGpacket ); ogg_stream_packetin( &t...