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.

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to