Skip to content

Commit c38ebb5

Browse files
committed
Merge branch '1.5' and 'Qt6' into develop
2 parents 9c8f36d + 9e763b6 commit c38ebb5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+604
-250
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
sudo apt update && sudo apt -y install ffmpeg
3030
- name: Install dependencies
3131
run: |
32+
sudo apt install ffmpeg
3233
python -m pip install --upgrade pip
3334
pip install nose pytest pytest-cov black flake8 pep8-naming flake8-debugger flake8-docstrings codecov
3435
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ services:
99
matrix:
1010
include:
1111
- os: linux
12-
python: 3.7
13-
env: TESTENV=py37-pyqt5151 QT_API=pyqt5 PEP8=1 COV=1
12+
python: 3.10
13+
env: TESTENV=py310-pyqt640 QT_API=pyqt6 PEP8=1 COV=1
1414
fast_finish: true
1515

1616
before_install:
@@ -27,7 +27,7 @@ cache:
2727
install:
2828
- pip install pip --upgrade
2929
- pip install pytest pytest-cov black flake8 pep8-naming flake8-debugger flake8-docstrings codecov
30-
- pip install PyQt5==5.15.1
30+
- pip install PyQt6==6.4.0
3131

3232
script:
3333
- flake8 --select=D1 videomorph/*.py

README.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ VideoMorph is a video converter, just that. Consists on a GUI wrapper for [Ffmpe
4040

4141
VideoMorph uses the following libraries and programs:
4242

43-
- [PyQt5](https://www.riverbankcomputing.com/static/Docs/PyQt5/introduction.html)
43+
- [PyQt](https://www.riverbankcomputing.com/static/Docs/PyQt6/introduction.html)
4444
- [FFmpeg](http://ffmpeg.org)
4545
- [Python](https://python.org) > 3.4
4646

@@ -52,7 +52,7 @@ On Windows systems, you also need:
5252

5353
## Installation
5454

55-
You can install and use VideoMorph on GNU/Linux and 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 MacO :-|
55+
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 :-|
5656

5757
### Installing From the Binary Packages
5858

@@ -63,12 +63,13 @@ If you're using GNU/Linux or Windows, then you can install VideoMorph by using t
6363
You can install VideoMorph on Debian/Ubuntu and derivatives by running the following steps:
6464

6565
1. Download the `.deb` package
66+
6667
2. Open a terminal, and run the following commands as **root** or using **sudo**:
6768

68-
```bash
69-
$ apt install ffmpeg python3 python3-pyqt5
69+
```sh
70+
$ sudo apt install ffmpeg python3 python3-pyqt6
7071
$ cd <directory containing VideoMorph binary>
71-
$ dpkg -i videomorph_x.x_all.deb
72+
$ sudo dpkg -i videomorph_x.x_all.deb
7273
```
7374

7475
That should be enough to get VideoMorph (and its dependencies) installed on your system.
@@ -80,7 +81,9 @@ You can also install VideoMorph's `.deb` package, by using GDebi, which is a GUI
8081
To install VideoMorph on your Windows system, you can:
8182

8283
1. Download the installer that corresponds to your architecture
84+
8385
2. Run the installer as an `administrator`
86+
8487
3. Follow on-screen instructions
8588

8689
### Installing Form the Source Packages
@@ -92,7 +95,7 @@ You can install VideoMorph from the source packages. Let's take a look at how to
9295
To install the application from the source package on a GNU/Linux system, do the following:
9396

9497
1. Download the `.tar.gz` package
95-
2. Open a terminal, and run the following commands as **root** or using **sudo **when specified (as in step 3 and 5):
98+
2. Open a terminal, and type in this:
9699

97100
```bash
98101
$ tar -xvf videomorph-x.x.tar.gz
@@ -123,7 +126,7 @@ $ cd videomorph-x.x
123126
$ sudo ./install.sh
124127
```
125128

126-
This command will install VideoMorph and its dependencies (Ffmpeg, and PyQt5) from your distro's current repository.
129+
This command will install VideoMorph, and its dependencies, (Ffmpeg, and PyQt6), from your distro's current repository.
127130

128131
#### On Windows
129132

@@ -132,11 +135,11 @@ To install VideoMorph from the source package on your Windows system, first, mak
132135
1. Download and decompress the `.zip` source package
133136
2. Open your Windows' command-line (`cmd.exe`), and type the following commands:
134137

135-
```doscon
136-
C:/> cd videomorph-x.x
137-
C:/> pip install -r requirements.txt
138-
C:/> python3 setup.py build
139-
C:/> python3 setup.py install
138+
```powershell
139+
PS> cd videomorph-x.x
140+
PS> pip install -r requirements.txt
141+
PS> python3 setup.py build
142+
PS> python3 setup.py install
140143
```
141144

142145
This will install VideoMorph on your system, but you'll need to install Ffmpeg manually.
@@ -174,7 +177,7 @@ To set up the development environment, and contribute code to VideoMorph, just o
174177
```console
175178
$ python3 -m venv venv
176179
$ source venv/bin/activate
177-
(venv)$ pip install -r requirements.txt
180+
(venv) $ pip install -r requirements.txt
178181
```
179182

180183
You also need to install the Ffmpeg library on your system.
@@ -183,9 +186,9 @@ You also need to install the Ffmpeg library on your system.
183186

184187
The members of the VideoMorph Development Team that can commit changes into the repo are:
185188

189+
- [Ozkar L. Garcell](https://github.com/codeshard)
186190
- [Leodanis Pozo Ramos](https://github.com/lpozo)
187191
- [Leonel Salazar Videaux](https://github.com/leonel-lordford)
188-
- [Ozkar L. Garcell](https://github.com/codeshard)
189192

190193
### Internal Contributions Procedure
191194

@@ -239,11 +242,11 @@ General rules for writing commit messages:
239242
5. Use the imperative mood in the subject line
240243
6. Wrap the body at 72 characters
241244
7. Use the body to explain what and why vs how
242-
243245
```
246+
244247
Add support for MOV format
245248
246-
Add support for MOV format with several presets to give more
249+
Add support for MOV format with several presets to give more
247250
default conversion options to the user.
248251
```
249252

@@ -261,16 +264,15 @@ Following the idea of [python-video-converter](https://github.com/senko/python-v
261264

262265
Authors:
263266

264-
- [Leodanis Pozo Ramos](mailto:[email protected])
265267
- [Ozkar L. Garcell](mailto:[email protected])
268+
- [Leodanis Pozo Ramos](mailto:[email protected])
266269

267270
Contributors:
268-
269-
- [Maikel Llamaret Heredia](http://gutl.jovenclub.cu) **[Rest In Peace Dear Friend]**
270271
- [Leonel Salazar Videaux](http://debianhlg.cubava.cu/)
271-
- [Carlos Parra Zaldivar](http://libreoffice.cubava.cu)
272+
- [Maikel Llamaret Heredia](http://gutl.jovenclub.cu) **[Rest in peace dear friend.]**
273+
- [Carlos Parra Zaldivar](http://libreoffice.cubava.cu) **[Rest in peace dear friend.]**
272274
- Osmel Cruz
273275

274276
## Copyright
275277

276-
Copyright 2016-2020 VideoMorph Development Team.
278+
Copyright 2016-2022 VideoMorph Development Team.

TODO

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323

2424
- Implement a Dialog to generate the conversion commands using the Ffmpeg options
2525
- Write a Disclaimer about Ffmpeg options in customized profiles, available codecs and input video quality
26-
- Implement an alternative class for `conversionlib._Converter` (`subprocess` maybe) to decouple from `PyQt5`
26+
- Pack in `RPM` format
27+
- Pack for Arch Linux
28+
- Implement an alternative class for `conversionlib._Converter` (`subprocess` maybe) to decouple from `PyQt6`
2729
- Move the business logic present in `videomorph.py`, `about.py` and other views to `converter` package package
2830
- Move the `HTML` text hardcoded in `about.py` to a file distributed as doc. Read the about info from that file as done with the License
2931
- Pack in AppImage, Flatpack or Snap

bin/videomorph

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#
44
# File _name: videomorph
55
#
6-
# VideoMorph - A PyQt5 frontend to ffmpeg.
7-
# Copyright 2016-2020 VideoMorph Development Team
6+
# VideoMorph - A PyQt6 frontend to ffmpeg.
7+
# Copyright 2016-2022 VideoMorph Development Team
88

99
# Licensed under the Apache License, Version 2.0 (the "License");
1010
# you may not use this file except in compliance with the License.

copyright

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Upstream-Contact: [email protected]
44
Source: https://github.com/videomorph-dev/videomorph
55

66
Files: *
7-
Copyright: 2016-2020 VideoMorph Development Team
7+
Copyright: 2016-2022 VideoMorph Development Team
88

99
License: Apache-2.0
1010

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# VideoMorph installation script for Ubuntu
33

4-
depends="ffmpeg python3 python3-pyqt5 python3-setuptools"
4+
depends="ffmpeg python3 python3-pyqt6 python3-setuptools"
55

66
if type dpkg &> /dev/null
77
then

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
PyQt5==5.12.2
1+
PyQt6==6.4.0
22
setuptools==39.0.1

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#
44
# File _name: setup.py
55
#
6-
# VideoMorph - A PyQt5 frontend to ffmpeg.
7-
# Copyright 2016-2020 VideoMorph Development Team
6+
# VideoMorph - A PyQt6 frontend to ffmpeg.
7+
# Copyright 2016-2022 VideoMorph Development Team
88

99
# Licensed under the Apache License, Version 2.0 (the "License");
1010
# you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@
4141
USE_DISTUTILS = True
4242

4343

44-
LONG_DESCRIPTION = """Video Converter based on ffmpeg, Python 3 and PyQt5.
44+
LONG_DESCRIPTION = """Video Converter based on ffmpeg, Python 3 and PyQt6.
4545
Unlike other video converters, VideoMorph focuses on a single goal:
4646
make video conversion simple, with an easy to use GUI and allowing
4747
the user to convert to the currently most popular video formats.
@@ -55,7 +55,7 @@
5555
name=APP_NAME.lower(),
5656
version=VERSION + "-" + CODENAME.lower(),
5757
description="Video Converter based on ffmpeg, "
58-
"Python 3 and Qt5, focused on usability.",
58+
"Python 3 and Qt6, focused on usability.",
5959
long_description=LONG_DESCRIPTION,
6060
author="Ozkar L. Garcell",
6161
author_email="[email protected]",

share/applications/videomorph.desktop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Type=Application
33
Name=VideoMorph
44
GenericName=Video Converter
55
GenericName[es]=Convertidor de Video
6-
Comment=Video Converter based on ffmpeg, Python 3 and PyQt5.
7-
Comment[es]=Convertidor de Video basado en ffmpeg, Python 3 y PyQt5.
6+
Comment=Video Converter based on ffmpeg, Python 3 and PyQt6.
7+
Comment[es]=Convertidor de Video basado en ffmpeg, Python 3 y PyQt6.
88
Exec=videomorph
99
Icon=videomorph
1010
Terminal=false

0 commit comments

Comments
 (0)