UTIL

WAV TO PCM

ndlessrain 2013. 8. 27. 16:03
728x90

FFmpeg has binaries for Windows. It is also available for Linux and other operating systems. That makes it more ubiquitous than GStreamer. Here’s the command line for converting a WAV file to raw PCM

ffmpeg -i file.wav -f s16be -ar 8000 -acodec pcm_s16be file.raw

s16be indicates that the output format is signed 16-bit big-endian. The audio rate is changed to 8000 Hz.

You can import and play raw PCM using Audacity.

출처 : http://delog.wordpress.com/2011/11/04/convert-wav-to-pcm-using-ffmpeg/

728x90