
Yes thats correct. It’s taken its time but it is finally here. You can now upload videos through Embedits API, we’ll transcode it for you and then spit it back at you. If you are currently a member of Embedit, just login, go to one of your sites settings and you will see Video Upload Settings where you can set the upload limit (currently limited to 50mb, if anyone needs more just email me and I’ll be more than happy to raise it) and in Error Messages you can set the error messages that get spat back if there’s any problems.
To show how quickly and easy it is to get something up and running using Embedit last night I a quick video version of TwitPic called Twitvid.in.
This is how Twitvid uses Embedit:
User uploads a video (along with their twitter credentials), if the users twitter credentials are correct Twitvid then sends the video to Embedit.
If Embedit says the video is valid, a tweet is sent from the users account. (if you are asking your users to upload large files I recommend doing some validation on your end so that your users don’t have to wait for a long time.
In the tweet is an url, something a bit like http://twitvid.in/fi0ko2. When someone visits the page they will either see a picture saying the video is still transcoding or will see the awesomely transcoded video.
What is Embedit Doing?
When a video is given to Embedit, it firstly check that it is actually a video. The video then goes into a queue. Embedit sends back some some XML with an url (or error messages if there was an error). When this url is queried you will be either given XML containing info of the video, or XML containing info for a “Currently Transcoding” image.
From the queue, the video is uploaded to S3, it then joins the encoder queue. In this queue the video basically gets transcoded and then the transcoded version is put back onto S3.
A nice little feature is that if the queue becomes too long a new uploader or transcoder is spawned (but this still needs some bugs fixing).
I’m hoping to start tidying the app itself up and make it more user friendly, you should hopefully be able to set your own “currently transcoding” images.
9 months ago
•
0 notes