ffmpeg: How do I loop audio when encoding video? [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question 开发者_如何学CI'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?
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.
精彩评论