Digitalsmiths plans to keep open Gotuit's office in Woburn, just outside Boston.
The merged company will have about 60 employees, with 35 based in the Triangle. Terms of the deal weren't disclosed.
Digitalsmiths video search system is primarily used by film studios and websites.
Gotuit offers Digitalsmiths an entrance into a new market and valuable intellectual property, said Matthew Berry, one of Digitalsmiths co-founders and its chief technology officer.
Gotuit's customers include ESPN, Fox, Sports Illustrated, Turner and Sprint. Those companies use the company's products to insert metatags into video scenes for use by consumers or advertisers.
The company owns 21 patents, and will bring the total number of patents owned by Digitalsmiths to 35.
Ben Weinberger, Digitalsmiths CEO, will be CEO of the two companies, which will operate under the Digitalsmiths name.
Gotuit CEO Mark Pascarella will sit on Digitalsmiths' advisory board.