-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,37 @@ | ||
# Total Duration | ||
Calculate total duration of media files. | ||
Calculates total duration and list resolution and frame rates of media files. | ||
|
||
![ReadMe image](images/readme_img.png) | ||
|
||
This works with video, audio, and images. | ||
Images will just display a resolution. | ||
|
||
This has been tested on Mac, Windows, and Linux. | ||
|
||
# Trouble Shoot | ||
https://pyinstaller.readthedocs.io/en/stable/development/venv.html | ||
## How to Use | ||
Select files and/or folders, drag and drop onto app. | ||
|
||
|
||
## Installation | ||
You will need to download a static version of ffprobe. | ||
Visit https://www.ffmpeg.org/download.html where you can download the ffmpeg package (includes ffprobe). Look under the "Get packages & executable files" section. | ||
After downloading, drag the ffprobe executable into the Get_Total_Duartion folder. | ||
|
||
It's recomeneded to create a virtual environment and activate. | ||
```bash | ||
python -m venv env | ||
source env/bin/activate | ||
``` | ||
Install requirements | ||
```bash | ||
pip install -r requirements.txt | ||
``` | ||
Then simply build the app! The spec file is setup to work with Mac, Windows, and Linux operating systems. | ||
```bash | ||
pyinstaller main.spec | ||
``` | ||
The app will be built in *Get_Total_Duration > dist* | ||
|
||
## Trouble Shoot Build | ||
If you used PyEnv to install Python, you may get a "Python Library not Found error." You will need to use the "--enable-shared" arguments when installing python. See below. | ||
https://pyinstaller.readthedocs.io/en/stable/development/venv.html |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.