Its safe but its not going to taste good…the pellicle will sour your beer quickly.
You can keg/bottle quickly from below the white stuff and see what you get or in my opinion dump it, washing everything thats come into contact with that beer extremely well with some potent stuff to kill any...