search for: oggz_write_feed

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

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
2009 Aug 12
1
Oggz use
...] = 0; buf[1] = 0; memset(&op, 0, sizeof(ogg_packet)); op.packet = buf; op.bytes = 2; //op.bytes = 1; op.granulepos = granulepos; op.packetno = packetno; if (packetno == 0) op.b_o_s = 1; else op.b_o_s = 0; if (packetno == 9) op.e_o_s = 1; else op.e_o_s = 0; int ret = oggz_write_feed (oggz, &op, serialno, OGGZ_FLUSH_AFTER, NULL); switch (ret){ castatic long serialno; static ogg_int64_t granulepos = 0; static ogg_int64_t packetno = 0; static int oggzHungry(OGGZ * oggz, int empty, void * user_data) { /* Create a fake packet */ ogg_packet op; unsigned char buf[...
2010 Dec 01
1
Few questions about making logical bitstreams
...of _one page_ (b-o-s and e-o-s at the same time) with a _few packets_ be correct according to the ogg spec? - And, if such logical (multipacket singlepaged) bitstream is correct, how can I generate it by using build in liboggz functionality (i.e. which flags combination should I pass to the oggz_write_feed())? Thanks. wbr, Nikolay V. Razbegaev
2013 May 20
0
libfishsound/liboggz: How to properly set e_o_s marker when encoding?
...ow can I know which packet is indeed the last and therefore set the e_o_s flag appropriately? There seems to me no mechanism within FishSound to do this. After thinking about it, I decided a good approach might be: a. fish_sound_flush() b. Let the callback queue all remaining packets via oggz_write_feed() c. Manually set the e_o_s packet on the final packet in each oggz internal stream queue. d. Call oggz_run() to flush the queues to the output file. Of course, this requires creating my own oggz function in order to gain access to the internal per-stream queues. But before I go that rout...
2015 Feb 23
2
library for creating Opus files?
On 23/02/15 10:30 AM, Tony wrote: > I __think__ opus-tools' opusenc has code which can be used as a > template/sample for how to create an .Ogg file with Opus content. As > expected, it makes use of libopus and libogg. Sadly that's the best option currently. As you say it's a bit complicated, although oggenc has a lot of extra support for controlling encoder options you
2008 Feb 15
1
Oggz 0.9.7 Release
...enerate(), which does not require a packet_type argument. Deprecate oggz_comment_generate(). * Added oggz_stream_get_numheaders(), implemented for all known codecs * oggz_serialno_new() now only generates serialnos which will fit within a 32bit integer. * oggz_write_feed() now fails with OGGZ_ERR_BAD_SERIALNO if it is passed a serialno outside of the 32bit range. * Added OGGZ_CONTENT_CELT to the public OggzStreamContent enum. Internal: * Fixed a bunch of x86-64 compiler warnings. (Erik de Castro Lopo) * Updated acinclude.m4 to lat...
2008 Feb 15
1
Oggz 0.9.7 Release
...enerate(), which does not require a packet_type argument. Deprecate oggz_comment_generate(). * Added oggz_stream_get_numheaders(), implemented for all known codecs * oggz_serialno_new() now only generates serialnos which will fit within a 32bit integer. * oggz_write_feed() now fails with OGGZ_ERR_BAD_SERIALNO if it is passed a serialno outside of the 32bit range. * Added OGGZ_CONTENT_CELT to the public OggzStreamContent enum. Internal: * Fixed a bunch of x86-64 compiler warnings. (Erik de Castro Lopo) * Updated acinclude.m4 to lat...