Archive for August, 2009

Tutorial Series: How To Use Masks To Filter Images, Videos

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

<filter type="mask" opaqueColor="#ffffff" transparentColor="#000000">
   <video filename="http://assets.stupeflix.com/code/tutorials/masking/wbmask.mp4"/>
</filter>

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!

<movie service="craftsman-1.0">
  <body>
    <overlay duration="10.0" top="0.1">
      <video filename="http://assets.stupeflix.com/code/tutorials/masking/sts120_launch.mov">
        <filter type="mask" opaqueColor="#ffffff" transparentColor="#000000">
           <video filename="http://assets.stupeflix.com/code/tutorials/masking/wbmask.mp4"/>
        </filter>
      </video>
    </overlay>
  </body>
</movie>

In this example, we inserted the source SXML that we used to generate the mask video shown above:

<movie service="craftsman-1.0">
  <body>
    <overlay duration="10.0" top="0.1">
      <video filename="http://assets.stupeflix.com/code/tutorials/masking/sts120_launch.mov">
        <filter type="mask" opaqueColor="#ffffff" transparentColor="#000000">
          <stack duration="10.0">
            <overlay right="0.15" width="0.45" top="0.15" height="0.45">
              <image color="#ffffff"/>
              <animator type="slide-in" duration="1.0" direction="left"/>
              <animator type="slide-out" duration="1.0" direction="up"/>
              <animator type="grow" growEnd="0.7"/>
            </overlay>
            <overlay left="0.10" width="0.45" top="0.10" height="0.45">
              <image color="#ffffff"/>
              <animator type="slide-in" duration="1.0" direction="down"/>
              <animator type="slide-out" duration="1.0" direction="left"/>
              <animator type="grow" growEnd="0.7"/>
            </overlay>
            <overlay left="0.15" width="0.45" bottom="0.10" height="0.45">
              <image color="#ffffff"/>
              <animator type="slide-in" duration="1.0" direction="up"/>
              <animator type="slide-out" duration="1.0" direction="left"/>
              <animator type="grow" growEnd="0.7"/>
            </overlay>
            <overlay right="0.10" width="0.45" bottom="0.15" height="0.45">
              <image color="#ffffff"/>
              <animator type="slide-in" duration="1.0" direction="left"/>
              <animator type="slide-out" duration="1.0" direction="down"/>
              <animator type="grow" growEnd="0.7"/>
            </overlay>
          </stack>
        </filter>
      </video>
    </overlay>
  </body>
</movie>

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!

Mashable reviews Stupeflix: Powerful Movie Making From Your Browser

Mashable is our go-to place for anything social media so it was a great pleasure seeing Stupeflix reviewed in a nice post by Jennifer Van Grove (aka @jbruin)

Stupeflix on Mashable

Jenn describes the Stupeflix Editor as a “unique and sophisticated approach to turning digital content into story-telling entities that you can then share across the web or save for personal use.” The Stupeflix API is also mentioned as “powerful API that can turn feeds into libraries of videos“.

We would like to thanks all the Mashable readers who tried out the Stupeflix Editor and gave us great feedback and feature suggestions.  Thanks Jennifer for the post!

Online Video By The Numbers: $1.6Bn revenue in 2010

The recent Online Video Value Chain study published by AccuStream Research provides valuable quantitative insight in the online video industry. Here’s what we found out:

Good News

Online Video Value Chain from 2008 to 2010

The industry is forecasted to grow with a solid 25% increase in 2009 and 26% increase in 2010, to reach then a good looking $1.6 Bn.

Who’s in the Online Video Value Chain? Who’s in the $1.6 Bn?

Show Me The Networks

Online Video Value ChainCDN and Advertising Networks are forecasted to represent more than 86% of the value chain revenue in 2009, that is $1.12 Bn. Typical companies in this category include Eyewonder, Eyeblaster, Pointroll and DoucleClick. Revenue forecast for this category shows a healthy 35% increase, yet far from the 77% increase this market has lived in 2008.

The video CMS market is forecasted to reach $137M revenue in 2009. Typical companies in this category include Brightcove, thePlatform, MoveNetworks, Vusion.

The video indexing market is forecasted to reach $44M revenue in 2009. Typical companies in this category include Auditude, Delve Networks, DigitalSmiths and vMix.

It appears however that the segmentation between pure CMS players and indexing players is becoming obsolete, as most companies in both markets expand their offering in platforms with services covering both categories.

But wait. Where is Stupeflix?

Round It Up To The Next Digit, Will You?

At the bottom of the online video (food) chain lies video production. Stupeflix is an automated, self-service video production platform which allows the creation of massive amounts of video content. Since Stupeflix appears not to be represented in the above forecasts, here’s our advice in considering the 2010 revenue figures: round it up to the next digit!

Stupeflix Editor: Latest and Greatest Features

Ever since the Stupeflix Editor was launched, we received great feedback from our community and users, and many additional features have been suggested and discussed. Every week Stupeflix silently introduces some of these new features into the Editor. This post puts the spotlight on our top three:

New Video Creation Wizard

When firing up the Stupeflix Editor, you may want to do different things. Maybe you are discovering Stupeflix and would like to instantly load and interact with a video creation example. Maybe you are new to Stupeflix but would like to be guided in starting a video project of your own. Maybe you are Stupeflix-fluent and just want to do your magic on a clean sheet.

The Video Creation Wizard is here to help. Whatever your needs or experience level, it will guide you right where you want to be.

screenshot-wizard

Mix Videos in your Videos

Using  pictures to create stunning videos is really powerful, but what about mixing in videos as well? Now you can do exactly that with the Editor and upload videos from your computer to insert them in your movie, just like you would add a still picture. This feature opens up a world of new possibilities, as you can now use Stupeflix to add subtitles, soundtracks, to mix videos together, or for any video processing task!

screenshot-video-upload-2

Pop-Up Helper

Not sure what to do with the element you are selecting in the Editor? A special pop up window, aka the Inspector, will tell you exactly what you can do, and will tell you only what you need to know.

screeshot-inspector

Use the Inspector window to select the options and make the changes to the group you have selected, and grab and drop it wherever it suits best your workspace.

We would like to thank all our users who keep contributing to Stupeflix by suggesting and discussing new features with us. If you have a special request, or just want to give feedback, please contact us!