How to combine The video and audio files in ffmpeg-python
问题 I'm trying to combine a video(with no sound) and its separate audio file I've tried ffmpeg ffmpeg -i video.mp4 -i audio.mp4 -c copy output.mp4 and it works fine. i'm trying to achieve the same output from ffmpeg-python but with no luck. Any help on how to do this? 回答1: I had the same problem. Here is the python code after you have pip install ffmpeg-python in your environment: import ffmpeg input_video = ffmpeg.input('./test/test_video.webm') input_audio = ffmpeg.input('./test/test_audio.webm