Hi, I'm new to videohelp.com and I was wondering if there is any way that you can have someone upload a file then once its uploaded, it automatically converts it to .mp4 by some type of server-side software or script. I would really like to know how to do this, cause this would be really cool.
Thanks in advance for your responses,
~VenumX
+ Reply to Thread
Results 1 to 12 of 12
-
-
You can use any converter...the tricky part is to get it automatically.
I would use mencoder to convert and mp4box to make a .mp4 file( they are available for both win and linux). They are command line apps so it would would be pretty easy to make it automatically using a batch script. See for example http://forum.doom9.org/archive/index.php/t-118930.html -
But it'll take quite some server horsepower, + a patient user. Hardly a process where you have the client waiting for a form post to finish. Rather more like a mailback system or something.
/Mats -
well they just need to upload it, its not going to redownload the file, just save it on the server as .mp4
-
So, what good will it do on the server in mp4 shape, realistcally 15 minutes later (with the uploaded video around 5 minutes in length)?
/Mats -
I posted this in another part of the forums, now im just gonna put it in here
-----------------------------------------------------------------------------------------
Hello, I was wondering if there was any way to make a website that a user would be able to upload a video in any format and the server would automatically take the uploaded file and convert it to a .mp4 and save the converted version on the server. I know that with the server converting it, it would take a while for the file to be converted for the users viewing on large files, but if there was a limit ont he filesize the users uploaded it wouldnt matter. The closest thing to what i want can be found at http://www.zamzar.com. They have done a great job getting the video conversion going, and I was wondering if there was a way I could just do the video conversion to convert straight to .mp4. Thanks in advance for your responses.
--------------------------------------------------------------
Just a better idea of what i was looking to do. I just want to have al the videos in .mp4 format on the server but i want to be able to upload any format. If anyone has any idea of how this would or even could work it would be greatly appreciated. -
Easiest way to have a server convert uploaded files to mp4 would be ffmpeg via say php. ffmpeg supports most formats as input (not as many as mencoder) and can output directly to mp4, including audio using lame or faac for the audio and Xvid, libavcodec (MPEG-4 Part 2 and AVC) or x264 for the video. ffmpeg can also output flv, wmv, ogg, etc.
-
is there a way to do it via aspx? cause that would be much more convinient...and if there is could you point me in the right direction?
-
Sure is. We run executables from aspx in some applications. For short:
Code:Process myProcess = new Process(); myProcess.StartInfo.FileName = executable; myProcess.StartInfo.Arguments = arguments; bool result=myProcess.Start();
As this is run by the "aspnet" user, you have to make sure that user has the right priveliges, or run it as a user with better access rights (better option) with "impersonate" (set in web.config)
/Mats -
There are some online conversion sites that can do that such as www.zamzar.com or www.heywatch.com. Alternatively, if you're a "podcaster", you can use something like http://www.podcastspot.com. THey will automatically convert whatever you upload to the popular formats.
Similar Threads
-
[solved]3d side-by-side capture and conversion to anaglyph using VirtualDub
By jumpjack in forum Capturing and VCRReplies: 21Last Post: 13th Apr 2011, 19:23 -
client and server side tools/architecture suggestions for video chat
By anishlisha in forum Video Streaming DownloadingReplies: 0Last Post: 3rd Nov 2010, 23:50 -
Is the panasonic dmres46v a seudo svhs side-by-side player/recorder?
By yoda313 in forum RestorationReplies: 8Last Post: 17th May 2010, 08:09 -
Server side media conversion
By diddle in forum LinuxReplies: 1Last Post: 11th Aug 2009, 13:10 -
FFMPEG audio/video desynchronized (converting video server side)
By Lleoun in forum Newbie / General discussionsReplies: 1Last Post: 18th Apr 2008, 07:19