Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: FFMpeg : List of working sample formats per Format and Encoder. (Read 5015 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

FFMpeg : List of working sample formats per Format and Encoder.

Hello,
i have done some tests and i created a list with the working sample formats per format and encoder in FFmpeg.

Here it is :

Code: [Select]
MP3 - MPEG Layer 3 Audio - Libmp3lame
sample_fmt="s16p,s32p,fltp"

AAC - Advanced Audio Coding - AAC (Advanced Audio Coding)
sample_fmt="fltp"

OGG - Ogg Vorbis Audio - Libvorbis
sample_fmt="fltp"

OGG - Ogg Vorbis Audio - Vorbis
sample_fmt="fltp"

WMA - Windows Media Audio - Windows Media Audio 2
sample_fmt="fltp"

WMA - Windows Media Audio - Windows Media Audio 1
sample_fmt="fltp"

OPUS - Opus Interactive Audio Codec - Opus (Opus Interactive Audio Codec)
sample_fmt="s16,flt"

RA - RealAudio 1.0 - RealAudio 1.0 (14.4K)
sample_fmt="s16,s16p"

MP2 - MPEG audio layer 2 - mp2
sample_fmt="s16"

MP2 - MPEG audio layer 2 - libtwolame
sample_fmt="s16,flt,s16p,fltp"

AC3 - Dolby Digital - ac3
sample_fmt="fltp"

AC3 - Dolby Digital - ac3_fixed
sample_fmt="s16p"

EAC3 - Dolby Digital Plus - eac3
sample_fmt="fltp"

DTS-DCA - (DTS Coherent Acoustics) - dca
sample_fmt="s32"

SPX - Speex - spx
sample_fmt="s16"

FLAC - Free Lossless Audio Codec - FLAC (Free Lossless Audio Codec)
sample_fmt="s16,s32"

ALAC - (Apple Lossless Audio Codec) - ALAC (Apple Lossless Audio Codec)
sample_fmt="s16p,s32p"

WV - Wavpack - Wavpack
sample_fmt="u8p,s16p,s32p,fltp"

WV - Wavpack - Libwavpack
sample_fmt="s32"

WAV - Waveform Audio - PCM 32-bit floating point big-endian
sample_fmt="flt"

WAV - Waveform Audio - PCM 32-bit floating point little-endian
sample_fmt="flt"

WAV - Waveform Audio - PCM 64-bit floating point big-endian
sample_fmt="dbl"

WAV - Waveform Audio - PCM 64-bit floating point little-endian
sample_fmt="dbl"

WAV - Waveform Audio - PCM signed 16-bit big-endian
sample_fmt="s16"

WAV - Waveform Audio - PCM signed 16-bit big-endian planar
sample_fmt="s16p"

WAV - Waveform Audio - PCM signed 16-bit little-endian
sample_fmt="s16"

WAV - Waveform Audio - PCM signed 16-bit little-endian planar
sample_fmt="s16p"

WAV - Waveform Audio - PCM signed 24-bit big-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM D-Cinema audio signed 24-bit
sample_fmt="s16"

WAV - Waveform Audio - PCM signed 24-bit little-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM signed 24-bit little-endian planar
sample_fmt="s32p"

WAV - Waveform Audio - PCM signed 32-bit big-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM signed 32-bit little-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM signed 32-bit little-endian planar
sample_fmt="s32p"

WAV - Waveform Audio - PCM signed 8-bit
sample_fmt="u8"

WAV - Waveform Audio - PCM signed 8-bit planar
sample_fmt="u8p"

WAV - Waveform Audio - PCM unsigned 16-bit big-endian
sample_fmt="s16"

WAV - Waveform Audio - PCM unsigned 16-bit little-endian
sample_fmt="s16"

WAV - Waveform Audio - PCM unsigned 24-bit big-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM unsigned 24-bit little-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM unsigned 32-bit big-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM unsigned 32-bit little-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM unsigned 8-bit
sample_fmt="u8"

WAV - Waveform Audio - SEGA CRI ADX ADPCM
sample_fmt="s16"

WAV - Waveform Audio - ADPCM IMA QuickTime
sample_fmt="s16p"

WAV - Waveform Audio - ADPCM IMA WAV
sample_fmt="s16p"

WAV - Waveform Audio - ADPCM Microsoft
sample_fmt="s16"

WAV - Waveform Audio - ADPCM Yamaha
sample_fmt="s16"

WAV - Waveform Audio - MP3 (MPEG audio layer 3)
sample_fmt="s16p,s32p,fltp"

CAF - Core Audio Format - PCM 32-bit floating point big-endian
sample_fmt="flt"

CAF - Core Audio Format - PCM 32-bit floating point little-endian
sample_fmt="flt"

CAF - Core Audio Format - PCM 64-bit floating point big-endian
sample_fmt="dbl"

CAF - Core Audio Format - PCM 64-bit floating point little-endian
sample_fmt="dbl"

CAF - Core Audio Format - PCM signed 16-bit big-endian
sample_fmt="s16"

CAF - Core Audio Format - PCM signed 16-bit little-endian
sample_fmt="s16"

CAF - Core Audio Format - PCM signed 24-bit big-endian
sample_fmt="s32"

CAF - Core Audio Format - PCM signed 24-bit little-endian
sample_fmt="s32"

CAF - Core Audio Format - PCM signed 32-bit big-endian
sample_fmt="s32"

CAF - Core Audio Format - PCM signed 32-bit little-endian
sample_fmt="s32"

CAF - Core Audio Format - PCM signed 8-bit
sample_fmt="u8"

CAF - Core Audio Format - ADPCM IMA QuickTime
sample_fmt="s16p"

CAF - Core Audio Format - ADPCM IMA WAV
sample_fmt="s16p"

CAF - Core Audio Format - ADPCM Microsoft
sample_fmt="s16"

CAF - Core Audio Format - MP3 (MPEG audio layer 3)
sample_fmt="s16p,s32p,fltp"

AIFF - Audio Interchange File Format - PCM 32-bit floating point big-endian
sample_fmt="flt"

AIFF - Audio Interchange File Format - PCM 64-bit floating point big-endian
sample_fmt="dbl"

AIFF - Audio Interchange File Format - PCM signed 16-bit big-endian
sample_fmt="s16"

AIFF - Audio Interchange File Format - PCM signed 16-bit little-endian
sample_fmt="s16"

AIFF - Audio Interchange File Format - PCM signed 24-bit big-endian
sample_fmt="s32"

AIFF - Audio Interchange File Format - PCM signed 32-bit big-endian
sample_fmt="s32"

AIFF - Audio Interchange File Format - PCM signed 8-bit
sample_fmt="u8"

AIFF - Audio Interchange File Format - PCM unsigned 8-bit
sample_fmt="u8"

AIFF - Audio Interchange File Format - ADPCM IMA QuickTime
sample_fmt="s16p"

AU - SUN AU Format - PCM 32-bit floating point big-endian
sample_fmt="flt"

AU - SUN AU Format - PCM 64-bit floating point big-endian
sample_fmt="dbl"

AU - SUN AU Format - PCM signed 16-bit big-endian
sample_fmt="s16"

AU - SUN AU Format - PCM signed 24-bit big-endian
sample_fmt="s32"

AU - SUN AU Format - PCM signed 32-bit big-endian
sample_fmt="s32"

AU - SUN AU Format - PCM signed 8-bit
sample_fmt="u8"

FFMpeg : List of working sample formats per Format and Encoder.

Reply #1
Hello,
i have done some tests and i created a list with the working sample formats per format and encoder in FFmpeg.

Here it is :

(Updated on 08.02.2015)

Code: [Select]
MP3 - MPEG Layer 3 Audio - Libmp3lame
sample_fmt="s16p,s32p,fltp"

AAC - Advanced Audio Coding - AAC (Advanced Audio Coding)
sample_fmt="fltp"

OGG - Ogg Vorbis Audio - Libvorbis
sample_fmt="fltp"

OGG - Ogg Vorbis Audio - Vorbis
sample_fmt="fltp"

WMA - Windows Media Audio - Windows Media Audio 2
sample_fmt="fltp"

WMA - Windows Media Audio - Windows Media Audio 1
sample_fmt="fltp"

OPUS - Opus Interactive Audio Codec - Opus (Opus Interactive Audio Codec)
sample_fmt="s16,flt"

RA - RealAudio 1.0 - RealAudio 1.0 (14.4K)
sample_fmt="s16,s16p"

MP2 - MPEG audio layer 2 - mp2
sample_fmt="s16"

MP2 - MPEG audio layer 2 - libtwolame
sample_fmt="s16,flt,s16p,fltp"

AC3 - Dolby Digital - ac3
sample_fmt="fltp"

AC3 - Dolby Digital - ac3_fixed
sample_fmt="s16p"

EAC3 - Dolby Digital Plus - eac3
sample_fmt="fltp"

DTS-DCA - (DTS Coherent Acoustics) - dca
sample_fmt="s32"

AMR - Adaptive Multi-Rate Audio Codec - AMR-NB (Adaptive Multi-Rate NarrowBand)
sample_fmt="s16,s16p"

AMR-WB - Adaptive Multi-Rate Wideband - AMR-WB (Adaptive Multi-Rate WideBand
sample_fmt="s16,s16p"

SPX - Speex - spx
sample_fmt="s16"

iLBC - (Internet Low Bitrate Codec) - libilbc
sample_fmt="s16,s16p"

FLAC - Free Lossless Audio Codec - FLAC (Free Lossless Audio Codec)
sample_fmt="s16,s32"

ALAC - (Apple Lossless Audio Codec) - ALAC (Apple Lossless Audio Codec)
sample_fmt="s16p,s32p"

WV - Wavpack - Wavpack
sample_fmt="u8p,s16p,s32p,fltp"

WV - Wavpack - Libwavpack
sample_fmt="s32"

WAV - Waveform Audio - PCM A-law  G.711 A-law
sample_fmt="s16"

WAV - Waveform Audio - PCM mu-law  G.711 mu-law
sample_fmt="s16"

WAV - Waveform Audio - PCM 32-bit floating point big-endian
sample_fmt="flt"

WAV - Waveform Audio - PCM 32-bit floating point little-endian
sample_fmt="flt"

WAV - Waveform Audio - PCM 64-bit floating point big-endian
sample_fmt="dbl"

WAV - Waveform Audio - PCM 64-bit floating point little-endian
sample_fmt="dbl"

WAV - Waveform Audio - PCM signed 16-bit big-endian
sample_fmt="s16"

WAV - Waveform Audio - PCM signed 16-bit big-endian planar
sample_fmt="s16p"

WAV - Waveform Audio - PCM signed 16-bit little-endian
sample_fmt="s16"

WAV - Waveform Audio - PCM signed 16-bit little-endian planar
sample_fmt="s16p"

WAV - Waveform Audio - PCM signed 24-bit big-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM D-Cinema audio signed 24-bit
sample_fmt="s16"

WAV - Waveform Audio - PCM signed 24-bit little-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM signed 24-bit little-endian planar
sample_fmt="s32p"

WAV - Waveform Audio - PCM signed 32-bit big-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM signed 32-bit little-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM signed 32-bit little-endian planar
sample_fmt="s32p"

WAV - Waveform Audio - PCM signed 8-bit
sample_fmt="u8"

WAV - Waveform Audio - PCM signed 8-bit planar
sample_fmt="u8p"

WAV - Waveform Audio - PCM unsigned 16-bit big-endian
sample_fmt="s16"

WAV - Waveform Audio - PCM unsigned 16-bit little-endian
sample_fmt="s16"

WAV - Waveform Audio - PCM unsigned 24-bit big-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM unsigned 24-bit little-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM unsigned 32-bit big-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM unsigned 32-bit little-endian
sample_fmt="s32"

WAV - Waveform Audio - PCM unsigned 8-bit
sample_fmt="u8"

WAV - Waveform Audio - SEGA CRI ADX ADPCM
sample_fmt="s16"

WAV - Waveform Audio - G.722 ADPCM
sample_fmt=""

WAV - Waveform Audio - G.726 ADPCM
sample_fmt=""

WAV - Waveform Audio - ADPCM IMA QuickTime
sample_fmt="s16p"

WAV - Waveform Audio - ADPCM IMA WAV
sample_fmt="s16p"

WAV - Waveform Audio - ADPCM Microsoft
sample_fmt="s16"

WAV - Waveform Audio - ADPCM Shockwave Flash
sample_fmt=""

WAV - Waveform Audio - ADPCM Yamaha
sample_fmt="s16"

WAV - Waveform Audio - MP3 (MPEG audio layer 3)
sample_fmt="s16p,s32p,fltp"

WAV - Waveform Audio - GSM Microsoft variant
sample_fmt=""

CAF - Core Audio Format - PCM A-law  G.711 A-law
sample_fmt="s16"

CAF - Core Audio Format - PCM mu-law  G.711 mu-law
sample_fmt="s16"

CAF - Core Audio Format - PCM 32-bit floating point big-endian
sample_fmt="flt"

CAF - Core Audio Format - PCM 32-bit floating point little-endian
sample_fmt="flt"

CAF - Core Audio Format - PCM 64-bit floating point big-endian
sample_fmt="dbl"

CAF - Core Audio Format - PCM 64-bit floating point little-endian
sample_fmt="dbl"

CAF - Core Audio Format - PCM signed 16-bit big-endian
sample_fmt="s16"

CAF - Core Audio Format - PCM signed 16-bit little-endian
sample_fmt="s16"

CAF - Core Audio Format - PCM signed 24-bit big-endian
sample_fmt="s32"

CAF - Core Audio Format - PCM signed 24-bit little-endian
sample_fmt="s32"

CAF - Core Audio Format - PCM signed 32-bit big-endian
sample_fmt="s32"

CAF - Core Audio Format - PCM signed 32-bit little-endian
sample_fmt="s32"

CAF - Core Audio Format - PCM signed 8-bit
sample_fmt="u8"

CAF - Core Audio Format - ADPCM IMA QuickTime
sample_fmt="s16p"

CAF - Core Audio Format - ADPCM IMA WAV
sample_fmt="s16p"

CAF - Core Audio Format - ADPCM Microsoft
sample_fmt="s16"

CAF - Core Audio Format - MP3 (MPEG audio layer 3)
sample_fmt="s16p,s32p,fltp"

AIFF - Audio Interchange File Format - PCM A-law  G.711 A-law
sample_fmt="s16"

AIFF - Audio Interchange File Format - PCM mu-law  G.711 mu-law
sample_fmt="s16"

AIFF - Audio Interchange File Format - PCM 32-bit floating point big-endian
sample_fmt="flt"

AIFF - Audio Interchange File Format - PCM 64-bit floating point big-endian
sample_fmt="dbl"

AIFF - Audio Interchange File Format - PCM signed 16-bit big-endian
sample_fmt="s16"

AIFF - Audio Interchange File Format - PCM signed 16-bit little-endian
sample_fmt="s16"

AIFF - Audio Interchange File Format - PCM signed 24-bit big-endian
sample_fmt="s32"

AIFF - Audio Interchange File Format - PCM signed 32-bit big-endian
sample_fmt="s32"

AIFF - Audio Interchange File Format - PCM signed 8-bit
sample_fmt="u8"

AIFF - Audio Interchange File Format - PCM unsigned 8-bit
sample_fmt="u8"

AIFF - Audio Interchange File Format - ADPCM IMA QuickTime
sample_fmt="s16p"

AU - SUN AU Format - PCM A-law  G.711 A-law
sample_fmt="s16"

AU - SUN AU Format - PCM mu-law  G.711 mu-law
sample_fmt="s16"

AU - SUN AU Format - PCM 32-bit floating point big-endian
sample_fmt="flt"

AU - SUN AU Format - PCM 64-bit floating point big-endian
sample_fmt="dbl"

AU - SUN AU Format - PCM signed 16-bit big-endian
sample_fmt="s16"

AU - SUN AU Format - PCM signed 24-bit big-endian
sample_fmt="s32"

AU - SUN AU Format - PCM signed 32-bit big-endian
sample_fmt="s32"

AU - SUN AU Format - PCM signed 8-bit
sample_fmt="u8"