Some people use this command if they are putting a graph on their video. Or you may want to play the video with gridlines on it to work out placement of things you want to overlay on your video, or see if things are centered... you could also make a simple frame if you wanted. There's probably other things I haven't thought of. The first link is the documentation, the second link shows a script you can write to make this command more useful for you.
links:
https://ffmpeg.org/ffmpeg-all.html#Ex...
https://hhsprings.bitbucket.io/docs/p...
00:00 intro
00:08 ffplay drawgrid command
00:49 output of command
01:04 ffmpeg adding multiple drawgrid commands
02:49 output of command
03:14 drawgrid using iw and ih
04:13 output of command
04:49 drawgrid as frame
05:27 output of command
thankyou for watching.
to my kids, I love you very much :)