I used OpenCV under python to record video from a capture device. Two AVI outputs are recorded every hour, at the top of each hour the file names are changed. One of the files is the original capture, and it uses some OpenCV detection features.
As always, everything changes, and you need to record a sound that did not initially cause concern. I am wondering if anyone has any suggestions on how best to do this. The current thought is to record the soundtrack separately with pyaudio, and then use ffmpeg to combine them together after an hour has finished recording, although I have some problems keeping the exact lipync.
I am wondering if anyone has any better ideas on how to do this accurately and without noticeable spaces in the record?
source share