What an M4V file is
M4V is Apple's variant of MP4. The structure is the same, and the extension exists mainly so that iTunes and Apple devices would recognise the file as video. Apple added a few things on top: chapter markers, Dolby Digital audio next to the usual AAC, and optional copy protection for store purchases.
You meet the format in a handful of places. HandBrake writes .m4v whenever a file has chapters or AC3 sound, and with some settings always. iMovie and older versions of QuickTime exported M4V for sharing to an iPod or Apple TV. Compressor and several lecture capture systems aimed at Apple devices used it too. A video ripped from a personal DVD of a talk, a course module prepared for iTunes U or a home video synced through iTunes years ago is very likely an M4V.