The Stupeflix API is a unique tool for developers to create massive amounts of videos upon fully customized templates.
An eCommerce site catalog can be transformed into as many videos as there are products. A classifieds website can add to each listing a video based on the listings information. Real-time information can be rendered into a customized video report.
The Stupeflix API takes as input a XML video description file and outputs a video rendered in the desired resolution and encoded with the chosen codec. But where does the video content go from there?
Today, a new option is available to our API users, and we are happy to announce that videos created with the Stupeflix API can now be directly uploaded to a Dailymotion account.
In addition to the new Dailymotion upload feature, current available options include uploading to a YouTube account, an Amazon S3 account, and via http. Practical information about how to implement these options is available with the Stupeflix SDK.
Is there another online video platform you would like to be able to upload your videos to?
Stupeflix comes with a bundle of tools to make video creation easy for everyone, from single video creation by casual users to thousands videos a day automation for hardcore developers.
The Stupeflix Studio is your new personal space, where you can access all the video tools and goods:
To make it easier to find, edit and manage videos under your account, we created a special page accessible under “Your Videos”:
Also easily accessible from the Studio, all the cool tools to make your next video creation project a breeze, whatever your needs are:
Do you want to quickly put together a beautiful video from a trip or wedding pictures and videos? The Stupeflix Online Editor puts video creation at everyone’s fingertips. Upload pictures, videos, arrange them in groups, add texts, musics, transitions, effects, all in your browser, in a few clicks.
Do you want to experience the full extent of video creation possibilities offered by Stupeflix, and micro-manage your video by the pixel and millisecond? The Stupeflix XML Editor gives you full command. Program videos by writing in a simple, descriptive XML language, and generate at will. Don’t forget to read the manual before taking off!
Do you want to automatically convert thousands of data records (text, images, videos, audio) into engaging videos? There’s an API for that. Do you want to let your website users create and edit their own videos on your site with a private label solution? There’s an app for that too!
So enjoy the Studio, and please let us know how it works out for you.
The Stupeflix XML (SXML) Video Description Language is a powerful language which describes videos generated by the Stupeflix REST API via our publicly available XML Editor or a third-party website. Applying and combining effects, filters, animators, transitions to text, images and videos opens up a limitless universe of creative possibilities for video production. The Tutorial Series blog posts bring the focus on a particular video editing feature.
We show you in this post how you can create dynamic masks to reveal and/or hide parts of an image or video. More information and source SXML code for the video examples below are available on the Masking Tutorial available in the Stupeflix Developer Center.
Applying a mask is a common image or video editing technique to reveal or hide parts of the image or video. An intermediary greyscale image or video is created that defines which area is going to be shown (for instance white parts), or hidden (for instance black parts), or partially transparent (for instance grey parts).
For instance, this video is the result:
of applying this mask:
To the following original video:
The syntax used to apply a video mask on content is the following, where the parameter opaqueColor (color on the mask which indicates hidden content) is set to #ffffff (hexadecimal for black), where transparentColor (color on the mask which indicates shown content) is set to #000000 (hexadecimal for white), and where the source for the video mask (second video above) can be found at http://assets.stupeflix.com/code/tutorials/masking/wbmask.mp4
Such mask filters can be applied on any object (overlay with images and videos, stacks, sequences, effects…).
And such masks can be defined with any video, image, or combination of stacks, sequences, overlays, and effects. For instance, the two following SXML codes will produce the exact same video, try to paste both in the XML Editor if you want to try yourself!
Now, another thing to consider when playing with the mask filter: any intermediate color between the opaque and the transparent one will reveal the content with a partially transparent effect. So if black is your opaque color and white the transparent one, a dark grey will slightly reveal the underlying content, while a light grey will show most of it. What this means is that you can use the mask filter to obtain a dynamic and fully customizable alpha channel for your videos!
Finally, adding a mask filter at the top of your SXML means that the mask will apply to your whole movie project. Use this feature for adding a convenient post-processing effect to your videos with a couple lines of code!