1

I'm trying to encode a video with an mp3 and have that audio stream loop while the video stream is still running. The video steam is priority.

I haven't seen commands in ffmpeg that allow this specifically. Does anyone have an idea?

Jason Plank
  • 2,336
  • 5
  • 31
  • 40
Glstunna
  • 1,993
  • 3
  • 18
  • 27
  • Duplicate question : Adding repeated background audio with ffmpeg http://stackoverflow.com/questions/5930296/adding-repeated-background-audio-with-ffmpeg#8017021 – RzR Aug 19 '14 at 15:59

1 Answers1

1

I don't think ffmpeg supports this functionality. As far as I know, you will have to generate your audio loop in a new mp3 file outside of ffmpeg prior to overlaying the audio on your video.

Mansoor Siddiqui
  • 20,853
  • 10
  • 48
  • 67