Answers.Body: <p><code>ffmpeg -i left.mp4 -i right.mp4 -i -filter_complex &quot;[1:v]tpad=start_mode=clone:start_duration=5[rvideo];[1:a]adelay=5s:all=true[raudio];[0][rvideo]hstack[vout];[0:a][raudio]amix[aout]&quot; -map &quot;[vout]&quot; -map &quot;[aout]&quot; output.mp4</code></p>
  <p>You have to manually set the delay of the second (right) video from the 5 seconds in the example.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-02T04:41:08.437Z
Answers.Text: Thanks above works if both videos are of same resolution. How can i concatenate two videos of two different resolutions along with above effect.    Also, I would like to add small  text below the video describing what the video is all about (as seen in sample video link in question) ..  Is all this possible in one command?
Answers.UserDisplayName: user1087474
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-01T21:02:22.093Z
Answers.LastActivityDate: 2022-05-01T21:02:22.093Z
Answers.UserDisplayName: Anonymous
Body: <p>I have two videos, that i want to concatenate side by side but second one should play after the first one. If the video is not playing, thumbnail should be shown</p>
  <p>Below is the example that i want to achieve using ffmpeg <a href="https://twitter.com/sunmor2901/status/1520024861619658752" rel="nofollow noreferrer">https://twitter.com/sunmor2901/status/1520024861619658752</a></p>
  
Tags: <ffmpeg>
Title: Stack two videos side and side but play one after another. Show thumbnail when not playing
UserDisplayName: user1087474
ThreadText: # Stack two videos side and side but play one after another. Show thumbnail when not playing
  
  (Asked by: username_0 on 2022-05-01)
  
  I have two videos, that i want to concatenate side by side but second one should play after the first one. If the video is not playing, thumbnail should be shown
  
  Below is the example that i want to achieve using ffmpeg <https://twitter.com/sunmor2901/status/1520024861619658752>
  
  **Tags:** ffmpeg
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-05-01. Score: 1 | Accepted answer
  
  `ffmpeg -i left.mp4 -i right.mp4 -i -filter_complex "[1:v]tpad=start_mode=clone:start_duration=5[rvideo];[1:a]adelay=5s:all=true[raudio];[0][rvideo]hstack[vout];[0:a][raudio]amix[aout]" -map "[vout]" -map "[aout]" output.mp4`
  
  You have to manually set the delay of the second (right) video from the 5 seconds in the example.
  
  > **Comments:**
  > **username_0**: Thanks above works if both videos are of same resolution. How can i concatenate two videos of two different resolutions along with above effect.    Also, I would like to add small  text below the video describing what the video is all about (as seen in sample video link in question) ..  Is all this possible in one command?  
  
  ---
  
  