Body: <p>multiply should result in a darker image according to <a href="https://www.cairographics.org/operators/" rel="nofollow noreferrer">this website</a>. However every <code>multiply</code> options with input that I'm using resulted in darker <strong>green</strong> videos instead of layering it with colour that I use for layering.</p>
  
  <p>Many people refer that as format issue and resolved by using <code>format=rgba</code> options, however in my case there I'm still stuck.</p>
  
  <p>FFMPEG command :</p>
  
  <pre><code>ffmpeg -i red.jpg -i car.mp4 -y -filter_complex [0][1]scale2ref[a][b];[a]setdar=1/1[c];[b]setdar=1/1[d];[c][d]blend=all_mode=multiply:all_opacity=1[out];[out]eq=contrast=2:brightness=0.5[ckv] -map [ckv] output.mp4
  </code></pre>
  
  <p>with <code>format=rgba</code></p>
  
  <pre><code>ffmpeg -i red.jpg -i car.mp4 -y -filter_complex [0][1]scale2ref[a][b];[a]setdar=1/1[c];[b]setdar=1/1,format=rgba[d];[c][d]blend=all_mode=multiply:all_opacity=1[out];[out]eq=contrast=2:brightness=0.5[ckv] -map [ckv] output.mp4
  </code></pre>
  
  <p>assets in case someone want to try it.
  - <a href="https://i.ibb.co/smSGGwW/red.jpg" rel="nofollow noreferrer">Images</a>
  - <a href="https://www.pexels.com/video/car-driving-along-the-dessert-highway-1572342/" rel="nofollow noreferrer">Videos</a></p>
  
  <p>FFMPEG version 4.1</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-28T06:27:52.587Z
Comments.Text: Do you want to overlay a red tint on the video?
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-28T07:44:57.930Z
Comments.Text: Yes exacly. I want to overlay it with blend mode multiply,
Comments.UserDisplayName: mandaputtra
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-28T08:02:47.397Z
Comments.Text: If you want a tint, don't use mode multiply, use mode overlay.
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-28T08:38:46.443Z
Comments.Text: Shame on me, I just wanna try to replicate photoshop effect with multiply, so multiply on photoshop doesn't have the same effect in FFmpeg? HTML Canvas behave same like photoshop does
Comments.UserDisplayName: mandaputtra
Tags: <ffmpeg><filter>
Title: ffmpeg - get green overlay instead of red when using multiply?
UserDisplayName: mandaputtra
ThreadText: # ffmpeg - get green overlay instead of red when using multiply?
  
  (Asked by: username_0 on 2019-05-28)
  
  multiply should result in a darker image according to [this website](https://www.cairographics.org/operators/). However every `multiply` options with input that I'm using resulted in darker **green** videos instead of layering it with colour that I use for layering.
  
  Many people refer that as format issue and resolved by using `format=rgba` options, however in my case there I'm still stuck.
  
  FFMPEG command :
  
  ```
  ffmpeg -i red.jpg -i car.mp4 -y -filter_complex [0][1]scale2ref[a][b];[a]setdar=1/1[c];[b]setdar=1/1[d];[c][d]blend=all_mode=multiply:all_opacity=1[out];[out]eq=contrast=2:brightness=0.5[ckv] -map [ckv] output.mp4
  
  ```
  
  with `format=rgba`
  
  ```
  ffmpeg -i red.jpg -i car.mp4 -y -filter_complex [0][1]scale2ref[a][b];[a]setdar=1/1[c];[b]setdar=1/1,format=rgba[d];[c][d]blend=all_mode=multiply:all_opacity=1[out];[out]eq=contrast=2:brightness=0.5[ckv] -map [ckv] output.mp4
  
  ```
  
  assets in case someone want to try it.
  - [Images](https://i.ibb.co/smSGGwW/red.jpg)
  - [Videos](https://www.pexels.com/video/car-driving-along-the-dessert-highway-1572342/)
  
  FFMPEG version 4.1
  
  **Tags:** ffmpeg, filter
  
  > **Comments:**
  > **username_1**: Do you want to overlay a red tint on the video?  
  > **username_0**: Yes exacly. I want to overlay it with blend mode multiply,  
  > **username_1**: If you want a tint, don't use mode multiply, use mode overlay.  
  > **username_0**: Shame on me, I just wanna try to replicate photoshop effect with multiply, so multiply on photoshop doesn't have the same effect in FFmpeg? HTML Canvas behave same like photoshop does  
  
  ---
  
  ## 0 answers
  
  