MJPEG is supported in hardware by some video capture cards.
Roughly speaking, faster and better on some hardware.
The type of H264 vs WMV - the first in raspberries may even 4K, the second is dying on it at FHD.
Does youtube PhotoJPEG and MotionJPEG video?
Probably not, why?