Sound into PCM

Problem

Transcode a sound file using the PCM codec.

Solution

ffmpeg \
    -i input_file \
    -c:a pcm_s24le \
    output_file

Command syntax

ffmpeg
starts the command
-i input_file
path, name and extension of the input file
-c:a pcm_s24le
The audio codec PCM with a sampling rate of 24 bit is selected.
output_file
path, name and extension of the output file

Discussion

The WAVE or BWF containers (both .wav) are often used for the PCM audio codec.


2020–07–17