Combine audio & video of different length

  1. Long audio & shortvideo:
ffmpeg -i Downloads/pooja_updated.mp4 -i aum.opus -map 0:v:0 -map 1:a:0 -c:v copy -shortest -y output3.mp4
  1. Long video & short audio:
ffmpeg -stream_loop -1 -i Downloads/pooja.mp4 -i aum.opus -shortest -map 0:v:0 -map 1:a:0 -y output-pooja.mp4