I need to decode some .raw files which are encoded with a certain codec such as G711 u-law, G729 and iLBC
these .raw files are obtained from VOIP streams, so some of them are with packet loss.
I have downloaded a G729 codec, iLBC codec
I want to know
how to know whether these codec can decode raw files with packet loss or not?
I know there are different PLC algorithm, so does this mean there are different decoders?
\
Generally speaking, if I want to convert received RTP packet into .wav files, the procedures are
convert RTP packets into original.raw files
decode original.raw files into decoded.raw using decoder
convert decoded.raw into .wav files
I used sox to process G711 .raw files, and use the following command
sox -r 8000 -U original.raw -s -b 16 decoded.wav
does this command include all the 3 procedures listed above?
besides, if there are packet losses, are there any PLC involved in this command line?
Please note (with reference to your previous questions too), questions about using Audacity are our main focus. Unless someone here knows answers to these sort of specialist questions, we have to spend time researching it on the internet.
The SOX manual is at http://sox.sourceforge.net/sox.html. -U and -s are deprecated but they may work. I don’t think your command is doing your step 2), and don’t know why you would want that step.
I wouldn’t like to say if PLC is done or preserved when transcoding (and it would be optional for G711 as above in any case). If you want definitive answers to the above I suggest you ask on the sox-users list.