Log in

View Full Version : live streaming video and how to blur/mark watermark/logo?


mpatzouri
18th January 2014, 21:40
hi to all the experts out here.after some research i found out that avisynth might help me to do what i want as i want to blur or mark a logo/watermark from a live video streaming that appears on different positions on the screen.i capture a card and then stream it.is any editor that can work with avisynth and what is the best to do on that?
please if you think you cant write pm me
thanks in advance

johnmeyer
18th January 2014, 22:14
I'm not entirely clear what you want to do. Delogo in VirtualDub can remove a logo (a.k.a. network "bug").

mpatzouri
19th January 2014, 09:45
I'm not entirely clear what you want to do. Delogo in VirtualDub can remove a logo (a.k.a. network "bug").

i captrure a satellite card with pci card and then stream it.how i can blur a logo that pops up when the video is live?
this is what i want to do

johnmeyer
19th January 2014, 18:58
i captrure a satellite card with pci card and then stream it.how i can blur a logo that pops up when the video is live?
this is what i want to doIf it is in the same place every time, then you could capture the logo, crop so just the logo is visible, and save that. Then, crop the video and use one of Stainless' compare functions to compare the cropped version of the video to the logo you saved. Then, when the compare metric shows that the current cropped video is almost the same as what you've saved, apply a blur function to that area.

Stainless has a lot of very interesting compare functions, and you might be able to use these to create a more generic function that would look for areas of the screen than don't change for "n" number of frames. You would define the size of the area and the duration required for the function to determine that an area hasn't changed. Once this condition is true, apply a blur filter. This might be able to detect a logo at any location in the video, so it would work on anything, but it also might find things that you don't want blurred.

Sorry that I don't have any code already created for this. However, the big hint here is to look at the functions created by Stainless.

mpatzouri
19th January 2014, 21:37
If it is in the same place every time, then you could capture the logo, crop so just the logo is visible, and save that. Then, crop the video and use one of Stainless' compare functions to compare the cropped version of the video to the logo you saved. Then, when the compare metric shows that the current cropped video is almost the same as what you've saved, apply a blur function to that area.

Stainless has a lot of very interesting compare functions, and you might be able to use these to create a more generic function that would look for areas of the screen than don't change for "n" number of frames. You would define the size of the area and the duration required for the function to determine that an area hasn't changed. Once this condition is true, apply a blur filter. This might be able to detect a logo at any location in the video, so it would work on anything, but it also might find things that you don't want blurred.

Sorry that I don't have any code already created for this. However, the big hint here is to look at the functions created by Stainless.
logo appears in different positions at the time.the system working like this capture card---streaming.
i want something that will edit and then give rtmp or http output source

mpatzouri
20th January 2014, 18:22
does anyone know which program i can combine avisynth so will work?like adobe media effects for example or any other program?
regards

johnmeyer
20th January 2014, 19:01
does anyone know which program i can combine avisynth so will work?like adobe media effects for example or any other program?
regardsYou sent this same question to me via PM. There is no need to do that. Please post your questions only here in the forum.

The following is what I sent to you, before I realized that you had also posted here.
----------------------------
I don't understand what you mean by "work for example with Adobe Media Effect or any other program to edit videos." AVISynth is not a plugin like Boris FX, Magic Bullet, Plural Eyes, ProDad Mercalli, NewBlueFX, etc. Since it is not a plugin, AVISynth does not work inside of other programs (like Adobe Premiere, Adobe After Effects, Sony Vegas, etc.) but instead requires that you supply a video in the form of a file (or a frameserved stream), and then it outputs a frameserved stream (in the form of the AVS signpost that is installed inside of Windows) that can be opened up by some, but not all, video applications.

So, if Media Effects can read the AVISynth AVS file directly (in other words, open the AVS file just like it was a video file, the way that VirtualDub can do), then you can make your workflow simpler. The only way to know is to try: create a simple AVISynth script and then see if Media Effects can open it.

poisondeathray
20th January 2014, 19:15
He probably means "Adobe After Effects", not "Adobe Media Effect"

You can open up any .avs script in any Windows program using Avisynth Virtual File System (AVFS)

But what you want to do is probably impossible since the logo isn't in the same location, and you want to do this live and realtime streaming