|boyska 23b04a58bc remove useless js things||2 years ago|
|contrib||8 years ago|
|server||2 years ago|
|.gitignore||2 years ago|
|12factors.md||8 years ago|
|LICENSE||8 years ago|
|MANIFEST.in||2 years ago|
|README.md||2 years ago|
|RELEASE.md||8 years ago|
|publish-release||2 years ago|
|setup.py||2 years ago|
|techrec.spec||2 years ago|
A Python2/Python3 web application that assist radio speakers in recording their shows. Meant to be simple to install and to maintain.
It basically takes a directory with the continuous recording and create new files "cutting/pasting" with ffmpeg.
We suppose that you have a continous recording of your radio broadcasting. What techrec does is taking files from this directory and "cutting/pasting" parts of them. This can boil down to something like
ffmpeg -i concat:2014-20-01-00-00.mp3|2014-20-01-00-01.mp3 -acodec copy -ss 160 -t 1840 foo.mp3
It is based on bottle, to get a minimal framework. Simple APIs are offered through it, and the static site uses them.
Jobs are not dispatched using stuff like celery, but with a thin wrapper over
multiprocessing.Pool; this is just to keep the installation as simple as
The encoding part is delegated to
ffmpeg, but the code is really modular so
changing this is a breeze. To be quicker and avoid the quality issues related
to reencoding, the codec "copy" is used: this means that input and output must
have the same format.
unit tests can be run with
python setup.py test
See screenshots at https://boyska.degenerazione.xyz/proj/techrec/