[FFmpeg-devel] [PATCH 4/4] cmdutils: add -channel_layouts option.
nicolas.george at normalesup.org
Mon Jul 30 12:09:15 CEST 2012
Le tridi 13 thermidor, an CCXX, Stefano Sabatini a écrit :
> I mean in case you only need to show the channels *or* the standard
> layouts, having to parse a single list with a consistent structure is
> simpler than having to skip initial or ending lines based on a
> possibly changing pattern.
> So it seems more natural to me to keep two distinct options for two
> different lists (that's similar to what we did with -formats ->
> -formats | -codecs | -protocols).
There are some merits to these arguments, but, on the other hand:
"ffmpeg -foos" usually lists the possible values for the "-foo" option
(codecs and formats are small exceptions: as they are very common they are
abbreviated; protocols is a bigger exception). Individual channel names as
well as standard channel layouts names serve as arguments for
-channel_layout and anywhere a channel layout is expected; indeed,
individual channel names are not accepted as argument to the "-channel" or
I just pushed patches 1-3, I'll wait for a third opinion on this one while I
am rebasing the channel test generation script on top of it. Thanks for the
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel