0

I'm trying to convert a stereo audio file in pcm_s32le_planar format. I don't care about the container (AIFF/FLAC/MP3), just the memory layout.

ffmpeg.exe -formats says :

 DE s32le           PCM signed 32-bit little-endian

ffmpeg.exe -codecs says :

DEA..S pcm_s32le_planar     PCM signed 32-bit little-endian planar

.\ffmpeg.exe -encoderssays :

A..... pcm_s32le_planar     PCM signed 32-bit little-endian planar

So really it should be possible.

However :

.\ffmpeg.exe -i in.flac -acodec pcm_s32le_planar out.aiff says :

Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted

.\ffmpeg.exe -i in.flac -f s32le -acodec pcm_s32le_planar out.aiff outputs a file, but it's not an AIFF file : it seems that using -f forces RAW output (so, no header of any kind, just the audio data)

How can I have planar, signed 32-bit, litte-endian audio ?

1 Answer 1

2

FFmpeg only writes planar PCM to NUT format, so

ffmpeg.exe -i in.flac -acodec pcm_s32le_planar out.nut
2
  • Thanks ! Is there some place I could have found this (on top of the source code) ?
    – Calvin1602
    Commented Jun 9, 2017 at 12:50
  • Sorry, there's no global list or one-stop resource.
    – Gyan
    Commented Jun 9, 2017 at 14:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .