<p>The video format should be changed to rgb by adding format=gbrp before blending, i.e. the filter_complex command should read:</p>
<pre><code>[0:v]format=gbrp[a];[a][1:v]overlay=x=main_w-overlay_w-(main_w*0.011):y=main_h*0.02
</code></pre>

CC BY-SA 4.0
2024-05-08T17:57:28.507Z
2024-05-08T17:57:28.507Z
SkepticaLee
<p>I ran into such a problem with hls streaming, adding filters to the overlay logo, but it was smeared with pink and green stripes. Has anyone come across this.</p>
<p><code>ffmpeg -f concat -safe 0 -re -i &lt;(for f in *.mp4; do echo &quot;file '$PWD/$f'&quot;; done) \ -i /opt/metal-country_ru/logo-full.png \ -filter_complex &quot;[0:v][1:v]overlay=x=main_w-overlay_w-(main_w*0.011):y=main_h*0.02&quot; \ -f hls -hls_time 4 -hls_playlist_type event /opt/metal-country_ru/live/stream.m3u8\</code><a href="https://i.sstatic.net/XFlfq.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/XFlfq.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2023-07-28T06:50:59.257Z
Does the overlay look like that throughout the output video?
Gyan
CC BY-SA 4.0
2023-07-30T02:05:46.603Z
"Does the overlay look like that throughout the output video?"
YES
Metal-Country
CC BY-SA 4.0
2023-07-30T04:16:22.817Z
Add -report and rerun for a few seconds. Verify output has the issue, and share report.
Gyan
<ffmpeg><streaming><hls>
Pink and green color on overlay logo
Metal-Country
# Pink and green color on overlay logo

(Asked by: username_0 on 2023-07-27)

I ran into such a problem with hls streaming, adding filters to the overlay logo, but it was smeared with pink and green stripes. Has anyone come across this.

`ffmpeg -f concat -safe 0 -re -i <(for f in *.mp4; do echo "file '$PWD/$f'"; done) \ -i /opt/metal-country_ru/logo-full.png \ -filter_complex "[0:v][1:v]overlay=x=main_w-overlay_w-(main_w*0.011):y=main_h*0.02" \ -f hls -hls_time 4 -hls_playlist_type event /opt/metal-country_ru/live/stream.m3u8\`[![enter image description here](https://i.sstatic.net/XFlfq.png)](https://i.sstatic.net/XFlfq.png)

**Tags:** ffmpeg, streaming, hls

> **Comments:**
> **username_1**: Does the overlay look like that throughout the output video?  
> **username_0**: "Does the overlay look like that throughout the output video?" YES  
> **username_1**: Add -report and rerun for a few seconds. Verify output has the issue, and share report.  

---

## 1 answers

### Answer by username_2 on 2024-05-08. Score: 0

The video format should be changed to rgb by adding format=gbrp before blending, i.e. the filter_complex command should read:
[0:v]format=gbrp[a];[a][1:v]overlay=x=main_w-overlay_w-(main_w*0.011):y=main_h*0.02


---

