title: Add video endscreen before the video ends 30 seconds use ffmpeg
body: <p>I have 1 video viral and 30 video for fun. They have different durations.How to overlay &quot;Video Viral&quot; intro end 30 video ( before the video ends 30 seconds )</p>
  <p>example image below:</p>
  <p><a href="https://i.stack.imgur.com/mjQCv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mjQCv.png" alt="enter image description here" /></a></p>
  <p>Please give me a solution using ffmpeg and ffprobe in one line cmd</p>