I'm not sure that this is not my fault, but here it goes: I'm trying to encode a 22 kHz Mono stream. I started with the encoder example and made it take dynamic channels etc. This is how I init it: vorbis_info_init(&VorbisInfo); vorbis_encode_init(&VorbisInfo, 1, 22050, -1, 128000, -1); then I get a crash in: _vp_quantize_couple(vorbis_look_psy * 0x01e6a6ec, vorbis_info_mapping0 * 0x017c1988, float * * 0x01ea3ce0, float * * 0x00120754, float * * 0x00120758, int * 0x00120760, int 0) line 1021 + 35 bytes mapping0_forward(vorbis_block * 0x00121a20, void * 0x01e68d3c) line 496 + 41 bytes vorbis_analysis(vorbis_block * 0x00121a20, ogg_packet * 0x00121b30) line 65 + 30 bytes The error stems from: float *pcmA=pcm[vi->coupling_ang[i]]; where i is 0 vi->coupling_ang[i] is 1 pcm is only one channel so pcmA is 0xfdfdfdfd im not sure if the error is that info->coupling_steps is 1 but should be 0 for a mono stream Is it me that is doing something wrong or in this a bug... --- >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 'vorbis-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.
>Is it me that is doing something wrong or in this a bug...Don't use current CVS, use rc2. CVS has some things hard coded at the moment. Michael --- >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 'vorbis-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.
Can I get the rc2 source somehow from cvs or otherwise. I'm trying with cvs, but I'm very familiar with it. I see some tags, but not one that I can identify as rc2. -----Original Message----- From: Michael Smith [mailto:msmith@labyrinth.net.au] Sent: den 17 oktober 2001 00:36 To: vorbis-dev@xiph.org Subject: Re: [vorbis-dev] Possible channel coupling bug in encoder>Is it me that is doing something wrong or in this a bug...Don't use current CVS, use rc2. CVS has some things hard coded at the moment. Michael --- >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 'vorbis-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 'vorbis-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.
Should be that I'm very unfamiliar with it. doh -----Original Message----- From: Erik Olofsson [mailto:erik@o3games.com] Sent: den 17 oktober 2001 17:35 To: 'vorbis-dev@xiph.org' Subject: RE: [vorbis-dev] Possible channel coupling bug in encoder Can I get the rc2 source somehow from cvs or otherwise. I'm trying with cvs, but I'm very familiar with it. I see some tags, but not one that I can identify as rc2. -----Original Message----- From: Michael Smith [mailto:msmith@labyrinth.net.au] Sent: den 17 oktober 2001 00:36 To: vorbis-dev@xiph.org Subject: Re: [vorbis-dev] Possible channel coupling bug in encoder>Is it me that is doing something wrong or in this a bug...Don't use current CVS, use rc2. CVS has some things hard coded at the moment. Michael --- >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 'vorbis-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 'vorbis-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 'vorbis-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.
Managed to fix it, sorry for being so lame. -----Original Message----- From: Erik Olofsson [mailto:erik@o3games.com] Sent: den 17 oktober 2001 17:37 To: 'vorbis-dev@xiph.org' Subject: RE: [vorbis-dev] Possible channel coupling bug in encoder Should be that I'm very unfamiliar with it. doh -----Original Message----- From: Erik Olofsson [mailto:erik@o3games.com] Sent: den 17 oktober 2001 17:35 To: 'vorbis-dev@xiph.org' Subject: RE: [vorbis-dev] Possible channel coupling bug in encoder Can I get the rc2 source somehow from cvs or otherwise. I'm trying with cvs, but I'm very familiar with it. I see some tags, but not one that I can identify as rc2. -----Original Message----- From: Michael Smith [mailto:msmith@labyrinth.net.au] Sent: den 17 oktober 2001 00:36 To: vorbis-dev@xiph.org Subject: Re: [vorbis-dev] Possible channel coupling bug in encoder>Is it me that is doing something wrong or in this a bug...Don't use current CVS, use rc2. CVS has some things hard coded at the moment. Michael --- >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 'vorbis-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 'vorbis-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 'vorbis-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 'vorbis-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.