Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidbt/djmediastreamer
A Django project that allows you to catalog and stream your videos (using FFmpeg to add subtitles and transcode).
https://github.com/davidbt/djmediastreamer
Last synced: about 1 month ago
JSON representation
A Django project that allows you to catalog and stream your videos (using FFmpeg to add subtitles and transcode).
- Host: GitHub
- URL: https://github.com/davidbt/djmediastreamer
- Owner: davidbt
- License: bsd-3-clause
- Created: 2016-08-03T16:49:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-10T23:35:47.000Z (almost 6 years ago)
- Last Synced: 2024-08-01T20:50:01.217Z (4 months ago)
- Language: Python
- Size: 91.8 KB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-video - davidbt/djmediastreamer - A Django project that allows you to catalog and stream your videos (using FFmpeg to add subtitles and transcode). - davidbt/djmediastreamer (Encoding / Talks Presentations Podcasts)
README
# djmediastreamer
A Django project that allows you to catalog and stream your videos (using FFmpeg to add subtitles and transcode).## Installation
install postgresql, node, ffmpeg and mediainfo.Create djmediastreamer user and database.
```
sudo -u postgres createuser djmediastreamer
sudo -u postgres createdb -O djmediastreamer djmediastreamer
```Configure postgresql security (pg_hba.conf). Something like this:
```
host djmediastreamer djmediastreamer 127.0.0.1/32 trust
```Create the python environment.
```
cd ~
mkdir djmediastreamer
virtualenv env
source env/bin/activate
```Clone the repo.
```
git clone https://github.com/davidbt/djmediastreamer.git
```Install python requirements.
```
cd djmediastreamer
pip install -r deploy/requirements.txt
```Run the migrations.
```
./manage.py migrate
```Create a superuser
```
./manage.py createsuperuser
```Install js requirements.
```
cd djmediastreamer/static/
npm install
cd ../..
```Run the server
```
./manage.py runserver
```Go to the [admin page] (http://localhost:8000/admin/)
Login, click on directories and the on "ADD DIRECTORY". In path enter the path where your videos are stored, ignore the rest of the fields and save.Go to the [home page] (http://localhost:8000/). Threre should be a link to your directory but before you can watch you videos you should collect them clicking on "Collect". It should take a few seconds.
Now your are ready to click on your directory, it should show you all the videos in your directory with links to stream or download them.