Cenoc
Cenoc

Reputation: 11662

Combine Video and Audio Streams (Qt, OpenCV, PortAudio,libsnd?)

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.

Upvotes: 1

Views: 2039

Answers (3)

Michael Chinen
Michael Chinen

Reputation: 18697

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.)

Upvotes: 1

user318904
user318904

Reputation: 3066

On linux try mencoder usually part of the mplayer package. It is fairly straight forward to use after reading through its man page.

Upvotes: 0

Vinay
Vinay

Reputation: 4783

You can refer ffmpeg

Upvotes: 1

Related Questions