Write Mat::frame to stdout and pipe to ffmpeg

good.

It seems that ffmpeg/ffplay doesn’t implicitly convert pixel formats, at least not in this situation. I don’t know if it’s supposed to.

you should explicitly tell ffplay to convert, or use cvtColor and send rgb24 instead, which should be easier for ffmpeg to work with.