[FFmpeg-user] aresample=matrix_encoding=dplii output is still 5.1 ??

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Jan 28 15:11:07 EET 2019

2019-01-28 9:00 GMT+01:00, pehache <pehache.7 at gmail.com>:
> Le 27/01/2019 à 16:53, Carl Eugen Hoyos a écrit :
>> 2019-01-27 16:44 GMT+01:00, pehache <pehache.7 at gmail.com>:
>>> I used to apply a Dolby Pro Logic II encoding this way :
>> Actual command line and complete, uncut console output missing.
> ffmpeg -i test.mkv -map 0:1 -c:a aac -b:a 256k -af
> aresample=matrix_encoding=dplii -t 300 a.m4a

You get stereo output with:
-af aresample=matrix_encoding=dplii:out_channel_layout=stereo
And identical output with -af aresample=matrix_encoding=dplii -ac 2

Note that the dplii conversion does not do a correct phase shift,
the output does not have optimal quality.

Carl Eugen

More information about the ffmpeg-user mailing list