Title: Message
Hello,
 
I have enabled LAME audio decoding (ENABLE_DECODING) and modified the ACM codec to support both encode and decode audio files. I am able to encode and decode .wav files using Windows Sound Recorder successfully. However, it is not decoding .avi files created using the same ACM audio  codec. I am using Windows Media Player to play by my avi files encoded with Lame ACM. 
 
Debugging avi file playback shows that the ACM::OnstreamOpen is follwed by OnStreamSize once and  OnFormatTagDetails, OnFormatDetails multiple times and then by calls ACM::OnstreamClose (ACMStream::Erase ). It never reaches OnStreamConvert and hence results into no audio decoding. Then onwards the media player just plays the video part disregarding the audio totally.
 
My guess was since the codec decodes audio well with sound recorder it should work with media player as well. Is this problem has anything to do with settings? Will it be possible to use ACM for encoding and decoding avi files? Please let me know what could be done in this case if you have any ideas.
 
Thanks for your help.
 
Sagar.
 
 

Reply via email to