Page 1 of 1

How to play a raw pcm file?

Posted: 29 Feb 2008 23:14
by jvdsandt
Hello ,

I have an file which contains "raw" audio, pcm format without a header. The codec is s16_le and the bitrate is 16000 . What command line arguments do i need to pass so that VLC will be able to play the file?

Thanks,
Jan.

Re: How to play a raw pcm file?

Posted: 31 May 2011 12:02
by Sorc17
Bump. Looking for a way to play raw pcm file too.

Re: How to play a raw pcm file?

Posted: 31 May 2011 12:22
by Sorc17
Bump. Looking for a way to play raw pcm file too.
vlc --demux=rawaud --rawaud-channels 2 --rawaud-samplerate 48000 my_file.pcm