<p>I found one solution in cropping the video, turning it into black and white and then putting this as an overlay on itself.</p>
<pre><code>ffmpeg -y -i &quot;input.ts&quot; -filter_complex &quot;[0] crop=57:57:79:39 [cr];[cr] hue=s=0 [cr2];[0][cr2] overlay=79:39&quot; -map &quot;[cr2]&quot; -vcodec h264_qsv -b:v  12300k output.ts
</code></pre>

CC BY-SA 4.0
2021-04-07T04:13:09.377Z
This is the standard way to do it.
Gyan
CC BY-SA 4.0
2021-04-06T20:34:53.760Z
2021-04-06T20:34:53.760Z
576i
<p>a TV station I watch has a very distracting logo, which is a semi transparent red square.</p>
<p><a href="https://i.sstatic.net/H2cEX.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/H2cEX.png" alt="enter image description here" /></a></p>
<p>I can cover up the logo with the delogo filter like this: (Alas this introduces new distractions.)</p>
<pre><code>ffmpeg -y -i input.TS -vf delogo=x=79:y=36:w=57:h=57:show=0 -t 120 -vcodec h264_qsv -b:v  12300k output.ts
</code></pre>
<p>Is there a way to use ffmpeg to <strong>remove only the color</strong> from the <strong>area of the logo</strong>?</p>
<p>Because if it was just gray, it wouldn't be that distracting and taking out the color would not introduce flickering artefacts.</p>

<ffmpeg>
Using ffmpeg, can I remove the color from an area of the video
576i
# Using ffmpeg, can I remove the color from an area of the video

(Asked by: username_0 on 2021-04-06)

a TV station I watch has a very distracting logo, which is a semi transparent red square.

I can cover up the logo with the delogo filter like this: (Alas this introduces new distractions.)
ffmpeg -y -i input.TS -vf delogo=x=79:y=36:w=57:h=57:show=0 -t 120 -vcodec h264_qsv -b:v  12300k output.ts

Is there a way to use ffmpeg to remove only the color from the area of the logo?
Because if it was just gray, it wouldn't be that distracting and taking out the color would not introduce flickering artefacts.

**Tags:** ffmpeg


---

## 1 answers

### Answer by username_0 on 2021-04-06. Score: 2 | Accepted answer

I found one solution in cropping the video, turning it into black and white and then putting this as an overlay on itself.
ffmpeg -y -i "input.ts" -filter_complex "[0] crop=57:57:79:39 [cr];[cr] hue=s=0 [cr2];[0][cr2] overlay=79:39" -map "[cr2]" -vcodec h264_qsv -b:v  12300k output.ts

> **Comments:**
> **username_1**: This is the standard way to do it.  

---

