Upload a video file of any format and store it in database


can anyone help for uploading a video file in database and viewing the video file fetching from database in php.

But i need the video file in any format when uploading and convert the video file to a specific format and play.

Thanks in advance

You’ll either need to install software on your server to do the conversion (ffmpeg) or use a 3rd party service such as heywatch

As EastCoast said, you’ll need to install some software to convert the video. Also it is not good practice to store file directly into database. You should upload & save file into the folder & then save the file path into database. Place upload folder outside the root directory to protect it from direct access.

thank u so much…i tried it and set the problem…

Don’t do it…
just store it as a file