The two ends of a 6-pin-to-4-pin FireWire cable look like this:
The big end (6-pin) goes into your Mac, and the small end (4-pin) generally goes into most amateur camcorders which have a FireWire connection. (Many PCs have a small, 4-pin socket instead of the larger 6-pin socket which you find on Macs.)
You don't say
which Samsung camcorder you have. Generally, only camcorders which use DV
tape have a FireWire connector. Camcorders which have a hard disc inside, or record onto chips, or onto something other than tape, generally have, instead, a
USB connection, which is generally smaller and flatter than a FireWire socket, and often looks like this:
That will NOT carry video directly between a camcorder and iMovie, and is generally used for either (a) importing still pictures into a Mac, or (b) copying a video file from a camcorder onto a Mac, and then the video can afterwards - possibly after conversion into a different kind of format - be imported from the Mac's own hard disc into iMovie.
Note that I've never found it possible to import from a camcorder using a 9-pin-to-4-pin FireWire 800 cable ..which looks like this;
There's no advantage using FW 800 ..on a Mac which has a FireWire 800 connection.. because FireWire from a camcorder generally runs at only a quarter the possible full speed of FireWire 400 anyway, and it'll run no faster using FW800.