# videoboard
**Repository Path**: stemon/videoboard
## Basic Information
- **Project Name**: videoboard
- **Description**: Simple video server using python
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-03-31
- **Last Updated**: 2021-03-31
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 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`.

> 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
2. 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 .
```
## TODO
1. 当某个文件夹中的图片太多时,图片的传输很慢。增加分页功能。
2. 展示图片的详细信息:width 和 height 等信息。
## License
[MIT License](LICENSE)