The above numbers are necessary and of course replace my.yuv and my.sgi with the name of the file you wish to convert.
Hopefully, the frames you want to convert are in numerical order (1.yuv, 2.yuv, ...., 1843.yuv). Press the help button for iterate for more details.