semvec/pypi-packages huggingface dataset:
mediaquery 0.1.6
MediaQuery is a wrapper for mediainfo tool

## A simple wrapper for mediainfo tool

#### Prerequisites

This tool needs mediainfo to be installed inorder to work properly.

On Ubuntu/Debian:

```
sudo apt install mediainfo
```

On Mac:

```
brew install mediainfo
```

#### Usage

To get all available info about a video file. It works with all media types.

```
mediaquery --file="some video.mp4" track --type={General/Audio/Video} --list-keys

```

To get info about one particular key:

```
mediaquery --file="some video.mp4" track --type={General/Audio/Video} --key=Duration

```

#### Build Deb

```
python setup.py --command-packages=stdeb.command bdist_deb
```

#### Install Deb

```
sudo apt install python3-pymongo python3-gridfs python3-pymongo-ext python3-bson
sudo dpkg -i python3-mediaquery_0.1.5-1_all.deb
```