Body: <p>I have two videos of 1 minute each one. I would like to start the second video at the 50 seconds of the first one.</p>
  <p>Then I would like to decrease the opacity of the first video from 100% to 0 in the 50-60 seconds range, and to increase the opacity of the second video from 0 to 100% in the same range.</p>
  <p>Is this possible with ffmpeg?</p>
  <p>If yes, could you give me a code for that?</p>
  <p>Thank you</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-02T07:49:07.600Z
Comments.Text: This is a crossfade. Use the xfade filter - http://www.ffmpeg.org/ffmpeg-filters.html#xfade.
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-11T15:16:03.277Z
Comments.Text: Thank you, it is solved
Comments.UserDisplayName: meaning
Tags: <ffmpeg><video>
Title: ffmpeg - sweeping opacity
UserDisplayName: meaning
ThreadText: # ffmpeg - sweeping opacity
  
  (Asked by: username_0 on 2021-08-01)
  
  I have two videos of 1 minute each one. I would like to start the second video at the 50 seconds of the first one.
  
  Then I would like to decrease the opacity of the first video from 100% to 0 in the 50-60 seconds range, and to increase the opacity of the second video from 0 to 100% in the same range.
  
  Is this possible with ffmpeg?
  
  If yes, could you give me a code for that?
  
  Thank you
  
  **Tags:** ffmpeg, video
  
  > **Comments:**
  > **username_1**: This is a crossfade. Use the xfade filter - http://www.ffmpeg.org/ffmpeg-filters.html#xfade.  
  > **username_0**: Thank you, it is solved  
  
  ---
  
  ## 0 answers
  
  