Answers.Body: <p>Davinci Resolve lite is free, and it contains an excellent motion tracker.  By combining the motion tracker with a power window, and adding a color correction (to darken everything outside of the power window), you should be able to achieve the results you're after very quickly.  For tutorials on Davinci Resolve, search youtube for Alexis Van Hurkman.  He literally wrote the book on it (the instruction manual), and provides a generous amount of tutorials online for free.  Of course, he also has a complete course for sale through <a href="http://www.rippletraining.com" rel="nofollow">ripple training</a>.  You can download Resolve lite <a href="https://www.blackmagicdesign.com/support" rel="nofollow">here</a>.  </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-12T13:45:24.797Z
Answers.Text: I really should sit down and play with my copy of Resolve at some point.  I had no idea it could do motion tracking.
Answers.UserDisplayName: AJ Henderson
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-11T23:10:42.740Z
Answers.LastActivityDate: 2014-08-11T23:10:42.740Z
Answers.UserDisplayName: Jason Conrad
Answers.Body: <p>Unfortunately, this requires motion tracking and there isn't much out there that can handle it for free.  (As Jason Conrad pointed out, DaVinci Resolve Lite can.)  Motion tracking is pretty elaborate because it has to use complex computer vision systems to identify objects within the image and track where they move from frame to frame.  </p>
  
  <p>After Effects is probably the cheapest option on the list of tools that are often used for motion tracking, but it is still either several hundred dollars for a stand alone copy of the slightly older CS6 version or $20 a month to rent the newest version from Adobe.</p>
  
  <p>With such a motion tracking capable tool, you can track the motion of the scene and then either stabilize it such that the eyes remain stationary or you can use the tracking data to have a rectangular mask follow the eyes and only reveal the contents of the mask.  After Effects (or really any other program that supports this kind of tracking) is pretty advanced and gives lots of options for how to accomplish your goal, though you should also be aware that they are pretty advanced packages and there is a potentially significant learning curve.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-11T13:42:30.327Z
Answers.LastActivityDate: 2014-08-12T13:46:32.980Z
Answers.LastEditDate: 2014-08-12T13:46:32.980Z
Answers.UserDisplayName: AJ Henderson
Answers.Body: <p>I agree with the two previous answers:  You'll need paid motion-tracking software such as After Effects.</p>
  
  <p>I wanted to add that in addition to tracking the X-Y position in the frame, you will most likely need to track the "rotation" of the 2 eyes as well.  That is, a horizontal rectangular mask will work for the eyes of a person facing forward with his/her head upright, but if he/she tips his/her head to the left or right, the rectangle will have to similarly tip to the left or the right in order to expose both eyes (since one will be "above" the other in the frame at that point).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-11T21:58:27.123Z
Answers.LastActivityDate: 2014-08-11T21:58:27.123Z
Answers.UserDisplayName: BrettFromLA
Answers.Body: <p>You can use <a href="http://www.lwks.com/" rel="nofollow">Lightworks</a> (multi-plattform) for that or alternatively iMovie. Both offer either masking and or cropping.
  One of the most basic features in a video editor. Just watch one of the dozens of beginner tutorials for the tool that fits you the most.</p>
  
  <p>When you go with the cropping approach you just duplicate the video layer and crop each layer down to one of the eyes.</p>
  
  <p><strong>Edit:</strong> With motion tracking it gets much more complicated (in the sense of software complexity, motion tracking is super easy nowadays). You will have to reside to a paid tool in that case. I can't think of freeware that integrates all that in to a free package.</p>
  
  <p>The go to tools for motion tracking and masking work are After Effects, Nuke and Apple Motion (not that much actually but just to name an prominent Apple tool). With After Effects being the most prominent one out there and with a shitload of tutorials available to get going.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-09T22:28:31.197Z
Answers.LastActivityDate: 2014-08-10T01:38:35.967Z
Answers.LastEditDate: 2014-08-10T01:38:35.967Z
Answers.UserDisplayName: timonsku
Body: <p>I have a video containing a single person facing the camera. I would like to black-out everything in this video except for a small rectangular box around the person's eyes. I'm sure there are many approaches that might work for this, but I'm having trouble figuring out where to even begin. Preferably it can be done using free software for OS X.</p>
  
  <p>Edit: To clarify, the person's head moves around significantly and unpredictably, so I'm asking how to do this with some sort of motion tracking.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-10T01:42:33.183Z
Comments.Text: I added some info regarding motion tracking.
Comments.UserDisplayName: timonsku
Tags: <video><video-editor><editing><effects><tracking>
Title: How to mask everything except eyes?
UserDisplayName: John
ThreadText: # How to mask everything except eyes?
  
  (Asked by: username_0 on 2014-08-09)
  
  I have a video containing a single person facing the camera. I would like to black-out everything in this video except for a small rectangular box around the person's eyes. I'm sure there are many approaches that might work for this, but I'm having trouble figuring out where to even begin. Preferably it can be done using free software for OS X.
  
  Edit: To clarify, the person's head moves around significantly and unpredictably, so I'm asking how to do this with some sort of motion tracking.
  
  **Tags:** video, video-editor, editing, effects, tracking
  
  > **Comments:**
  > **username_1**: I added some info regarding motion tracking.  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_2 on 2014-08-11. Score: 3
  
  Davinci Resolve lite is free, and it contains an excellent motion tracker. By combining the motion tracker with a power window, and adding a color correction (to darken everything outside of the power window), you should be able to achieve the results you're after very quickly. For tutorials on Davinci Resolve, search youtube for Alexis Van Hurkman. He literally wrote the book on it (the instruction manual), and provides a generous amount of tutorials online for free. Of course, he also has a complete course for sale through [ripple training](http://www.rippletraining.com). You can download Resolve lite [here](https://www.blackmagicdesign.com/support).
  
  > **Comments:**
  > **username_3**: I really should sit down and play with my copy of Resolve at some point.  I had no idea it could do motion tracking.  
  
  ---
  
  ### Answer by username_3 on 2014-08-11. Score: 2
  
  Unfortunately, this requires motion tracking and there isn't much out there that can handle it for free. (As username_2 username_2 pointed out, DaVinci Resolve Lite can.) Motion tracking is pretty elaborate because it has to use complex computer vision systems to identify objects within the image and track where they move from frame to frame.
  
  After Effects is probably the cheapest option on the list of tools that are often used for motion tracking, but it is still either several hundred dollars for a stand alone copy of the slightly older CS6 version or $20 a month to rent the newest version from Adobe.
  
  With such a motion tracking capable tool, you can track the motion of the scene and then either stabilize it such that the eyes remain stationary or you can use the tracking data to have a rectangular mask follow the eyes and only reveal the contents of the mask. After Effects (or really any other program that supports this kind of tracking) is pretty advanced and gives lots of options for how to accomplish your goal, though you should also be aware that they are pretty advanced packages and there is a potentially significant learning curve.
  
  
  ---
  
  ### Answer by username_4 on 2014-08-11. Score: 1
  
  I agree with the two previous answers: You'll need paid motion-tracking software such as After Effects.
  
  I wanted to add that in addition to tracking the X-Y position in the frame, you will most likely need to track the "rotation" of the 2 eyes as well. That is, a horizontal rectangular mask will work for the eyes of a person facing forward with his/her head upright, but if he/she tips his/her head to the left or right, the rectangle will have to similarly tip to the left or the right in order to expose both eyes (since one will be "above" the other in the frame at that point).
  
  
  ---
  
  ### Answer by username_1 on 2014-08-09. Score: 1
  
  You can use [Lightworks](http://www.lwks.com/) (multi-plattform) for that or alternatively iMovie. Both offer either masking and or cropping.
  One of the most basic features in a video editor. Just watch one of the dozens of beginner tutorials for the tool that fits you the most.
  
  When you go with the cropping approach you just duplicate the video layer and crop each layer down to one of the eyes.
  
  **Edit:** With motion tracking it gets much more complicated (in the sense of software complexity, motion tracking is super easy nowadays). You will have to reside to a paid tool in that case. I can't think of freeware that integrates all that in to a free package.
  
  The go to tools for motion tracking and masking work are After Effects, Nuke and Apple Motion (not that much actually but just to name an prominent Apple tool). With After Effects being the most prominent one out there and with a shitload of tutorials available to get going.
  
  
  ---
  
  