blob: 071e48d32312f8680236f0e4a015ac6f1cf04586 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Overview
This webapplication serves the following purpose:
* Provides a file and directory browser
* Generates a m3u8 playlist for media files
* Serves transcoded chunks of the media files as they are referenced in the m3u8 file
The chunking is done using ffmpeg's `-ss` and `-t` option.
This doesn't work properly on some video files.
# Compatibility
The video stream is encoded as h.264 + AAC stream. Tested with
* Google Chrome / Chromium
* Android Stock "Browser"
# Requirements
* python3, flask
* `ffmpeg` command
# Run tests
python3 -m unittest test
# Run with WSGI
(here with waitress)
waitress-serve --port 8000 mediabrowser.wsgi:application
|