Skip to main content

Muxing archived media (and more!).

Project description

Supports windowed/resumable transcoding of recorded media codec packets by:

  • Reading stored/archived media packets (e.g. pcap’d rtp)

  • Reconstructs media frames (e.g. depacketized encoded frame fragmented by network protocol)

  • Synchronizing frame streams (e.g. paired audio and video)

  • Muxing frame stream(s) to a container (e.g. mkv file) using libav*

  • Detecting stitching information used to seamlessly resume transcoding


Install devel libav*, e.g.:

git clone git://
cd ffmpeg
sudo make install

and libpcap, e.g.:

sudo apt-get install libpcap-dev

if you need them.


If you just want to use it:

pip install marm

but if you are developing then get it:

git clone ~/code/marm
cd ~/code/marm

create a venv:

mkvirtualenv marm
workon marm
pip install Cython
pip install -e .[test]

and test it:

py.test test/ --cov marm --cov-report term-missing --pep8




Tests pass:

py.test test/ --cov marm --cov-report term-missing --pep8

so update __version__ in marm/ Commit and tag it:

git commit -am "release v{version}"
git tag -a v{version} -m "release v{version}"
git push --tags

and travis will publish it to pypi.

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

marm-0.3.0.tar.gz (122.9 kB view hashes)

Uploaded source

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