Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/videomorph-dev/videomorph
A user-friendly Video Converter based on FFMPEG and written in Python/PyQt5.
https://github.com/videomorph-dev/videomorph
ffmpeg ffmpeg-wrapper gui pyqt5 python3 qt5 transcoding video-converter video-processing
Last synced: about 2 months ago
JSON representation
A user-friendly Video Converter based on FFMPEG and written in Python/PyQt5.
- Host: GitHub
- URL: https://github.com/videomorph-dev/videomorph
- Owner: videomorph-dev
- License: apache-2.0
- Created: 2018-07-27T13:12:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-04T21:59:34.000Z (12 months ago)
- Last Synced: 2024-07-31T20:43:59.585Z (5 months ago)
- Topics: ffmpeg, ffmpeg-wrapper, gui, pyqt5, python3, qt5, transcoding, video-converter, video-processing
- Language: Python
- Homepage: https://videomorph-dev.github.io/videomorph/
- Size: 13.4 MB
- Stars: 92
- Watchers: 9
- Forks: 21
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: changelog
- License: LICENSE
Awesome Lists containing this project
- cuban-opensource - VideoMorph
README
# VideoMorph
![Building](https://github.com/videomorph-dev/videomorph/workflows/Building/badge.svg)
[![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)
[![Maintainability](https://api.codeclimate.com/v1/badges/5f6cd3f7c20bccee2065/maintainability)](https://codeclimate.com/github/videomorph-dev/videomorph/maintainability)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/videomorph-dev/videomorph/pulls)**VideoMorph** is a **video converter** based on [ffmpeg](http://ffmpeg.org), and written with [Python](https://python.org) 3, and [PyQt5](https://www.riverbankcomputing.com/static/Docs/PyQt5/introduction.html). With VideoMorph you can convert your favorite videos to the currently more popular video formats, like **MPG**, **MP4**, **AVI**, **WEBM**, **DVD**, **VCD**, **FLV**, **MOV**, **OGV**, **WMV**, **MKV** and also extract the audio to a file with **MP3** or **OGA** formats.
VideoMorph is a video converter, just that. Consists on a GUI wrapper for [Ffmpeg](http://ffmpeg.org), based on general ideas from [python-video-converter](https://github.com/senko/python-video-converter), and presets idea from [QWinFF](http://qwinff.github.io). If you're looking for a video editor, we're sorry but VideoMorph isn't for you.
- [VideoMorph](#videomorph)
- [GUI Screenshot](#gui-screenshot)
- [Requirements](#requirements)
- [Installation](#installation)
- [Installing From the Binary Packages](#installing-from-the-binary-packages)
- [On GNU/Linux](#on-gnulinux)
- [On Windows](#on-windows)
- [Installing Form the Source Packages](#installing-form-the-source-packages)
- [On GNU/Linux](#on-gnulinux-1)
- [On Windows](#on-windows-1)
- [Using Portable Editions (if available)](#using-portable-editions-if-available)
- [How to Contribute to the Source](#how-to-contribute-to-the-source)
- [Setting up the Development Environment](#setting-up-the-development-environment)
- [Commits](#commits)
- [Internal Contributions Procedure](#internal-contributions-procedure)
- [External Contributions Procedure](#external-contributions-procedure)
- [Branch Naming Conventions](#branch-naming-conventions)
- [Coding, and Docstrings Style](#coding-and-docstrings-style)
- [Commit Messaging Style](#commit-messaging-style)
- [Licensing](#licensing)
- [Authors and Contributors](#authors-and-contributors)
- [Copyright](#copyright)## GUI Screenshot
![Screenshot](screenshot.png)
## Requirements
VideoMorph uses the following libraries and programs:
- [PyQt](https://www.riverbankcomputing.com/static/Docs/PyQt6/introduction.html)
- [FFmpeg](http://ffmpeg.org)
- [Python](https://python.org) > 3.4You need to install these programs and libraries for VideoMorph to work properly.
On Windows systems, you also need:
- [setuptools](https://pypi.python.org/pypi/setuptools)
## Installation
You can install and use VideoMorph on GNU/Linux and on Windows systems. There are several ways you can use to install the application. Let's take a look at them. We haven't tried properly **yet** on macOS :-|
### Installing From the Binary Packages
If you're using GNU/Linux or Windows, then you can install VideoMorph by using the appropriate binary package for your system.
#### On GNU/Linux
You can install VideoMorph on Debian/Ubuntu and derivatives by running the following steps:
1. Download the `.deb` package
2. Open a terminal, and run the following commands as **root** or using **sudo**:
```sh
$ sudo apt install ffmpeg python3 python3-pyqt6
$ cd
$ sudo dpkg -i videomorph_x.x_all.deb
```That should be enough to get VideoMorph (and its dependencies) installed on your system.
You can also install VideoMorph's `.deb` package, by using GDebi, which is a GUI Packages Installer that will manage the dependencies for you.
#### On Windows
To install VideoMorph on your Windows system, you can:
1. Download the installer that corresponds to your architecture
2. Run the installer as an `administrator`
3. Follow on-screen instructions
### Installing Form the Source Packages
You can install VideoMorph from the source packages. Let's take a look at how to do this.
#### On GNU/Linux
To install the application from the source package on a GNU/Linux system, do the following:
1. Download the `.tar.gz` package
2. Open a terminal, and type in this:```bash
$ tar -xvf videomorph-x.x.tar.gz
$ cd videomorph-x.x
$ sudo pip3 install -r requirements.txt
$ python3 setup.py build
$ sudo python3 setup.py install
```The preceding commands will install VideoMorph, and part of its dependencies into your system. To complete the installation, you need to manually install Ffmpeg or use the Ffmpeg's packages from your distro's current repository.
**Note:** If you install Ffmpeg from its sources, then you need to make sure that the commands `ffmpeg`, and `ffprobe` are in your system's PATH. To verify this, just run the following commands:
```bash
$ which ffmpeg
/usr/bin/ffmpeg
$ which ffprobe
/usr/bin/ffprobe
```If you don't get a similar output, then you need to check your Ffmpeg installation.
On Debian/Ubuntu derivatives, you can also install VideoMorph by using the `install.sh` script provided in the source package as **root** or using **sudo**:
```bash
$ tar -xvf videomorph-x.x.tar.gz
$ cd videomorph-x.x
$ sudo ./install.sh
```This command will install VideoMorph, and its dependencies, (Ffmpeg, and PyQt6), from your distro's current repository.
#### On Windows
To install VideoMorph from the source package on your Windows system, first, make sure you have Python3 installed, then run the following steps:
1. Download and decompress the `.zip` source package
2. Open your Windows' command-line (`cmd.exe`), and type the following commands:```powershell
PS> cd videomorph-x.x
PS> pip install -r requirements.txt
PS> python3 setup.py build
PS> python3 setup.py install
```This will install VideoMorph on your system, but you'll need to install Ffmpeg manually.
**Note:** It's possible that you have to run the second and the fourth command as an `administrator`.
### Using Portable Editions (if available)
To use a Portable Edition (PE) of VideoMorph, you need to:
1. Download the PE package that matches your current system
2. Decompress the `.tar.gz` or the `.zip` file (Linux and Windows respectively) in any directory
3. Double-click on VideoMorph's executable (`videomorph` or `videomorph.exe`)## How to Contribute to the Source
If you want to contribute to VideoMorph's development cycle, you can follow the steps described in this section.
Reach out to contribute with:
- Translations
- Artwork and GUI improvements
- Customized conversion profiles or presets
- Tutorials on how to use VideoMorph
- Documentation
- Feature requests
- Bug reportsAny other type of contributions are also welcome, even a report about a typo is very welcome, so it's your turn to talk, but remember: VideoMorph is just a video converter, not a video editor.
### Setting up the Development Environment
To set up the development environment, and contribute code to VideoMorph, just open a command-line, and type in:
```console
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt
```You also need to install the Ffmpeg library on your system.
### Commits
The members of the VideoMorph Development Team that can commit changes into the repo are:
- [Ozkar L. Garcell](https://github.com/codeshard)
- [Leodanis Pozo Ramos](https://github.com/lpozo)
- [Leonel Salazar Videaux](https://github.com/leonel-lordford)### Internal Contributions Procedure
1. Work on new features, bug fixes, and other changes on a separated local branch
2. Once the work is done, `push` the whole branch to the `videomorph-dev` repo
3. Create a Pull Request (PR) targeting the `develop` branch
4. Wait for review, feedback, and approval
5. Merge the approved PR into the `develop` branch
6. Delete the temporarily branch**Note:** The preceding procedure is intended to be used by the members of the VideoMorph Development Team.
### External Contributions Procedure
External contributors must:
- Fork the repo on GitHub
- Work on modifications
- Push modifications to the forked repo
- Make a PR targeting the main VideoMorph `develop` branch
- Wait for review, feedback, and approval### Branch Naming Conventions
The name for a branch will be like:
```
username_i000_topic
```Where:
- `username` corresponds to the GitHub username
- `i000` represents the issue number the branch is dealing with. If there is no issue to map the branch then `i000` will be used
- `topic`, stands for a descriptive name that reflects the main goal of the branch (e.g: `john_i024_feature_mov_format`)### Coding, and Docstrings Style
- VideoMorph's code will follow the coding style guidelines described in [PEP8](https://www.python.org/dev/peps/pep-0008/)
- Docstrings in VideoMorph's code will follow the guidelines described in [PEP257](https://www.python.org/dev/peps/pep-0257/)
- Tools like `pylint`, `pep8`, `flake`, and others can be used to ensure that coding style guides are met### Commit Messaging Style
General rules for writing commit messages:
1. Separate subject from body with a blank line
2. Limit the subject line to 50 characters
3. Capitalize the subject line
4. Do not end the subject line with a period
5. Use the imperative mood in the subject line
6. Wrap the body at 72 characters
7. Use the body to explain what and why vs how
```Add support for MOV format
Add support for MOV format with several presets to give more
default conversion options to the user.
```Keep in mind that not all commits require an explanatory body, sometimes with the subject line is enough.
For more details see: [How to Write a Git Commit Message](https://chris.beams.io/posts/git-commit/)
## Licensing
VideoMorph is licensed under [Apache License Version 2.0](http://www.apache.org/licenses/).
Following the idea of [python-video-converter](https://github.com/senko/python-video-converter), VideoMorph only uses the Ffmpeg binaries, so it doesn't need to be licensed under LGPL/GPL.
## Authors and Contributors
Authors:
- [Ozkar L. Garcell](mailto:[email protected])
- [Leodanis Pozo Ramos](mailto:[email protected])Contributors:
- [Leonel Salazar Videaux](http://debianhlg.cubava.cu/)
- [Maikel Llamaret Heredia](http://gutl.jovenclub.cu) **[Rest in peace dear friend.]**
- [Carlos Parra Zaldivar](http://libreoffice.cubava.cu) **[Rest in peace dear friend.]**
- Osmel Cruz## Copyright
Copyright 2016-2022 VideoMorph Development Team.