TimothyGu / libilbc

Packaged version of iLBC codec from the WebRTC project
BSD 3-Clause "New" or "Revised" License
64 stars 49 forks source link

Issue with playing iLBC-encoded audio file #43

Open hpuzz opened 11 months ago

hpuzz commented 11 months ago

I am encountering an issue with playing an iLBC-encoded audio file. I have a piece of code that performs iLBC encoding and decoding on an input audio file. The code runs without any errors, and it generates an output file after encoding and decoding. However, I am unable to play the generated file using multiple media players.

I have verified that the input audio file is in 16-bit PCM format. I have also checked the parameters of the iLBC encoder and decoder, ensuring that they match the input file's sample rate, frame size, and other options. Despite these checks, the generated file remains unplayable.

I have tried using VLC media player, Windows Media Player, and Foobar2000, but none of them can play the file. Other audio files are playing fine on my system, indicating that there might be an issue specific to the iLBC-encoded file.

I would appreciate any guidance or suggestions on how to troubleshoot this problem. Additionally, if there are alternative approaches or tools to play iLBC-encoded audio files, please let me know.

Thank you for your assistance!