YUV4MPEG
Well, a little background. YUV4MPEG is an interchange format used by the mjpegtools package for exchanging video frame data. So, this Perl module provides access to the YUV4MPEG API, allowing one to write filters for these streams in Perl. In addition, this module supports the PDL, so you can use many existing extensions for creating video filters.
Anyway, below are links to download the various versions available. The latest is version 0.04:
I also have a number of YUV4MPEG Examples to demonstrate how to use the module.