Instead of having a custom fork of the vpxenc tool in weston, we can just dump raw YUV data in the YUV4MPEG2 format and feed that into the upstream vpxenc. This also works with theora_encoder and probably many other encoders.
Thanks to Jonas Kulla <nyocurio@googlemail.com> for spotting it.