An NBC News online producer made a secret Valentine’s Day sex tape with his girlfriend as an unwitting co-star — and posted it to a popular porn site, law enforcement sources told The New York Post.

On Feb. 14, he allegedly hid the camera in the apartment he shared with his 29-year-old gal pal in Greenwich Village, sources told The Post.

He then slipped into bed with the unsuspecting woman and kept the camera rolling, the sources said.

Carlo Dellaverson, 30, later allegedly posted the video on XTube, a Dutch porn site that claims 9 million registered users.

The woman found the video on his computer Thursday, several months after it was made, sources said, and promptly dumped Dellaverson and moved out.

The woman immediately filed a police report.

Dellaverson was charged with unlawful surveillance at Manhattan Criminal Court on Tuesday and released without bail.

His lawyer, Charles Abercrombie, said, “We are maintaining our innocence and we will contest these charges vigorously.”

More On This...