Ifyou are a programmer (or want to become a programmer), and are interested indeveloping new features, fixing bugs, or improving the user interface for OpenShot,the following sections will explain how to get started and get involved!
However, many bugs can be fixed and new features added with only Python knowledge, since the C++components are not involved in the user interface at all. Python is an amazing language, andis super fun to learn, and is the only prerequisite skill needed to become an OpenShotdeveloper!
The instructions that follow are for Ubuntu Linux,which is the easiest environment to configure for OpenShot development.If you are using another OS,I suggest running a virtual machine with Ubuntu LTS before continuing any further.
If you must use a Windows or Mac system for development,start by referring to the build notes in the libopenshot wiki.Building the library with all of its dependencies is the most challenging part of the process.
In order to actually compile or run OpenShot, we need to install some dependencies on your system. Theeasiest way to accomplish this is with our Daily PPA. A PPA is anunofficial Ubuntu repository, which has our software packages available to download and install.
At this point, you should have all 3 OpenShot components source code cloned into local folders, the OpenShotdaily PPA installed, and all of the required development and runtime dependencies installed. This is agreat start, and we are now ready to start compiling some code!
Essentially, we are switching to the libopenshot/build folder,then running cmake .. on the parent folder.This finds dependencies and creates all the needed Makefiles used to compile this library.Then make uses those Makefiles to compile this library.Because we provided the location of our compiled libopenshot-audio installation,that version of the library will be used instead of the system version (if any).
This is our main PyQt Python application.Because it is written in Python, it does not require any compiling to run.To launch OpenShot from the source code with our newly-builtlibopenshot-audio and libopenshot libraries, use the following commands:
Now that you have successfully compiled and launched OpenShot Video Editor from source code,be sure to check out our list of bug reports on GitHub: OpenShot Issues.Also, you are encouraged to fill out our quick contributor formand introduce yourself!
Once you have fixed a bug or added an amazing new feature, be sure to share it with the OpenShot team.Ideally, we can merge this into our main source code branch.The easiest way to share your changes is by creating a fork of our repo,pushing your changes back to GitHub, and creating a Pull Request.A Pull Request lets the OpenShot team know you have changes ready to be merged.Then we can review things, give feedback, and hopefully merge your changes into the main branch.
3a8082e126