ppmtoyuv

Convert a PPM image to an Abekas YUV file. More information: https://netpbm.sourceforge.net/doc/ppmtoyuv.html.

ppmtoyuv path/to/input_file.ppm > path/to/output_file.yuv