[FFmpeg-user] shuffleplanes
Michael Koch
astroelectronic at t-online.de
Mon Oct 11 12:15:25 EEST 2021
Hello,
I have a question about the shuffleplanes filter. In this example the
pixel format is RGB24. So the first plane is red and the second plane is
green. I want to swap the red and green planes.
ffmpeg -f lavfi -i testsrc2 -lavfi
format=rgb24,split[a][b];[b]shuffleplanes=1:0:2[b];[a][b]vstack -frames
1 -y out.png
But in the output green is swapped with blue. I don't understand why.
I'm using the latest Windows build, just a few days old.
Michael
More information about the ffmpeg-user
mailing list