Skip to main content

Launch a simple http server for visualizing videos and images

Project description

videoboard

Simple http server for visualizing videos and images.

Videoboard launches a http server which recursively searches directories and shows all videos and images grouped by directory. It supports videos and images with extensions mp4, png, jpg, jpeg, and gif.

Screenshot: videoboard

This repo is initiated to check training and testing results for Reinforcement Learning research.
Using Python's SimpleHTTPServer requires me to navigate forward and backward. It is especially annoying when multiple experiments are running.
Videoboard makes visualizing videos from multiple directories much easier.

Usage

  1. Run videoboard:
$ videoboard

Options:

  • --logdir : Directory where videoboard will look for videos and images recursively
  • --port : Port number
  • --height : Maximum height of image/video
  • --width : Maximum width of image/video
  • --file_name_length : Maximum length of file name shown in videoboard
  • --recursive : Search files recursively
  • --display : Display videos and images
  1. Check the website at http://127.0.0.1:8000 or http://[server]:[port]. Whenever click a directory, videos and images inside will be reloaded.

Installation

Only work on Python3

Install from pip:

pip install videoboard
# or pip3 install videoboard

Install from the latest code:

git clone https://github.com/youngwoon/videoboard.git
cd videoboard
pip install -e .

License

MIT 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

videoboard-0.1.1-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

Supported by

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