Displaying 2 results from an estimated 2 matches for "oggz_flush_aft".
Did you mean:
oggz_flush_after
2009 Aug 12
1
Oggz use
...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[2];
buf[0] = 0;
buf[1] = 0;
memset(...
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