Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You could use FFmpeg to add audio to the video you created with OpenCV. I believe the command would look something like the following:

ffmpeg -i <sourceVideoFile> -i <sourceAudioFile> -map 0:0 -map 1:0 -c:v copy -c:a copy <outputVideoFile>

Source: Add sound tracks to a video file with FFmpeg