Newer Nikon and apparently also some Sony cameras simply support USB UVC ("the webcam protocol"), which makes this pure plug and play, but apparently Canon doesn't. For older cameras there's a Nikon webcam utility or something like that, which does exactly what you suggest: grab preview frames via PTP and stuff them into a video source. Or you get an HDMI/USB dongle for 10$.