Hi friends and experts,
I wanna learn how to actually create a PHP based online video media upload system I recognize that it’s not easy, but I have to know about it.
( Take note: Please do certainly not post any solutions like: The quality of videos would be very huge and so forth. Because I feel under a VPS plan and still have enough disk breathing space )
The true reason for this post is the fact that I want our members upload its videos on my website. So, please reply as fast as they can please.
( My apologies if this publish has already being posted )
Truly moved the line here, as it didn’t belong in Content articles and Tutorials.
I have no idea of too much about the subject, but it can’t be done in php by yourself. You will have to install something like x264 about the server itself. This is how I imagine it to operate:
- Save the file the fact that user uploaded onto some form of storage that it accessible for your server (SQL database could possibly be possible, but I don’t think it’s the recommended route)
- Set up some sort of queue stack for your encoder
- Send a advocat to x264(or whatsoever command line program you are using), look at is there much next film while in the queue, and point into the user file.
- Send the output into the final location.
- Embed a video player into your page, pointing into the outputted file.
Remember, I never even investigated this, but this is how I imagine the idea working.
REVISE: A better solution is usually to use the myspace API. No requirement of storing, converting or maybe heavy bandwidth. You could still customize the particular play, and I really believe you could also have user upload videos with the interface of your website.
It is the answer with php, if you can not care about your file type ( there are a variety of different video models ), and you’ll need a mysql db to cling the other variables such a file name, and so on.
Indeed, you could upload them in to the db as a binary, but from past experienc, 4-5 people viewing them taken from the db can affect performance.
The only reason make use of an encoder ( if you’re able to install one in your host ), is usually to convert all the uploads towards the same output format ( and that is not a terrible idea ), but not necessary.
Hi Webzarus,
I am the newbie to PHP but have a little knowledge on PHP, HTML DOCUMENT, JAVA, MYSQL and also CSS. So, could you no problem me a tutorial on how to create a training video upload system I want to know about this asap.
Applying upload system, my users can upload almost any file format. But the file should be displayed about the server as fast as they can. Like You esophagus does. The user uploads your file and head over to the URL provided along with the video will be present there. And whether or not we search with the file, the file gets classified by the search common box. So please tell me how to get this done type of publish system.
kottapallih.
Hi Webzarus,
I am the newbie to PHP but have a little knowledge on PHP, HTML DOCUMENT, JAVA, MYSQL and also CSS. So, could you no problem me a tutorial on how to create a training video upload system I want to know about this asap.
Applying upload system, my users can upload almost any file format. But the file should be displayed about the server as fast as they can. Like You esophagus does. The user uploads your file and head over to the URL provided along with the video will be present there. And whether or not we search with the file, the file gets classified by the search common box. So please tell me how to get this done type of publish system.
kottapallih
Everything could depend on your own hosting environment and the video encoding system you ultimately choose to go by using. Not aware regarding free option, although I haven’t already been looking.
A lot of the sites that make it happen, and do the idea well have spent a lot of money developing in-house programs for video conversion process.
Hi Webzarus,
Basically My business is on a VPS program 80 gb disk space. I wanted to learn how to do a online video media upload system such as youtube because I need my users to be able to upload their short films on the server. No format matters with luck.
The file format may be anything. I merely want my people to upload his or her short films.
Please give my family a tutorial on how to create one. I have MYSQl and the many required things.
You need to tell me.
kottapallih
Even now haven’t answered the particular question, and you keep going forward and backward between " just about any format", and want them however.
Indeed, YouTube allows uploads involving any format, although their output for you to viewers is regarding 2 formats, based on the visitors web browser.
You will need an encoding technique to convert these people, you will need to get that and go installed on a person’s hosting account before you can use anything else.
No sense in even discussing it, until you could have this piece constantly in place.
People say VPS, nicely, I know regarding about 2 dozen different vps and quite a few are easier to use than others. And based on your hosting arrangement, you may no even be capable to install the mentioned encoder on your current vps.
For a second time, until you include that part constantly in place, no need to talk about this again.
Webzarus, what encoder are you talking about There are some hundred’s of encoders. I have a doubt. How one can convert the training videos of my people using an encoder
And visiting for the hosting idea. I am utilizing a Virtual Private Server where my internet site company is " Inmotion web hosting ". I will ask them can one upload the encoder upon the server
Please tell me how one can create a upload system. I am needing it.
kottapallih Revise: link removed. AlphaMare.
I don’t want to be harsh, but I think you need to do a lot more research yourself and put a few effort into carrying this out yourself. I feel i am here to assist people solve problems they need already tried to solve themselves, not to teach them how to complete stuff from the begining. There are a good amount of tutorials online that will assist you learn what you would like to do. If you own tried to do-it-yourself and run into problems, then come here and have for help.
Have them upload to YouTube and url to them from your webblog.