[FFmpeg-user] aresample out_channel_layout values

Christian Ebert blacktrash at gmx.net
Tue Oct 1 17:22:21 CEST 2013


Hi,

What are the correct values to pass to in/out_channel_layout as
aresample option?

The aformat filter accepts aformat=channel_layouts=mono, but
aresample=22050:out_channel_layout=mono gives the following error:

[SWR @ 0x7fe9bb000600] [Eval @ 0x7fff570741d0] Undefined constant or missing '(' in 'mono'
[SWR @ 0x7fe9bb000600] Unable to parse option value "mono"
[AVFilterGraph @ 0x7fe9b9c16140] Error initializing filter 'aresample' with args '22050:ocl=mono'
Error configuring filters.

I also tried out_channel_layout=FC (taken from ffmpeg -layouts)
with the same error.

Finally: What would be the difference between:

aformat=channel_layouts=stereo
and
aresample=out_channel_layout=<stereo?>

-- 
\black\trash movie           _COWBOY  CANOE  COMA_
            Ein deutscher Western/A German Western

--->> http://www.blacktrash.org/underdogma/ccc.php


More information about the ffmpeg-user mailing list