From 2a5bc9636647c1beeb58f3f0b3f2bcecb3509d16 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 30 Nov 2015 20:14:16 +0100 Subject: poc --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..5083878 --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +# 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. + +Also with some files we get chrome errors about audio-splicing with can lead to the point where the browser suddenly +stops playback. + +# Compatibility + +The video stream is encoded as h.264 + AAC stream. Tested with + +* Google Chrome / Chromium +* Android Stock "Browser" + +# Requirements + +* python3, flask +* `ffmpeg` command +* `ffmpegthumbnailer` command + +# Run tests + + python3 -m unittest test + +# Run with WSGI + +(here with waitress) + + waitress-serve --port 8000 mediabrowser.wsgi:application -- cgit v1.2.1