With ffmpeg, I see how to add music file as background for a video, but the problem is how to make the audio loop/repeat. Is there a way out?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
ffmpeghas the promising-loop_inputflag, but it doesn’t support audio inputs yet.I’d recommend
soxand the-shortestoption forffmpegas a solution.The sox command will loop the input, and the ffmpeg command will use it for the audio, but stop when it runs out of video to process.