Skip to content

How to pixelate/ hide certain regions of a camera stream? #715

Answered by hydroid7
hydroid7 asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for the suggestion, I've tried it with crop, but then I get strange artifacts on my stream. I assume it is because of the changed resolution.
Instead you can use drawbox:

video_filters:
  - drawbox=x=0:y=0:w=1920:h=200:color=black@1:t=fill
  - drawbox=x=50:y=200:w=800:h=600:color=black@1:t=fill

and it works well. You can even apply it multiple times to black out certain non-rectangular areas.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@roflcoopter
Comment options

@hydroid7
Comment options

Answer selected by hydroid7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants