Good day, habrazhiteli!
Allow me to submit my project, on which I have been working for the last six months. This is an online service for converting video and audio files.
In short, the service creation history is fairly standard: at some point I was tired of using the ffmpeg command line to convert various media content and wanted something more convenient, and more importantly, cross-platform (because I had to work as from *) nix systems, and with Windows). So this service was born. Showed it to a friend (he is by the way on
Habré -
dk_bbg ), he appreciated. So I decided to put it in public access :-)
')
Under the cut a little information about what constitutes a service now.
A name has been created for the service and is now called
EncodeIt .
Support has been added to virtually all major formats, including the acclaimed WebM format, and the less notorious, but equally popular MKV and M2T (MPEG2 Transport Stream). We also tried to add support for the most popular mobile devices so that users do not bother with finding out the video support options for them. For those users who prefer to customize the video conversion settings in more detail, the option of advanced settings for the container format and codecs has been made.
There is also support for some popular video hosting sites. Now this is YouTube and Vkontakte, but the list is going to expand significantly (RuTube, Smotri.com, Vimeo). Were made "buns" in the form of progress bar loading and transcoding the file.
Since its launch, the service has matured a bit. A 2xXeon QuadCore server was leased, another server is in the “cold replacement” in the form of an Amazon EC2 On-Demand instance (just in case).
The number of daily conversions exceeded 200 per day. This was mainly due to the promotion of increasing the maximum file size to
2GB . And by the way, yes, there are no restrictions on the number of convertible files. Moreover, registration is not at all mandatory, and is needed only to enable the use of the "Personal Cabinet", which is a place for conveniently managing downloaded and recoded files. If you still decide to register, then this can be done both in a “classic” way, and using OpenID.
The service also got the 2nd types of API for interacting with it. The first is called the
REST API , and is designed to interact with the service using the REST method. The second type of API is the
Widget API . This is a JavaScript widget that provides an interface for embedding the ability to convert to various websites. A unique feature of the Widget API is the ability to organize "transparent" file conversion, without having to save the original (loaded) file on the site that hosted the widget.
While all the main and most popular features of the service are free, we charge a small fee for using the API (you need to pay for the server :-). This is a few rubles for 1 hour of video, the exact cost depends on the number of conversions per month. We already have several such clients who use the API and don't seem to complain yet.
From the next opportunities that we plan to make:
- Proper processing of Aspect Ratio when converting
- Gluing several video or audio files into one
- Ability to reduce / increase the volume
- More detailed and deeper setting of the conversion format
- Conversion "on the fly", to be able to play video or audio file through a browser.
- well, we'll think of something else ...
I hope this service will be able to help solve the emerging problems of transcoding various audio and video files. For all questions, write in the comments or in PM.
PS If you do not like the article, please do not minus - I got the karma with great difficulty :-) Better just say about it in the comments. I will remove the article and next time I will try to write about something more useful, for example, how reservation is provided with Amazon EC2 :-)