Combine Video and Audio Streams (Qt, OpenCV, PortAudio,libsnd?)
Question
I was wondering, how would I combine recorded audio and video into one if I have them in separate files? Preferably using OpenCV and PortAudio/libsnd.
Thanks in advance.
Solution
FFmpeg is used to decode and encode almost all popular formats. It can be used as an alternative to all of these. PortAudio will probably only be useful for audio playback, so unless you need to play the stuff back it won't be needed. In case you do need A/V playback, FFmpeg is also good (VLC uses it.)
OTHER TIPS
You can refer ffmpeg
On linux try mencoder usually part of the mplayer package. It is fairly straight forward to use after reading through its man page.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow