Video Content Filtration - fingerprint

About encoding, codec settings, muxers and filter usage
hislitermos
Blank Cone
Blank Cone
Posts: 35
Joined: 17 Aug 2013 14:54

Video Content Filtration - fingerprint

Postby hislitermos » 28 Aug 2013 17:26

Hello,

I am running Videolan under Win7 ultimate. I have no problem with streaming or with generating sdp file.
I would like to know how I can filter instant private codes appearing on the screen when stream is started or when any code appearing in any given time.

Thanks in advance
Ermos

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Video Content Filtration - fingerprint

Postby Jean-Baptiste Kempf » 02 Sep 2013 18:06

Sorry, you need to explain what is "instant private codes "
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

hislitermos
Blank Cone
Blank Cone
Posts: 35
Joined: 17 Aug 2013 14:54

Re: Video Content Filtration - fingerprint

Postby hislitermos » 04 Sep 2013 01:12

Sorry, you need to explain what is "instant private codes "
Hello,

"coming up next" phrase which is not sliding or "sliding news" bar at the top/down are instant annotations.

I think below sample screenshots will give you an idea. Blurred region color of logo changes depending on background color of video content. If the background is yellow at that moment, logo color changes to yellow but the video quality becomes blurred inside logo borders.

Those sample screenshots are what i would like to succeed:

http://s1309.hizliresim.com/1f/4/s8k7w.png
http://s1309.hizliresim.com/1f/4/s8k8x.png
http://r1309.hizliresim.com/1f/4/s8k9g.png


What i did :

- created a green rectangular logo.png file in paintbrush
- in vlc tools->effects & filters-> video effects tab -> overlay -> ticked logo -> select the logo.png file -> set the position by changing px parameters

Here is my current status:
http://u1309.hizliresim.com/1f/4/s8ljv.png

How does vlc automatically detect background color and changes logo.png's color in two dimensions (x;y) ?

Thanks in advance
Ermos

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Video Content Filtration - fingerprint

Postby Jean-Baptiste Kempf » 06 Sep 2013 00:14

Did you try the unlogo filter?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

hislitermos
Blank Cone
Blank Cone
Posts: 35
Joined: 17 Aug 2013 14:54

Re: Video Content Filtration - fingerprint

Postby hislitermos » 07 Sep 2013 18:03

Did you try the unlogo filter?
Thanks.
I think what you mean is shown in this video:
http://www.youtube.com/watch?v=1ymv1WkMTqQ
What I need to do is a little bit different. When the background color of video changes, color of logo will be changed automatically. Is this possible with VLC?


Thanks in advance
Ermos

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Video Content Filtration - fingerprint

Postby mederi » 08 Sep 2013 15:36

"erase" video filter.
- in vlc tools->effects & filters-> video effects tab -> overlay -> ticked logo -> select the logo.png file -> set the position by changing px parameters
Tick "[v] Logo erase" that is next to "[ ] Logo" right there.

hislitermos
Blank Cone
Blank Cone
Posts: 35
Joined: 17 Aug 2013 14:54

Re: Video Content Filtration - fingerprint

Postby hislitermos » 08 Sep 2013 23:30

"erase" video filter.
- in vlc tools->effects & filters-> video effects tab -> overlay -> ticked logo -> select the logo.png file -> set the position by changing px parameters
Tick "[v] Logo erase" that is next to "[ ] Logo" right there.
Thank you so much!
That is perfect when I am playing a video.
When I start the stream, it is not appearing. To do this, I tried below code :

Code: Select all

sfilter={marq{marquee=x=300,y=80}:logo{file=C:\Users\pc\Desktop\logo.png}}
What should I put instead of marquee or marq in above line ?


Thanks in advance
Ermos

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Video Content Filtration - fingerprint

Postby mederi » 09 Sep 2013 11:09

Erase video filter
Remove zones of the video using a picture as mask
--erase-mask=<string> Image mask
Image mask. Pixels with an alpha value greater than 50% will be
erased.
--erase-x=<integer [-2147483648 .. 2147483647]>
X coordinate
X coordinate of the mask.
--erase-y=<integer [-2147483648 .. 2147483647]>
Y coordinate
Y coordinate of the mask.
Put

Code: Select all

vfilter=erase{mask="d:\pictures\mask.png",x=10,y=50}
or just

Code: Select all

vfilter=erase
in your transcoding chain in generated stream output string in the GUI (Media > Stream...).

hislitermos
Blank Cone
Blank Cone
Posts: 35
Joined: 17 Aug 2013 14:54

Re: Video Content Filtration - fingerprint

Postby hislitermos » 11 Sep 2013 12:32

thank you soooo much, perfect!!


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 17 guests