-
-
Notifications
You must be signed in to change notification settings - Fork 61
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/encoders
to new folder - Change name in the new
main.py
- Change class name in
settings_panel.py
- change linkage at bottom of
main.py
to match new folder and class name - Create new dataclass for settings in fastflix/models/encode.py
- Set
name
in 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
Profile
in fastflix\models\profiles.py using thename
in 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