Skip to main content

A Python2 web application that assist radio speakers in recording their shows

Project description

TechRec

A Python2 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.

Features

  • little system dependencies: python2 and ffmpeg

  • The interface is extremely simple to use

  • You can have nested recording (ie: to record an interview inside of a whole show)

  • There is no user system: any user opening the website will see the complete status of the applications. There is, also, nothing stored in cookie or similar mechanisms. This means that recording a session does not require a browser to remain open, or any kind of persistence client-side: server-side does it all. It also means that authorization must be done on another layer (for example, your webserver could add a Basic Auth)

How does it work

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

`sh ffmpeg -i concat:2014-20-01-00-00.mp3|2014-20-01-00-01.mp3 -acodec copy -ss 160 -t 1840 foo.mp3 `

Implementation details

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 possible.

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.

testing

unit tests can be run with python setup.py test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

techrec-1.2.0.tar.gz (451.9 kB view details)

Uploaded Source

Built Distributions

techrec-1.2.0-py2.7.egg (485.8 kB view details)

Uploaded Source

techrec-1.2.0-py2-none-any.whl (460.2 kB view details)

Uploaded Python 2

File details

Details for the file techrec-1.2.0.tar.gz.

File metadata

  • Download URL: techrec-1.2.0.tar.gz
  • Upload date:
  • Size: 451.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for techrec-1.2.0.tar.gz
Algorithm Hash digest
SHA256 80e67aa7be94d72f9726425dddee82d1ff1dc758dc9c1ad0f634f4671600b65d
MD5 f46e8a0b90bc1bc84fd0e41d4f4a29ad
BLAKE2b-256 93461c08e4ab25ef20c5b1e13b74064ea039191184c2ebec7259ced0f5f38713

See more details on using hashes here.

File details

Details for the file techrec-1.2.0-py2.7.egg.

File metadata

  • Download URL: techrec-1.2.0-py2.7.egg
  • Upload date:
  • Size: 485.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for techrec-1.2.0-py2.7.egg
Algorithm Hash digest
SHA256 e50ce92e6804643e66d39001c1b984be77f2469705d83e10519582fd096228ab
MD5 21d29073ba84391f12c8fe3fbbf6c8e0
BLAKE2b-256 2986bb6f6df46dba60bd5c67774cd2d96a798ccfc3b9dfab2dca6156c2291839

See more details on using hashes here.

File details

Details for the file techrec-1.2.0-py2-none-any.whl.

File metadata

  • Download URL: techrec-1.2.0-py2-none-any.whl
  • Upload date:
  • Size: 460.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for techrec-1.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 bc680038f1e3860937d67cbc8fd1e288cdbaf3cab3c0fbdd9fc4f4d93fd93f8a
MD5 d4bbffc92b68409d914e80f551305b1a
BLAKE2b-256 1920cbf243be123a4dd3423a5eaad5169728359080f3ecc8fb401be76e783ab4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page