-
-
Notifications
You must be signed in to change notification settings - Fork 75
Adding a new Encoder Panel (For Python Devs)
Chris Griffith edited this page Apr 2, 2022
·
1 revision
For those brave python devs that want to contribute. Here is a quick checklist of things that need to happen (probably more as well, but quick starting point.)
- Copy existing encoder folder in
fastflix/encodersto new folder - Change name in the new
main.py - Change class name in
settings_panel.py - change linkage at bottom of
main.pyto match new folder and class name - Create new dataclass for settings in fastflix/models/encode.py
- Set
namein new dataclass to be same new name inmain.py - Change settings in setting_panel as needed, link to new dataclass in
update_video_encoder_settings - Add new dataclass to optional list in
Profilein fastflix\models\profiles.py using thenamein the setting panel class - Add new dataclass to list in VideoSettings video_encoder_settings under fastflix\models\profiles
- Add that same name to setting_types in fastflix/models/encode
- Completely re-write the new command_builder to fit the new setting_panel
- Add translations
This Wiki is a Work In Progress