Metadata-Version: 2.4
Name: mediaquery-cli-tool
Version: 1.1.1
Summary: A Python CLI and library for extracting video, audio, and image metadata. MediaQuery is a wrapper for mediainfo tool
Author-email: Sabarish <sabarishdevaraju@gmail.com>
Maintainer-email: Sabarish <sabarishdevaraju@gmail.com>
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: pymongo>=4.10
Requires-Dist: Pillow

MediaQuery is a lightweight Python command-line tool designed to extract and query metadata from audio and video files using MediaInfo.
It provides a simple interface for inspecting media properties directly from the Linux terminal.
- Extract metadata from audio and video files.
- Query individual metadata fields.
- Simple command-line interface.
- Integrates with MediaInfo.
- Suitable for Linux automation and scripting.
- Python 3.9 or later
- MediaInfo CLI
```
sudo apt install python3.12-venv
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install mediaquery-cli-tool
```
Or install as a standalone command-line application:
```
pipx install mediaquery-cli-tool
```
Use the actual published distribution name if it differs from mediaquery.
Display available options:
```
mediaquery --help
```
Query media information:
```
mediaquery --file movie.mp4
mediaquery --file movie.mp4 track --type Video
mediaquery --file song.mp3 track --type Audio
mediaquery --file photo.jpg track --type Image
mediaquery --file photo.png track --type Image --key Width
mediaquery --file photo.jpg track --type Image --list-keys
```
Developed by Sabarish.
