Most of those are ffmpeg threads. You can tell htop to not display user threads, or (I beleive), show threads in a different color.
As for the CPU usage, it looks like you're doing a ton of encoding instead of passthrough of the h.264 stream. There's an article here somewhere on setting up an h.264 camera for low cpu usage.
Gerald