BROOKLYN — A Brooklyn man accidently set himself ablaze while smoking crack on a Bedford-Stuyvesant street, where his fiery brush with death was captured on video.

The video, which was posted on social media Monday, shows the man fully engulfed by flames as he wanders back and forth on the sidewalk in broad daylight.

“This guy's on fire,” a voice on the video says as he zooms in on the burning man standing near a parked car with fire literally rising above him and dripping from his outstretched arms.

"Are you OK?" the videographer adds. "Are you good?”

Warning: Graphic video.

ONLY IN NYC! We do not know who recorded this or any details. Warning: Kinda disturbing pic.twitter.com/dqVmBV435p — NYCFireWire (@NYCFireWire) January 30, 2017

The 30-second video ends without any indication of what ignited the blaze or if anyone tried to help the man.

But law enforcement sources tell “On the Inside” that several people called 911 Sunday at 5:20 p.m. reporting that a man was on fire in front 279 Halsey St. between Tompkins and Throop avenues in Bed-Stuy.

Sources said the FDNY and NYPD responded, but by the time they arrived the man had disappeared, and no one could tell them who he was or where he had gone.

The following day, FDNY fire marshals returned to the scene and eventually uncovered the identity of the man, whose name is being withheld, and went to his home.

The victims' relatives told investigators that unbeknownst to them, he apparently came home Sunday night after the incident and went straight to sleep, leaving them unaware that anything had occurred.

When he woke the following morning and came out of his room, the relatives said they looked at him in shock and asked him, “What the hell happened to you, you are all burned up?" sources said.

The victim, apparently unaware of how badly he was injured, told them he accidentally set himself on fire while smoking crack when he put his still-burning cigarette lighter back in his pocket.

His relatives immediately called 911, and the injured man was taken to the burn unit at New York-Presbyterian/Weill Cornell Medical Center in Manhattan, where he is listed in stable condition, according to sources.