Skip to main content

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

  1. Start the server:

    video-analyzer-ui
    
  2. 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

  1. Clone the repository:

    git clone https://github.com/username/video-analyzer-ui.git
    cd video-analyzer-ui
    
  2. Create virtual environment:

    python -m venv venv
    source venv/bin/activate  # or venv\Scripts\activate on Windows
    
  3. Install dependencies:

    pip install -e .
    
  4. Run development server:

    video-analyzer-ui --dev
    

How It Works

  1. Upload Video:

    • Drag and drop or select a video file
    • File is temporarily stored in a session-specific directory
  2. Configure Analysis:

    • Required fields are marked with *
    • Optional parameters can be left empty
    • Real-time command preview shows what will be executed
  3. Run Analysis:

    • Progress is shown in real-time
    • Output is streamed as it becomes available
    • Results are stored in session directory
  4. View Results:

    • Download analysis.json
    • View extracted frames (if kept)
    • Access transcripts and other outputs

License

Apache License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

video_analyzer_ui-0.1.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

video_analyzer_ui-0.1.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

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

Hashes for video_analyzer_ui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eb643c22c7bd469dc246f5eb913f03a8086e00434c8196c33c929f4bcf307d6f
MD5 6d62f52766f809bc84bba8bac4c01ec5
BLAKE2b-256 f31d9617e04f13756eee3818d6de6676ad0a8a1478a3c836d328cfab9a971180

See more details on using hashes here.

File details

Details for the file video_analyzer_ui-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for video_analyzer_ui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3d1c13c970683b22afd82465f44d3d734351d1dc4be3e656317c41b20bc724f
MD5 eafcc2ad806fd966e149099d348f8e6d
BLAKE2b-256 c07b7a42b68971b16a78b1355da06fc7ffa7383500f4326a3cb8963c30ab5dcf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page