[Fwd: Re: libvorbis without encapulsation]
Miscellaneous <[email protected]> Sat, 04 Mar 2017 23:26:46 +0100
| Newsgroups | gmane.comp.multimedia.ogg.vorbis.devel |
|---|---|
| Message-ID | <7d5fc460.AEMAIB-bwIAAAAAAAAAAAGpRNKYAARpaZXMAAAAAAAdjoABYuz8n@mailjet.com> |
--=-DKIVHNzoKMJwZq13Tsmf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I've posted a question about the development of my issue here: http://stackoverflow.com/questions/42602097/libvorbis-segfault-when-clo sing-block-vorbis-analysis-wrote Hope someone would be interested in taking a look at it. Thanks! --=-DKIVHNzoKMJwZq13Tsmf Content-Disposition: inline Content-Description: Forwarded message - Re: [Vorbis-dev] libvorbis without encapulsation Content-Type: message/rfc822 Message-ID: <[email protected]> Subject: Re: [Vorbis-dev] libvorbis without encapulsation From: Miscellaneous <[email protected]> To: [email protected] Date: Thu, 02 Mar 2017 12:42:57 +0100 In-Reply-To: <[email protected]> References: <35f734fd.AEMAHj0aUHkAAAAAAAAAAGpRNKYAARpaZXMAAAAAAAdjoABYmDX5@mailjet.com> <[email protected]> <cae38242.AEMAHj1vtS8AAAAAAAAAAGpRNKYAARpaZXMAAAAAAAdjoABYmDy3@mailjet.com> <[email protected]> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Hello again. I'm having trouble with the vorbis_analysis_buffer() function giving me segfaults even on the first allocation attempt. I've tried to adapt the code as closely as possible to the test/write_read.c and examples/encodes_example.c. I've also compiled the 1.3.5 release and linked to that libvorbis so to see if there was something up with my distro's binary, but no change. Are there some caveats for using this function or the vorbis_dsp_state one should be aware of? Appreciate any hints! On Mon, 2017-02-06 at 10:16 +0100, Nicolas George wrote: > L'octidi 18 pluviôse, an CCXXV, Miscellaneous a écrit : > > > > > > > > The RLP draft mentioned on the libvorbis docs page, are there > > > sample > > > implementations (in C) of this yet anywhere? > > Sorry that should say RTP, not RLP > I am not sure I understand exactly what you are asking, but > libavformat > has a RTP packetizer that works for both Vorbis and Theora, > implemented > in rtpenc_xiph.c. > > But this packetizer is meant for use in the RTP muxer of libavformat > itself, and the RTP muxer relies on the packet's metadata, that, when > it > comes from libvorbis, is derived from the fields of the ogg_packet > structure. Thus, you still need that ogg_packet structure anyway. > > Regards, > --=-DKIVHNzoKMJwZq13Tsmf Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVm9yYmlzLWRl diBtYWlsaW5nIGxpc3QKVm9yYmlzLWRldkB4aXBoLm9yZwpodHRwOi8vbGlzdHMueGlwaC5vcmcv bWFpbG1hbi9saXN0aW5mby92b3JiaXMtZGV2Cg== --=-DKIVHNzoKMJwZq13Tsmf--