[FFmpeg-devel] [PATCH 4/4] cmdutils: add -channel_layouts option.
Stefano Sabatini
stefasab at gmail.com
Mon Jul 30 11:17:32 CEST 2012
On date Monday 2012-07-30 10:41:09 +0200, Nicolas George encoded:
> Extract of the output:
>
> | Individual channels:
> | NAME DESCRIPTION
> | FL front left
> | FR front right
> | <snip>
> | SDR surround direct right
> |
> | Standard channel layouts:
> | NAME DECOMPOSITION
> | mono FC
> | stereo FL+FR
> | <snip>
> | octagonal FL+FR+FC+BL+BR+BC+SL+SR
> | downmix DL+DR
>
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
[...]
> diff --git a/cmdutils_common_opts.h b/cmdutils_common_opts.h
> index 855cb88..314855b 100644
> --- a/cmdutils_common_opts.h
> +++ b/cmdutils_common_opts.h
> @@ -10,6 +10,7 @@
> { "protocols", OPT_EXIT, {(void*)opt_protocols}, "show available protocols" },
> { "filters", OPT_EXIT, {(void*)opt_filters }, "show available filters" },
> { "pix_fmts" , OPT_EXIT, {(void*)opt_pix_fmts }, "show available pixel formats" },
> + { "channel_layouts", OPT_EXIT, {(void*)opt_channel_layouts }, "show standard channel layouts" },
I'm not sure if we should rather support two distinct functions, for
simplifying parsing operations (-channels and -channel_layouts).
--
FFmpeg = Fierce Furious Mysterious Programmable Explosive Game
More information about the ffmpeg-devel
mailing list