search for: armyr

Displaying 6 results from an estimated 6 matches for "armyr".

Did you mean: army
2015 Oct 17
1
Why does this code not generate a valid opus file?
..._flush(&os,&og); if(result==0)break; fwrite(og.header,1,og.header_len,fout); fwrite(og.body,1,og.body_len,fout); } //And clean up. ogg_stream_clear(&os); fclose(fout); printf("Done.\n"); return 0; } //Sincerely Daniel Armyr Beginner opus user -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20151017/a0c223b1/attachment-0001.htm
2015 Oct 14
2
How to wrap Opus data in an Ogg stream?
...ader to a regular packet, but somehow placing the packet length inside the packet. Is this something I have to do manually, or is there a way to tell libOpus to create these self-delimiting packets? If I have to do it myself, is there a reference example somewhere I could look at? Sincerely Daniel Armyr Beginner Opus user.
2015 Oct 14
0
How to wrap Opus data in an Ogg stream?
On Wed, Oct 14, 2015 at 4:18 AM, Daniel Armyr <daniel at armyr.se> wrote: > Hi. > I am trying to understand how to package opus-encoded data in an ogg stream to make a standards-compilant ogg/opus file. Most things are clear, but there is one thing I simply do not understand. > > What I do understand is that Ogg is based on p...
2015 Oct 14
0
How to wrap Opus data in an Ogg stream?
On Wed, Oct 14, 2015 at 9:11 AM, Daniel Armyr <daniel at armyr.se> wrote: > Thanks for a very quick and very good answer. Let me just double-check one thing: > >> To put multiple Ogg Opus packets in an Ogg page, all you need to do is >> start a new segment for each Ogg Opus packet. There can be up to 255 >> segme...
2015 Oct 14
2
How to wrap Opus data in an Ogg stream?
Thanks for a very quick and very good answer. Let me just double-check one thing: > To put multiple Ogg Opus packets in an Ogg page, all you need to do is > start a new segment for each Ogg Opus packet. There can be up to 255 > segments per page. For details, see the Ogg specification: > https://tools.ietf.org/html/rfc3533 So do I understand it correctly that a decoder will
2015 Dec 10
1
A question on ogg_packet->packetno for corrupted streams
Hi. I am trying to implement an ogg codec using libogg, and testing with a piece of encoded data you can see below. It consists of 4 pages, the first two being header data, the third containing two packets of data and the last containing one packet of data. I am confused at the results I get if I corrupt the third page (The first one of the two that contain data). If I corrupt the first page,