https://github.com/davidcain/film_server
A simple Python + HTML system for generating film clips
https://github.com/davidcain/film_server
cgi-script ffmpeg python
Last synced: 10 months ago
JSON representation
A simple Python + HTML system for generating film clips
- Host: GitHub
- URL: https://github.com/davidcain/film_server
- Owner: DavidCain
- License: other
- Created: 2012-10-26T17:22:44.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-02-14T05:30:09.000Z (almost 13 years ago)
- Last Synced: 2025-03-24T12:46:55.819Z (11 months ago)
- Topics: cgi-script, ffmpeg, python
- Language: Python
- Size: 457 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## About
This repository contains the HTML pages and a CGI script that drive a
video clip-generating GNU/Linux file server.
The HTML page `gen_clips.html` presents a simple user interface to
specify desired clips in a feature film and the CGI script does all the
work to generate these clips in two downloadable formats.
### Interface
The main HTML page, and interface to users:

## Installation
The server assumes the existence of several `.m4v` feature-length films
in `/srv/ftp/` (this path can be changed in the cgi script). If video
clips are desired, system calls are made to `ffmpeg` (tested on v.
0.8.3-4).
### Dependencies
- Python 2.7
- Apache 2 (with Python support)
- ffmpeg (for video clips only)
Files in `www` belong in `/var/www/`, or anywhere Apache serves pages.
`playlist.py` should be stored in `/usr/lib/cgi-bin/`, or wherever
cgi-bin scripts are configured to reside.
## Legal
All films used for this project were obtained under the terms of Fair
Use, for educational purposes only. Copyright laws may be different in
your country; exercise caution and obey all copyright laws when using
this software.