Hiding Faces on Videos: Masks This Is a Mini How-To to Make Videos During Demostrations While Preserving People's Anonymousness
Total Page:16
File Type:pdf, Size:1020Kb
Hiding faces on videos: Masks This is a mini How-To to make videos during demostrations while preserving people's anonymousness. This kind of documentation comes from the experience of indymedia's videos abused by police and repressive institutions in several countries around the world... First of all, you should be aware of what or who you're filming in your video.. Just a few things to keep in mind: *Your video will be probably published, so be careful on who's faces you show in it; usually it's enough to aim the camera to people's chest instead of revealing their identity during the actions. *If you have a camera that is "your weapon" in the "media war", please be careful, or enemy will use your weapon against you or people from the demostration, once the video is published. *If you've not been careful during demostration filming, let us remind you to cover picture frames that may disclose people identities, for their own security. SOFTWARE We'll try to teach you about covering faces on 4 different video editing software; unfortunately only one of these is an Open Source Software, namely the first one we're going to present: Cinelerra. At the end of this document you'll find a table with features of covering on every software we'll speak; that's a way for you to understand easily which one is right for your needs. On Cinelerra Masks select a region of the video for either displaying or hiding. Masks are also used in conjunction with another effect to isolate the effect to a certain region of the frame, for example to pixelate or to blur a subsection of a frame. Color correction may be needed in one subsection of a frame but not another. A mask can be applied to just a subsection of the color corrected track. Removal of boom microphones, airplanes, and housewives are other mask uses. Obviously first of all you have to earn the video from your camera, either with kinodv or dvgrab, then open the video file in the timeline (open as new project option). The order of the timeline affects what can be done with masks. To define a mask, go into the Compositor window ..and enable the mask toggle. IMPORTANT: You have to select automatic keyframes (icon of the key on the bottom left of the video in the compositor window) if you wish to move a mask over time. If you do not select automatic keyframes, the mask position will be the same even if you edit at different places on the timeline. Click-drag several times in several parts of the image to create each new point of the mask. While it is not the conventional Bezier curve behavior, this masking interface performs in realtime what the effect of the mask is going to be. Creating each point of the mask expands a rubber band curve. Once points are defined, they can be moved by CTRL-dragging in the vicinity of the corner. CTRL-drag allows you to move existing points to new locations, thus altering the shape of the mask. This, however, does not smooth out the curve. The in-out points of the Bezier curve are accessed by SHIFT-dragging in the vicinity of the corner. Then SHIFT-dragging near the in or out point causes the point to move. SHIFT-drag activates belzier handles to create curves between mask points. Finally, once you have a mask, the mask can be translated in one piece by Crtl-ALT-dragging the mask. Mask editing in Cinelerra is identical to how The Gimp edits masks except in this case the effect of the mask is always on. The masks have many more parameters which could not be represented with video overlays. These are represented in the tool window for masks. Selecting the question mark in the compositor window when the mask toggle is highlighted brings up the mask options. Mask options window The mode of the mask determines if the mask removes data or makes data visible. If the mode is subtractive, the mask causes video to disappear. If the mode is additive, the mask causes video to appear and everything outside the mask to disappear. Mask Mode: if you want to cover a face, choose mode "multiply alpha" and add another videotrack with the same video under the masked one. The value of the mask determines how extreme the addition or subtraction is. In the subtractive mode, higher values subtract more alpha. In the additive mode, higher values make the region in the mask brighter while the region outside the mask is always hidden. Mask value The mask number determines which one of the 8 possible masks we are editing, you can edit only one by time. The previous mask is still active but only the curve overlay for the currently selected mask is visible. Once you've drawed the mask and chosen the configuration, you only have to drop an effect from resources window on the video track in the timeline window; now you've covered with that effect the parts of the video you've selected with the mask. Every mask in a single track uses the same value and mode. The feather parameter determines how many pixels to feather the mask. This creates softer edges but takes longer to render. Then click on "render" in the timeline window, then you'll find out how to render your video easily, just remember that the two video tracks must be armed (red button in the patchbay) to be rendered correctly. Note: The OpenGL mask renderer is of low quality and only suitable as a preview for initial work. For fine-tuning of masks (with large feather values) OpenGL should be switched off and the software renderer be used.Finally, there are parameters which affect one point on the current mask instead of the whole mask. These are Delete, x, y. The active point is defined as the last point dragged in the compositor window. Any point can be activated merely by CTRL- clicking near it without moving the pointer. Once a point is activated, Delete deletes it and x, y allow repositioning by numeric entry. IMOVIE The next software we'll propose will be known for osx users, imovie. This is a non free licensed software so you'll need ffpmeg2theora libraries to encode your video in a free format. Imovie has a basilar interface but it's able to andle also some compositing effect just as masks. In this case we can define a mask as a black and white image (or clip) whose value at each pixel determines it's opacity (or alpha) value. So a white pixel would indicate an opaque pixel, black a transparent one, and grey values varying degrees of transparency. You may recognize that a mask acts like a stencil. In compositing, two images (or clips) are combined in one of several ways using a mask. The most common way is to place one image (the foreground) over another (the background). Where the mask is darker, indicating transparency, the background image will show through the foreground. Where the mask is brighter, indicating opacity, the foreground image will block the background. With Imove you are not able to move the mask in anycase. 1_Import your video in imovie and then put it TWO TIMES in the timeline. The result will be two clips in timeline, now drag a blur effect to the second one. The result will be the same as the image below. 2_Create (with Gimp, for example) or find an image or clip to use as a mask. Ideally, the mask should be black and white. Now import the mask on imovie. 3_Place the mask in the timeline, between the two clips. 4_Now if the mask is a clip; trim the mask so that it is the exact same duration as the first clip in the timeline. If it is a still image, set its duration to match the first clip. (!) It iis essentiiall that the fiirst clliip and the mask be the exact same llength. 5_Select the first clip in timeline.. 6_Choose ss| Composite in the Effects panel. 7_Click the apply botton. 8_Wait for the clip to render. Try playing with the Mode slider of the effect, and notice the various ways in which the mask can combine the two clips. The first clip is clip A, the second clip is clip B. The most common modes are A over B and B over A. The other modes are used for more specialized effects. This is what we obtain. FINAL CUT PRO Lets investigate how to hide child's face in this video with final cut pro. First of all we have 3 video track on timeline and our child's video clip will be repeated two times on track1 and on track3;this two video tracks must be syncronized and the second track is empty by now. Now we're going to make unrecognizable V3 video (the one on top). Choose on browser the "gaussian blur" effect (blur directory) and drop it to the clip on V3; now double click on the clip on timeline and open tab "filters" on Viewer, from there you can configure the slider "Radius" to obtain the desired blur. In the Canvas window you can see that the effect has affected the whole video; this is because the v1 video clip covers (by now) the one without blur on V3. In the media generator menu below the viewer on the right choose "shapes- > oval" to obtain a white oval on black background.