yuvtoseq converts an image sequence stored in a headerless YUV-format file, yuvfile, to an image sequence, seqfile. All frames of seqfile are output as grayscale, PGM-format files; i.e., the chrominance information in yuvfile is discarded.
The option -sf specifies the starting frame number for seqfile, defaulting to 0.
yuvfile is a simple headerless, raw, planar 4:2:0 YUV file which consists of a sequence of raw luminance/chrominance images stored one after another in a single file. num_rows and num_cols give the dimensions of each frame in yuvfile.