Hello everyone, I would like to access the raw CELT encoded bytes by using the command line interface but I am having some difficulties. I do not know how to unpack the Ogg Vorbis wrapper and the STDOUT option just filled my command line with ASCI characters. Anyone have luck dumping the bytes to a text file? Also inputting them back to the celtdec function would be helpful information. Thanks, Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20110601/717f50a7/attachment-0002.htm
Benjamin M. Schwartz
2011-Jun-01 17:13 UTC
[CELT-dev] Raw CELT Bytes from the Command Line Interface
In a sense, there's no such thing as a stream of "raw CELT bytes". CELT can only be decoded after it's been broken into frames, and the frame boundaries cannot be determined by looking at the CELT data itself. A transport layer such as Ogg or RTP is required to provide this framing information. In your case, the easiest solution might be to process the Ogg stream in order to retrieve the CELT frame data. This is meant to be very easy; every Ogg player has to do it. The obvious alternative would be to modify the command-line tools to export CELT using your own nonstandard framing scheme. --Ben -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature Url : http://lists.xiph.org/pipermail/opus/attachments/20110601/01ae4f27/attachment-0002.pgp