How to make video from multiple images and set background audio on in php?

User will upload multiple images on gallery.From this multiple image they can generate a video and video will be save in database.

I need server side solution also to save video in database and folder.