-
-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathINSTALL
More file actions
116 lines (75 loc) · 3.49 KB
/
Copy pathINSTALL
File metadata and controls
116 lines (75 loc) · 3.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
VIDEOMASS INSTALLATION INSTRUCTIONS AND BUILDINGS
Notes: On some systems, you may need to replace "python3" with "py" or "python".
==============================
Executable packages availables
==============================
If you are not a developer and just want to install Videomass on your operating
system, please visit the following page:
https://jeanslack.github.io/Videomass/download_installation.html
=============================
Base application dependencies
=============================
Requires:
- Python >=3.9.0
- wxPython >=4.0.7
- PyPubSub >=4.0.3
- requests
- FFmpeg (included ffplay and ffprobe) >=5.1
=========================
Run from source directory
=========================
Videomass can be run without installing by extracting the source archive
and executing the "launcher" script inside the source Videomass directory.
cd Videomass (source directory)
python3 launcher
Videomass can also be imported from the Python3 console (interactive mode):
>>> from videomass import gui_app
>>> gui_app.main()
=====================================
Translate the program into your language
=====================================
By default, MO (aka Machine Object) files are not distributed with the
source code and/or the Python sdist package, so the program will not be
fully translated into your language. Compiling the language translation
catalogs must be done on your machine by one of the following options:
-1- Using PoEdit application: <https://poedit.net/>
Browse the directory corresponding to your language code:
"videomass/data/locale"
Open the videomass.po file using PoEdit, then save it (Ctrl+S). This is
enough to translate Videomass into your native language.
-2- Using GNU-gettext utilities.
Requires:
- shell (/bin/bash)
- msgfmt (from GNU-gettext)
cd Videomass (source directory)
./develop/gettext_utils/generate_MO_files.sh
-3- Using `babel` Python package <https://pypi.org/project/babel/>
Requires:
- Python >= 3.9.0
- pybabel (from `babel` package, installable via pip)
cd Videomass (source directory)
pybabel compile --domain videomass --directory "videomass/data/locale"
To compile a single language file only, add the `--locale` option followed
by your locale code as argument (e.g. `de_DE`) to pybabel comand line.
* Note that all the options listed above involve exiting and restarting
Videomass, then setting the proper language from the preferences dialog.
======================
Installation using pip
======================
-----------------------------------------------------------------------
If you are a Linux/FreeBSD user, the standard installation procedure
will not install wxPython, as wxPython's PyPi wheels provides support for
Windows and MacOS only. Please install wxPython manually using your OS's
package manager.
Then, this assumes a virtual environment activated using python-venv
module with `--system-site-package` option to share wxPython module
installed in your OS,
like this:
python3 -m venv --system-site-packages --upgrade-deps VENV
source VENV/bin/activate
------------------------------------------------------------------------
python3 -m pip install videomass
OR, inside source directory:
python3 -m pip install -r requirements.txt
Please, Visit the Wiki page for more info:
<https://github.com/jeanslack/Videomass/wiki/Installation-using-pip>