[FFmpeg-user] Visualization filter colors and scale.
Zsolt
dqeswn at gmail.com
Fri Sep 6 19:43:08 EEST 2019
Hello!
Does anyone know how do I set the color matrix and range when using
filter_complex?
I use this filter:
-filter_complex
"[0:a]showfreqs=s=1920x1080:cmode=combined:colors=#990000|#770000,format=yuv444p[vid]"
picture:
[image: 1.jpg]
The colors look rather orange, even though I only set the red channel.
Normally I use "-vf scale=out_color_matrix=bt709:out_range=pc" when dealing
with full range to get proper video, but of course I can't use vf with
filter_complex. How do I do it in this case?
*A different question:*
I also tried the showspectrum filter. When I use fscale=log the result is
quite horrible. as if it's the same linear scale only the lower frequencies
obscenely stretched, can this be helped?
snapshot:
[image: 2.jpg]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.jpg
Type: image/jpeg
Size: 105871 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20190906/cbadd57d/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.jpg
Type: image/jpeg
Size: 432688 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20190906/cbadd57d/attachment-0001.jpg>
More information about the ffmpeg-user
mailing list