开发者

ffmpeg: How do I loop audio when encoding video? [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question 开发者_如何学C

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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜