Media converting web service.

Mikael Nordfeldth de5f00f483 README draft 2 years ago
.gitignore d0f495e19e Initial commit, loosely based on h45h.com by Mikael Frykholm 2 years ago
README de5f00f483 README draft 2 years ago
post.html d0f495e19e Initial commit, loosely based on h45h.com by Mikael Frykholm 2 years ago
server.py d0f495e19e Initial commit, loosely based on h45h.com by Mikael Frykholm 2 years ago

README

konvert will convert your media files

REQUIREMENTS
------------
* py3k
* tornadoweb

USAGE
-----
Run server.py and upload files with curl or something else with PUT:

$ curl -T myfile.ogg http://localhost:8888

The response will be a URL of the uploaded file. A Location: header is also
included along with a redirect status code, should you want to interpret that.

Converting is done with GET on a URL that specifies the conversion template. A
list of all templates can be accessed from http://localhost:8888/help/convert

The URLs contain sha512 hashes for uniqueness and the convert URL is accessed
by simply appending /convert/$template afterwards.