If I encode something in ultra-wideband, can I decode it in wideband by chopping off bytes in every frame? John --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Le mar 18/02/2003 à 17:38, John Hayes a écrit :> If I encode something in ultra-wideband, can I decode it in wideband by > chopping off bytes in every frame?All you have to do is use the --force-wb switch with speexdec. It will decode as if the file were wideband, ignoring the ultra-wideband info. It would also be possible to write a tool that strips off those bytes from the file itself (making it a bit smaller) but such a tool hasn't been written yet. Jean-Marc -- Jean-Marc Valin, M.Sc.A. LABORIUS (http://www.gel.usherb.ca/laborius) Université de Sherbrooke, Québec, Canada <p> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 242 bytes Desc: signature.asc Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20030218/56fe687a/signature-0001.pgp
Ok, that sounds great, what I'm doing is a little different, I have a server for forwarding packets, so I'm going to edit them there. This is interesting because I have limited CPU time for the receiving client and want to LOD the sound quality based on the receiver's CPU (and possibly distance) without decoding and reencoding (slow and probably with significant quality loss). John> -----Original Message----- > From: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org]On > Behalf Of Jean-Marc Valin > Sent: Tuesday, February 18, 2003 3:10 PM > To: speex > Subject: Re: [speex-dev] Chopping off the wideband?> Le mar 18/02/2003 à 17:38, John Hayes a écrit : > > If I encode something in ultra-wideband, can I decode it in wideband by > > chopping off bytes in every frame?> All you have to do is use the --force-wb switch with speexdec. It will > decode as if the file were wideband, ignoring the ultra-wideband info. > It would also be possible to write a tool that strips off those bytes > from the file itself (making it a bit smaller) but such a tool hasn't > been written yet.--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Tue, Feb 18, 2003 at 06:09:43PM -0500, Jean-Marc Valin wrote:> Le mar 18/02/2003 ? 17:38, John Hayes a ?crit : > > If I encode something in ultra-wideband, can I decode it in wideband by > > chopping off bytes in every frame? > > All you have to do is use the --force-wb switch with speexdec. It will > decode as if the file were wideband, ignoring the ultra-wideband info. > It would also be possible to write a tool that strips off those bytes > from the file itself (making it a bit smaller) but such a tool hasn't > been written yet.I have a very hacky tool called speexcat, designed to cut and stitch speex files together, and modify things like author/title tags without the need for decoding/re-encoding. If I were to polish it up a little (a lot), and maybe implement the ultra-wideband -> wideband stripping, would anybody honestly use it? If so, I'd be happy to do so. Regards, Bernard. -- Bernard Blackham bernard at blackham dot com dot au -------------- next part -------------- A non-text attachment was scrubbed... Name: part Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20030219/c8f5a706/part-0001.pgp