Hi All, It would be really helpful for me if you comment on the following. My VorbisEncoder uses libvorbis to encode into the vorbis data. I have followed the call sequence given in libvorbis\examples\encoder_example.c. I am taking a 16bit pcm Stereo wav file and generating an oggvorbis file using libvorbis and libogg. There is lots of noise in the file except music is heard very feable in the background. To compare, I have created an ogg file with the same configuration(same quality) using GoldWav. I have observed that even the headerpages differ from the file i have generated. I am using TInt ret=vorbis_encode_init_vbr(&iInfo,2,44100,.4); for the setup Why are the headers of my file and the file generated by the GoldWav differ when both files are to be recorded with same quality level? Also Please let me know the cause of this behaviour? or give me an example which you are sure that it is working without any modification. Thanks in Advance. regards, Pavan. Send instant messages to your online friends http://in.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/vorbis/attachments/20060110/30c346fd/attachment.html
pavan kumar wrote:> Hi All, > > It would be really helpful for me if you comment on the following. > My VorbisEncoder uses libvorbis to encode into the vorbis data. I have > followed the call sequence given in libvorbis\examples\encoder_example.c. > I am taking a 16bit pcm Stereo wav file and generating an oggvorbis file > using libvorbis and libogg. There is lots of noise in the file except > music is heard very feable in the background. To compare, I have created > an ogg file with the same configuration(same quality) using GoldWav. I > have observed that even the headerpages differ from the file i have > generated. > I am using TInt ret=vorbis_encode_init_vbr(&iInfo,2,44100,.4); for the setup ><snip>> give me an example which you are sure that it is working without any > modification. >I'm afraid I haven't used the encoder enough to be of much help. If everything is right encoder_example.c should work without modification. You're not having endianness issues are you (IIRC the example encoder is written to handle 16 bit LE)? Have you tried other wav files? Is GoldWav using the same versions of libvorbis and libogg (I wouldn't be very surprised by differences in headers if it used different versions)? -- imalone
Maybe Matching Threads
- High Latency of vorbisencoder on a hardware with no floatpoint unit
- Problem with Dovecot LDA / Postfix
- trouble transfering files via windows explorer but not via linux in command line
- Vorbis-java wav-ogg encoder produces distorted OGG file
- [LLVMdev] How to explain?