you can use ffmpeg for this porpose.
For example :
ffmpeg -i in_file -f s16le -acodec pcm_s16le out.avi
Question
Currentl, I have a PCM stream, and want to record a segment of the stream to an avi file, which can be played using an avi-supportted media player.
I am wondering:
Thanks
Solution
you can use ffmpeg for this porpose.
For example :
ffmpeg -i in_file -f s16le -acodec pcm_s16le out.avi