Web interface for the video-analyzer tool
Project description
Video Analyzer UI
A lightweight web interface for the video-analyzer tool.
Features
- Simple, intuitive interface for video analysis
- Real-time command output streaming
- Drag-and-drop video upload
- Results visualization and download
- Session management and cleanup
Prerequisites
- Python 3.8 or higher
- video-analyzer package installed
- FFmpeg (required by video-analyzer)
Installation
pip install video-analyzer-ui
Quick Start
-
Start the server:
video-analyzer-ui
-
Open in browser: http://localhost:5000
Usage
Development Mode
video-analyzer-ui --dev
- Auto-reload on code changes
- Debug logging
- Development error pages
Production Mode
video-analyzer-ui --host 0.0.0.0 --port 5000
- Optimized for performance
- Error logging to file
- Production-ready security
Command Line Options
--dev: Enable development mode--host: Bind address (default: localhost)--port: Port number (default: 5000)--log-file: Log file path--config: Custom config file path
Development Setup
-
Clone the repository:
git clone https://github.com/username/video-analyzer-ui.git cd video-analyzer-ui
-
Create virtual environment:
python -m venv venv source venv/bin/activate # or venv\Scripts\activate on Windows
-
Install dependencies:
pip install -e .
-
Run development server:
video-analyzer-ui --dev
How It Works
-
Upload Video:
- Drag and drop or select a video file
- File is temporarily stored in a session-specific directory
-
Configure Analysis:
- Required fields are marked with *
- Optional parameters can be left empty
- Real-time command preview shows what will be executed
-
Run Analysis:
- Progress is shown in real-time
- Output is streamed as it becomes available
- Results are stored in session directory
-
View Results:
- Download analysis.json
- View extracted frames (if kept)
- Access transcripts and other outputs
License
Apache License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file video_analyzer_ui-0.1.0.tar.gz.
File metadata
- Download URL: video_analyzer_ui-0.1.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb643c22c7bd469dc246f5eb913f03a8086e00434c8196c33c929f4bcf307d6f
|
|
| MD5 |
6d62f52766f809bc84bba8bac4c01ec5
|
|
| BLAKE2b-256 |
f31d9617e04f13756eee3818d6de6676ad0a8a1478a3c836d328cfab9a971180
|
File details
Details for the file video_analyzer_ui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: video_analyzer_ui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3d1c13c970683b22afd82465f44d3d734351d1dc4be3e656317c41b20bc724f
|
|
| MD5 |
eafcc2ad806fd966e149099d348f8e6d
|
|
| BLAKE2b-256 |
c07b7a42b68971b16a78b1355da06fc7ffa7383500f4326a3cb8963c30ab5dcf
|