[FFmpeg-user] MLP decoder: decodes 24-bit MLP files into 16-bit MLP wav
Moritz Barsnick
barsnick at gmx.net
Wed Jul 3 12:17:13 EEST 2019
On Wed, Jul 03, 2019 at 10:17:57 +0200, fabrice nicol wrote:
> The MLP decoder does not seem to work for 24-bit MLP. It converts such
> files into 16-bit WAV, whatever the sample rate.
Actually, you could think so. But the decoder is fine. On the other
hand, the wav output format defaults to 16 bits.
> `ffmpeg -i /mnt/cdrom/AUDIO_TS/ATS_01_3.AOB ~/a.wav`
[...]
> Stream mapping:
> Stream #0:0 -> #0:0 (mlp (native) -> pcm_s16le (native))
[...]
> Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 96000 Hz, 5.1, s16, 9216 kb/s
Just add "-c:a pcm_s24le" as an output option. Then you get the full
sample depth.
> sox --i a.wav
Tested and confirmed with sox here as well. ;-)
Hope this helps,
Moritz
More information about the ffmpeg-user
mailing list