[FFmpeg-user] datascope

Michael Koch astroelectronic at t-online.de
Sun Sep 18 15:28:14 EEST 2022


Am 18.09.2022 um 13:36 schrieb Michael Koch:
> Why does datascope show the color components in the unusual order GBR 
> (from top to bottom)? It's confusing.
> Can the order be changed to RGB?
>
> ffmpeg -f lavfi -i color=black:s=26x6 -lavfi 
> format=rgb24,geq=r='clip(64*mod(X,5),0,255)':g='clip(64*Y,0,255)':b='clip(64*trunc(X/5),0,255)',crop=25:5:0:0,datascope=s=750x180:mode=color2:format=dec 
> -frames 1 -y test.png

I found a solution. It seems the crop filter did change the pixel format 
to GBR. It works if format=rgb24 is inserted before datascope.



More information about the ffmpeg-user mailing list