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?
相关问题
- Can we recover audio from MFCC coefficients?
- Is there a way to play audio on a mobile browser w
- Improving accuracy of Google Cloud Speech API
- Is it possible to know the duration of an MP3 befo
- Playing specific system sound with Qt
相关文章
- Handling ffmpeg library interface change when upgr
- How to use a framework build of Python with Anacon
- Android Visualizer class throwing runtime exceptio
- c++ mp3 library [closed]
- Passing a native fd int to FFMPEG from openable UR
- FFmpeg - What does non monotonically increasing dt
- Simulate Microphone (virtual mic)
- Android Studio Mediaplayer how to fade in and out
ffmpeg
has the promising-loop_input
flag, but it doesn't support audio inputs yet.I'd recommend
sox
and the-shortest
option forffmpeg
as 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.
A bit late, but I just run into the same problem and managed to do it by using ffmpeg and concatenate filter. Here is an example of how to loop it three times: