Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Remove background from a video sequence

  • Remove background from a video sequence

    Posted by Per Ottesen on January 23, 2008 at 8:34 pm

    I have a greyscaled video (not so good quality), where I would like to remove the background, so I can isolate some few people who are walking in the sequence.
    I have a frame with no people on, so I will be able to use this for a kind of extraction, but how ???
    The video is taken from a camcorder that are locked on a wall, so there is no camera movement/zoom.

    Hope someone has a good idea/suggestion

    William Macbillston replied 12 years, 10 months ago 4 Members · 6 Replies
  • 6 Replies
  • Kevin Camp

    January 23, 2008 at 8:48 pm

    there is an effect called difference matte that does what you are looking for. its a standard effect, just bring the clean still and the image sequence into the same comp, apply the effect to the sequence and select the still as the difference layer.

    ae will try to remove the pixels that are the same, leaving you with jus tthe subject… in theory. things like noise and compression artifacts will make this process more difficult, so getting a great key with not-so-great-footage and this method may be tricky…

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Per Ottesen

    January 24, 2008 at 7:54 am

    Hi Kevin!
    I’ve tried this dfference matte, but since the materiale has so poor quality, and has no color but only greyscale, the people are being removed also, when the background is removed.
    I have earlier seen an effect, where it was possible to paint the content of one frame on another frame in the sequence, but I don’t know if that’s possible in AE.
    IF it is, I maybe could isolate the background, increase the contrast and then have more clear differences to use the difference matte on.

  • Peter Rongsted

    January 24, 2008 at 11:40 am

    If you have enough contrast between the people walking and the background you may be able to crush the whites and blacks together with a levels and a curves effect. Thus trying to create a luma matte.
    May not work if the quality is too poor, but worth a try.

  • Kevin Camp

    January 24, 2008 at 3:57 pm

    i’m pretty sure i read a few rotoscoping tutorials here that may be the best way to go for bad footage. i remember they used vector paint to paint a matte to isolate the subject. unfortunately, i can’t get to the tutorials page to find the tutorial(s) i’m thinks of (i’m not sure if it is a firewall problem on my end, or a cow problem).

    i was able to google the cow library and turn up these:

    https://library.creativecow.net/articles/oneil_bill/as_matte.php
    https://library.creativecow.net/articles/kurkoski_tim/paint_to_mask.php

    hopefully you can get to the tutorials page to see if these may help you. one of the ones i was thinking was working with sports footage, if that helps.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Per Ottesen

    January 24, 2008 at 8:11 pm

    Thank’s A LOT to those inspiring suggestions and links, I’ll study and try them out in the weekend.

  • William Macbillston

    July 11, 2013 at 4:55 pm

    Kevin Camps advice worked perfectly for me, as I had the same issue with a black background I needed to make ‘transparent’ for compositing.
    thanks man!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy