You can use libavcodec for A / V manipulation. This is a C-based API, so it will look different than the rest of your code, but it will work fine. However, the documentation is sparse.
If you're not targeting iOS devices, Quicktime still exists.
If you're targeting iOS devices, the new AVFoundation can help you.
source share