Skip to content

Commit

Permalink
Updated ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
boojamya committed Mar 20, 2021
1 parent 1922a0c commit cc91399
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
34 changes: 31 additions & 3 deletions README.md
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
Binary file added images/readme_img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cc91399

Please sign in to comment.