Pass an mp4 from database into API

Hi, I am trying to pass a video that a user uploaded into an API that requires an mp4 file. How can I read the file as an mp4 from the database? Thank you so much.