Jump to content

[Suggestion] video code refactor


eezstreet

Recommended Posts

I suggest we refactor the video code to be in rd-common, and load different formats other than .ROQ for the cinematics. The idea is that the video loader would operate similar to the way the image code is done, with something like:

static const videoLoader_t [] = {
    {"roq", OpenROQ, StreamROQ, CloseROQ},
    {"mpeg", OpenMPEG, StreamMPEG, CloseMPEG},
    {"mov", OpenMP4, StreamMP4, CloseMP4},
    {"avi", OpenAVI, StreamAVI, CloseAVI},
};

I realize that most of these formats are container formats, so I suggest we use libavcodec, which is LGPL (compatible with GPLv2/3, yes?)

 

arbitrary tags @@Xycaleth @@Raz0r @@ensiform

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...