Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Auto Crop Black from Live Video?

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
User avatar
shermanpat
Posts: 122
Joined: 21 Feb 2012, 22:03
Location: SLC Ut USA

Auto Crop Black from Live Video?

Post by shermanpat » 03 Oct 2013, 21:40

Looking to auto crop black from a video input. As in remove letter boxed blacks from a video input. Can anyone point me to the nodes I should be working with?

I was thinking do some edge detection but didn't see how to get the value of where the edge is.
Find find first non black pixel from each edge of the input. Just not sure what node would test specific pixels of a texture.

I need to crop the area not just make it transparent, also need to have some Data that will tell me if it is cropping or not.

Also looking to find a predefined marker on the video input. This might also be able to use pre-defined cropping styles needed for each video feed.

Thanks.
-Sherman
Meru Interactive

Christian Krix Schmidt
Posts: 290
Joined: 18 Jan 2012, 11:36
Location: Dubai, United Arab Emirates
Contact:

Re: Auto Crop Black from Live Video?

Post by Christian Krix Schmidt » 03 Oct 2013, 21:50

I think that is something Ventuz4 will let you do with a small Shader. I saw a shader example a while back - I think Karol posted it - that showed live video being accessed and processed in a Shader.

User avatar
shermanpat
Posts: 122
Joined: 21 Feb 2012, 22:03
Location: SLC Ut USA

Re: Auto Crop Black from Live Video?

Post by shermanpat » 03 Oct 2013, 23:24

*goes digging around in karols posts*
-Sherman
Meru Interactive

chriss0212
Posts: 666
Joined: 18 Jan 2012, 20:56
Location: wuppertal
Contact:

Re: Auto Crop Black from Live Video?

Post by chriss0212 » 04 Oct 2013, 19:08

not the best...but maybe this?

greetz

christian
Attachments
LumaKey.vza
(1.61 MiB) Downloaded 293 times

chriss0212
Posts: 666
Joined: 18 Jan 2012, 20:56
Location: wuppertal
Contact:

Re: Auto Crop Black from Live Video?

Post by chriss0212 » 06 Oct 2013, 08:00

oh...i misunderstood your request...

for this i dont have a solution

greetz

christian

User avatar
ErikB
Posts: 212
Joined: 10 Jan 2012, 12:52

Re: Auto Crop Black from Live Video?

Post by ErikB » 06 Oct 2013, 20:56

Fot this, you will have to write a shader at the very least. You are going to have to do image input processing, i.e. feed the input into a texture, then run a shader on it to detect large areas close to the edge that are black, then determine how far they go. Not trivial to say the least. Nodes alone will not get you there, I am afraid.

User avatar
shermanpat
Posts: 122
Joined: 21 Feb 2012, 22:03
Location: SLC Ut USA

Re: Auto Crop Black from Live Video?

Post by shermanpat » 08 Oct 2013, 17:05

Thanks for the tips. I think it will be a while before i can tackle the shader stuff.
-Sherman
Meru Interactive

Post Reply