[FFmpeg-devel] [PATCH] lavfi/showspectrum: display multiple channels in separate row
divVerent
divverent at xonotic.org
Mon Feb 4 07:06:34 CET 2013
Am 04.02.2013 um 00:25 schrieb Stefano Sabatini <stefasab at gmail.com>:
> On date Sunday 2013-02-03 18:49:48 +0000, Paul B Mahol encoded:
>> From: Rudolf Polzer <divverent at xonotic.org>
>> AV_PIX_FMT_YUVJ444P
>
> any special reason for the switch?
Yes. We need a YUV colorspace so that different channel colors still get roughly the same visual intensity.
And it has to be JPEG color ranges so that the code needs no weird offsetting for TV ranges.
If you really insist, it could be changed back to RGB, but it would make the per-channel color math a lot more complex due to having to hardcode a YUV2RGB matrix.
Also, for the same reason, saturation is a lot easier to handle in YUV space; try using this filter with stereo audio and saturation=10:combined=1 to see what I mean.
More information about the ffmpeg-devel
mailing list