This is a list of the audio sample formats supported by ffmpeg.
the ‘s16p‘ type of code is also the one you will find back in the output of ffprobe.
- u8: 8 – unsigned 8 bits
- s16: 16 – signed 16 bits
- s32: 32 – signed 32 bits (also used for 24-bit audio)
- flt: 32 – float
- dbl: 64 – double
- u8p: 8 – unsigned 8 bits, planar
- s16p: 16 – signed 16 bits, planar
- s32p: 32 – signed 32 bits, planar
- fltp: 32 – float, planar
- dblp: 64 – double, planar
- s64: 64 – signed 64 bits
- s64p: 64 – signed 64 bits, planar
Source: https://ffmpeg.org/doxygen/2.4/group__lavu__sampfmts.html
Some examples
- Windows WAV:
Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 2 channels, s16, 705 kb/s
- MP3 file:
Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 112 kb/s
- Youtube MP4:
Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)