Prepare the videos by converting them with ffmpeg
ffmpeg -i 'some input file.mp4' -target [pal-dvd or ntsc-dvd] output.mpg
| #!/usr/bin/env python3 | |
| import ssl | |
| import sys | |
| import cgi | |
| import socket | |
| import hashlib | |
| import urllib.parse | |
| import json | |
| MAX_RECV_CHUNKS = 10 * 1024 # == 10 MiB |
| #!/usr/bin/env python3 | |
| """Etherpad Lite client. Modified from https://github.com/Changaco/python-etherpad_lite""" | |
| import requests | |
| import functools | |
| import json | |
| if __name__ == '__main__': | |
| import argparse | |
| import getpass |
| <?php | |
| // the location of the configuration/state data in JSON format | |
| $CONFIG_FILE = '/path/to/config.json'; | |
| /* Config file format: | |
| * The configuration file is a JSON object with the following (sub-keys): | |
| * - 'users': an object mapping user names to objects with the following keys: | |
| * - 'password': the user's password, in the format accepted by password_verify | |
| * - 'upload interval': the time limit between successive uploads by the user, in seconds | |
| * - 'upload directory': the directory to place the user's uploads in; this should end in the path separator. | |
| * - 'max file size': the maximum uploadable file size, in bytes |