samvera-labs / active_encode

Declare encode job classes that can be run by a variety of encoding services
Other
6 stars 8 forks source link

Allow adapters to be an instance which is configured #43

Open tpendragon opened 5 years ago

tpendragon commented 5 years ago

Right now for ffmpeg I have to pass options as part of the create call, which means that if I switch adapters I have to change all instances of create which kind of defeats the purpose of adapters. I wonder if there's a way I can configure an adapter and register it or something so I can just change what that short-name refers to if I change my adapter?

cjcolvar commented 5 years ago

This is a good idea but a different code architecture. I'll have to think about this one some more.