Skip to main content

Daemon for transcoding audio/video with an http API written in python

Project description

Video transcoding daemon

This project implements a daemon that wraps ffmpeg for video transcoding and listens for jobs over http. Intended to be used as backend for web applications that deal with video encoding in any way so they don't have to mess with the long running background processes, queueing and ffmpeg command line parameters.

To use this you create a config file that defines which applications can use which directory for media and the encoding profiles the applications can use.

An example configuration:




This defines the user mediacenter with the password verysecret which can start transcoding jobs in any path starting with /mnt/storage/videos. It also defines a callback url for reporting job progress to the requesting application.

It also defines the profile called h264 which always encodes to h264+aac in a mkv container.

The default policy for transcoded is to transcode as little as possible unless explicitly configured to transcode anything. The default config doesn't transcode the stream if the source codec matches the destination codec(s). It does always recreate the container for the streams.

It is possible to define multiple output codecs seperated by a comma, in that case it won't transcode if the source codec matches any of the listed codecs. If the source doesn't match any codec then it will transcode it to the first specified codec.

Project details

Download files

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

Files for python-transcoded, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size python_transcoded-0.3-py3-none-any.whl (11.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size python-transcoded-0.3.tar.gz (9.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page