This is an open-source library based on the FFmpeg library. It can help you quickly get video and audio streams on C3V. It wraps some FFmpeg functions in an API to simplify the development process.
You can use it directly as a lib, or you can use it as a collection of FFmpeg sample code, and refer to its source code to implement the functions you want.
...