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

'UTIL' 카테고리의 다른 글

라이브러리 .a 파일 .so 파일  (0) 2013.08.28
fscanf fgets  (0) 2013.08.27
Ubuntu on Android without vnc  (0) 2013.08.23
usb 허브 micro usb  (0) 2013.08.22
라즈베리파이 부팅시 무지개화면 문제  (2) 2013.08.19

+ Recent posts