Hi. I am trying to make a videos web page.
What I need to do that is a server side script that converts any video into flv.
I want to be able to upload an avi, mov, mpg or other and that the server converts it directly to .flv.
Is that possible? Any help would be thanked,
Why don't you just use Youtube and embed videos into the page? It will save bandwidth and you will not have to worry about that programming. Otherwise I am sure there is information out there, search on google.
I really prefear to have my videos on my own site.
Isn't that possible?
If not: Is there a freeware batch conversion tool?
something like mplayer was what I needed.
Does frihost support system() exec()? How do you use them?
Thanks a lot,
If you want to convert video's to .flv then use SUPER. Can't remember where i downloaded it but it's GREAT and FREE for use. It can convert everything. I think...
I'l provide you with a link as soon as possible.
I would appreciate that a lot tom...
Then what I will have to do is get this program, convert all files to flv and then upload them to the server. Is that right?
Thanks a lot to all,
converting videos from the command line can be done with ffmpeg (the best thing there is) and most bigger companies also use it if they want it integrated with webservides. Only problem is that you need root access to install it (like on a dedicated server or vps).
Converting them manually and uploading them on frihost is the only thing you can do if you don't have a server with root access.
Just as rvec says, ffmpeg is a possible solution.
Once you know ffmpeg's command switchs, which can be found at its website, and have ffmpeg installed, you can call it by PHP exec function
The prerequisite is that the server is owned by you, whether decicated, vps, or self-set-up. Web hosting limits the possibility in term of execution privilege and upload size, not only FriHost, others as well.
If you have face any problem, feel free to raise more, I have done a little bit on video conversion using ffmpeg via php before.