[FFmpeg-devel] [PATCH 9/9] ffplay: add -af option

Marton Balint cus at passwd.hu
Tue Feb 26 00:41:20 CET 2013


On Sun, 24 Feb 2013, Nicolas George wrote:

> Le sextidi 6 ventôse, an CCXXI, Stefano Sabatini a écrit :
>> Unknown channel layouts should be supported since the recent work of
>> Nicholas, see for example:
>> 01649c79c87cb8c12b2e7e5ab64b5ec4fd5e97ca
>
> The interesting one would rather be 41f025d. In particular, it illustrates
> that in order to get unknown channel layouts working, the arguments to
> abuffer need to contain the "channels=n" option instead if
> "channel_layout=0x0" (0x0 meaning unknown).

Well, I tried it but I get an assertion failure in af_resample:

Assertion outlink->channel_layout == out_layout failed at 
libavfilter/af_aresample.c:163

And to reproduce it with ffmpeg:

ffmpeg -guess_layout_max 0 -i samples/A-codecs/wavpcm/test-96.wav dummy.wav

Regards,
Marton


More information about the ffmpeg-devel mailing list