extract moving object from video?

EarthGuest wrote on 4/8/2019, 10:51 PM

Hi there=)

I was wondering if someone here knows how to:

 

Remove a moving object from a video so that one can use the extracted object in another video..

 

example: a video of a cat walking around in my living room - How can i "extract" the cat from the "living room" scene and put it in another scene? (basically isolate the cat and turn everything around it into a chroma key green) - (so the end result is just the cat walking around with a green background)

 

Thanks for your help=)

Comments

EricLNZ wrote on 4/8/2019, 11:30 PM

It's possible but likely difficult and time consuming. You need to create a mask accurately to the cat's outline. This will be hard as cat's have fur and whiskers. So there's not a sharp outline. As your cat is moving its position and shape, angle etc will change. Whilst you can use motion tracking with a bezier mask to track movement you will still need to adjust the mask shape to follow changes in the cats outline. You will probably need to do this frame by frame. Consequently very time consuming.

Maybe there's a better quicker way if you have an easy background and can play with Chroma Keyer FX to remove it or even play around with Mask Generator FX.

Dimitrios wrote on 4/8/2019, 11:42 PM

This would require rotoscoping. This is a difficult process that requires complex masking. There is some software out there that can make it a little easier but not matter what the case it's not. If you have Movie studio 16 you would have access to the Bezier mask and you might be able to get some magic to happen with the curve setting if you are very patient. If you don't have 16 then you only have access to the shapes in the cool cutter. Outside of masking sometimes you can eliminate portions of the background through chroma keying. You can drop as many chroma key effects on a clip, and if the cat is drastically different in color from the environment you could wind up eliminating huge swaths of it. You can also try a luminence key which I believe vegas has with the mask generator, so lets say the cat is black and the floor is white you may be able to eliminate the floor by keying out lighter. I'm not real sure about that last part as I usually use 3rd party plugins for luminence keying. After Effects has a tool called the rotobrush which makes this process easier but still difficult.

EarthGuest wrote on 4/9/2019, 12:06 AM

Hi peepu=)

Thanks for your constructive and helpful input=)

 

Rotoscoping eh? frame by frame mmh? cat hair and fur ay? :P

 

Sounds like a 10 second clip could need weeks of work - and still turn out like crap..lol...

 

It would be nice if there was a "rotoscoping" tool that automatically attempts to find the edges of an object in a mask and then utilizes motion tracking to advance the objects mask automatically....

 

something like:

>click vegas dynamic rotoscoper

>roughly circle around the object with mouse

> click "find edges"

>minimally fine tune the edge manually at that one hard to see place

> click in " track" checkbox

> press extract to new video track button

> done.

 

 

Should be easy to accomplish for computers (with the correct algo) , no?

Would be a good tool to add in Vegas me thinks....

 

-> Until it is added in Vegas-> can you reccomend any third party tool?

 

Thanks a lot guys n gals=)

 

 

 

 

 

 

Dimitrios wrote on 4/9/2019, 12:45 AM

EarthGuest wrote on 4/9/2019, 1:23 AM

opa! that looks pretty good! thanks for the pointer, Dimitrios=)

it would be nice to have that tool in vegas too!

(I cannot afford greedobe products - Subscription services are clearly digital slavery... everybody with eyes to see can see this...)

They should make a "commercial cloud" license for the industry and a normal license for personal use...

*Adobe achieved a quarterly revenue of $2.46 billion in 2018* How much more do they need? How much is enough? Seems that the moloch's stomach is deeper than the deepest abyss... so yeah, greedgreedgreed, moremoremore.... F*ç" the pennyless artist with the creative heart... We need more and more and more advertising dollars and more this and more that... more more!! *licks lips and grunts like a pig* oink oink squeeeeee, squeeee! more money more more!! oink oink! - nice software though:P

I use Gimp instead of photoshop too.. - It works really nicely for my uses...

 

Anywho, Thanks magix (and others like you) for being so cool in this phoney world=) - Seems that you still care for the arts and the artists that weren't born with a golden spoon up their ass=)

-> psst, psssst, and check out that roto thingie thing;)

 

(off topic- I am actually a music guy... magix music maker v1 and propellerheads rebirth was my first "bought" music software in the mid 90's lol - it was a different time... cracked stuff came from people you knew on cds (the internet was way to slow then (a 33.6k dial-up modem was pretty much the fastest speed at that time..lol ) shout out to radium:P ;) - Anywho, I have no more cracked software on my machines... but all this greed and subscription crap actually made me think about it again for a second..lol)

 

Dimitrios wrote on 4/9/2019, 11:41 PM

A lot of people hate adobe. I hate adobe, I only begrudgingly started to learn AE and also might begrudgingly learn premiere since a lot of work out there demands you use the adobe suite. I use gimp too, and krita check it out its free image editing too but with more of a focus on drawing. It has a cool symmetry tool that useful for making things like score boards. When apple abandoned final cut pro and started final cut pro x is really when adobe moved in and started their shenanigans. But with some serious competition from blackmagic and who knows maybe Vegas Post will make some waves they may become more consumer friendly.

 

EarthGuest wrote on 4/10/2019, 11:38 AM

Hi Dimitrios=)

Oh, I don't hate adobe per se - their products are top notch and I am sure that there are a lot of talented people over there... I would not mind the product suite myself (with perpetual licenses that is) - I just do not care too much about the "bad apples" in some companies leaderships...... Their goal is not real progress, but the progression of profit...

-Breathe in ... Let go... Move on...

->Krita is really nice, thanks for the tip =) Looks like great software by a good bunch of artists etc=)

-> Vegas post eh? Wish you lots of success=)

 

 

 

 

Eagle Six wrote on 4/10/2019, 12:24 PM
P.S. Since I could go on for many years about all of this - with first hand experience, insight and knowledge, I will edit this post once you have read it... and remove my "sidetracked" thoughts because , you know, they could go on forever in truths.. I do not wish to influence anybodys journey in a possibly negative way...

You can always send a private message....

System Specs......
Corsair Obsidian Series 450D ATX Mid Tower
Asus X99-A II LGA 2011-v3, Intel X99 SATA 6 Gb/s USB 3.1/3.0 ATX Intel Motherboard
Intel Core i7-6800K 15M Broadwell-E, 6 core 3.4 GHz LGA 2011-v3 (overclocked 20%)
64GB Corsair Vengeance LPX DDR4 3200
Corsair Hydro Series H110i GTX 280mm Extreme Performance Liquid CPU Cooler
MSI Radeon R9 390 DirectX 12 8GB Video Card
Corsair RMx Series RM750X 740W 80 Plus Gold power pack
Samsung 970 EVO NVMe M.2 boot drive
Corsair Neutron XT 2.5 480GB SATA III SSD - video work drive
Western Digitial 1TB 7200 RPM SATA - video work drive
Western Digital Black 6TB 7200 RPM SATA 6Bb/s 128MB Cache 3.5 data drive

Bluray Disc burner drive
2x 1080p monitors
Microsoft Window 10 Pro
DaVinci Resolve Studio 16 pb2
SVP13, MVP15, MVP16, SMSP13, MVMS15, MVMSP15, MVMSP16

Dimitrios wrote on 4/10/2019, 12:45 PM

It's cool, I don't mean I or other hate adobe software, I hate their pricing structures which are not consumer friendly unless you are a photographer or a student. This is why I hate them.

FayFen wrote on 4/11/2019, 1:27 AM

or this

EricLNZ wrote on 4/11/2019, 7:12 PM

or this

Looks impressive but I wonder how it would cope with the cat's whiskers!

FayFen wrote on 4/12/2019, 12:03 AM

or this

Looks impressive but I wonder how it would cope with the cat's whiskers!

Eric, you know as well as I do that demos always work better than real life situations...

* There is a limit to what a sub 100$ software can do.