Keith Looney
2004-Aug-06 15:01 UTC
[speex-dev] Speex ACM no longer Beta (Houston, we have arelease!)
Prior to having your ACM codec, I was manually compressing Speex audio and writing it into one stream of an AVI file. To be able to use your codec for playback, I simply appended your WAVEFORMATEX extra data (the extra fields in SPEEXWAVEFORMAT) to the audio format. In looking at your code trying to determine how to fill in that data, it looked like the fmtnotice was optional. Is this truly the case? My application can also use your codec instead of my original method, and that works fine, but my original method allows us more control over the contents of the AVI file (blocking, ...). To reproduce my problem (which is admittedly not a high priority, but I just wanted to let you know) you will need to adjust cbExtra in your file to be 32 less than it is now, and not just clearing the data in that field. I just fill it with 0's anyway to get things to work. Does the content of that field matter to the codec or is it just for human consumption? Thanks, Keith ________________________________________________ Keith Looney Senior Software Engineer On2 Technologies, Inc. The Duck Corporation <p><p>-----Original Message----- From: Christian Buchner [mailto:Christian.Buchner1@epost.de] Sent: Monday, July 21, 2003 1:15 PM To: speex-dev@xiph.org Subject: RE: [speex-dev] Speex ACM no longer Beta (Houston, we have arelease!) <p><p>> I have successfully integrated your ACM codec in our applications, but I have run> into one minor issue. In a code comment you imply that fmtnotice is an optional > part of the WAVEFORMATEX extra data. I tried to play a file that had no > fmtnotice but Windows did not recognize it as valid and did not play the audio.I will try to remove that message from an existing Speex WAVE file to see if it will play. So how exactly are you generating WAVE Speex files without that notice? Are you using the Speex ACM in a manual mode, not accessing an AVI/WAVE file? <p>--- >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. --- >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.
Christian.Buchner
2004-Aug-06 15:01 UTC
[speex-dev] Speex ACM no longer Beta (Houston, we have arelease!)
> To reproduce my problem (which is admittedly not a high priority, but I > just wanted to let you know) you will need to adjust cbExtra in your file > to be 32 less than it is now, and not just clearing the data in that > field. I just fill it with 0's anyway to get things to work. Does the > content of that field matter to the codec or is it just for human > consumption?It is ignored by the codec. I thought it would be useful if someone downloads a WAVE file and cannot play it. If you load it into a hex or text editor, you can see where to get the codec. Since the WAVEFORMATEX is mandatory field and common to all WAVE files (while comment fields are not) I thought I might just append that short message to this structure. Christian <p>--- >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.