{ "info": { "author": "Alberto Pettarin", "author_email": "alberto@albertopettarin.it", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Education", "Topic :: Multimedia", "Topic :: Multimedia :: Sound/Audio", "Topic :: Multimedia :: Sound/Audio :: Analysis", "Topic :: Multimedia :: Sound/Audio :: Speech", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing", "Topic :: Text Processing :: Linguistic", "Topic :: Text Processing :: Markup", "Topic :: Text Processing :: Markup :: HTML", "Topic :: Text Processing :: Markup :: XML", "Topic :: Utilities" ], "description": "demodocus\n=========\n\n**demodocus** is Python CLI program to quickly check synchronization\nmaps.\n\n- Version: 1.0.0\n- Date: 2015-12-12\n- Developer: `Alberto Pettarin `__\n- License: the MIT License (MIT)\n- Contact: `click here `__\n\nInstallation\n------------\n\nUsing pip\n~~~~~~~~~\n\n1. Open a console and type:\n\n .. code:: bash\n\n $ [sudo] pip install demodocus\n\n2. That's it! Just run without arguments (or with ``-h`` or ``--help``)\n to get the manual:\n\n .. code:: bash\n\n $ demodocus\n\nMake sure to have ``ffmpeg`` installed and available on your ``PATH``\nenvironment variable, see below.\n\nFrom source code\n~~~~~~~~~~~~~~~~\n\n1. Get the source code:\n\n - clone this repo with ``git``:\n\n .. code:: bash\n\n $ git clone https://github.com/pettarin/demodocus.git\n\n - or download the `latest\n release `__ and\n uncompress it somewhere,\n - or download the `current master\n ZIP `__\n and uncompress it somewhere.\n\n2. Open a console and enter the ``demodocus`` (cloned) directory:\n\n .. code:: bash\n\n $ cd /path/to/demodocus\n\n3. Install the requirements:\n\n .. code:: bash\n\n $ [sudo] pip -r requirements.txt\n\n4. That's it! Just run without arguments (or with ``-h`` or ``--help``)\n to get the manual:\n\n .. code:: bash\n\n $ python -m demodocus\n\nMake sure to have ``ffmpeg`` installed and available on your ``PATH``\nenvironment variable, see below.\n\nDependencies\n~~~~~~~~~~~~\n\n- Python, version 2.7.x or 3.4.x (or above)\n\n- ``ffmpeg``: download it from https://www.ffmpeg.org/ or install it\n with your packet manager\n\n- ``pyaudio`` : install it via ``pip``:\n\n .. code:: bash\n\n $ [sudo] pip install pyaudio\n\n (if a compilation error appears, check that you have the PortAudio\n 1.9 headers available: in Debian, they are provided by the\n ``portaudio19-dev`` package)\n\nUsage\n-----\n\n::\n\n usage: \n $ demodocus -h\n $ demodocus -a AUDIO -s SYNCMAP [OPTIONS]\n\n description:\n Run an interactive CLI tool to verify that SYNCMAP has a good alignment against AUDIO.\n The sync map file can be in JSON or SSV/SSVH format (auto-detected).\n\n optional arguments:\n -h, --help show this help message and exit\n -a AUDIO, --audio AUDIO\n path to the audio file\n -c, --continuous keep going (default: False)\n -d DURATION, --duration DURATION\n play audio for max DURATION seconds (default: 2)\n -i INCREMENT, --increment INCREMENT\n play audio every INCREMENT fragments (default: 1)\n -s SYNCMAP, --syncmap SYNCMAP\n path to the sync map file\n -v, --version print version and exit\n -w WAIT, --wait WAIT wait WAIT seconds before playing the next fragment\n (default: 0)\n\n examples:\n\n $ demodocus -a audio.mp3 -s syncmap.json\n Check audio.mp3 against syncmap.json with default parameters (2 seconds, all fragments)\n\n $ demodocus -a audio.mp3 -s syncmap.ssv\n As above, but the sync map file has SSV format\n\n $ demodocus -a audio.mp3 -s syncmap.json -d 1\n Play each fragment for max 1 second\n\n $ demodocus -a audio.mp3 -s syncmap.json -d 3 -i 5\n Play every 5 fragments, for max 3 seconds each\n\n $ demodocus -a audio.mp3 -s syncmap.json -d 3 -i 5 -w 0.5\n Pause for 0.5 seconds before playing next fragment\n\n $ demodocus -a audio.mp3 -s syncmap.json -c -i 5 -d 1.5 -w 0.5\n Play every 5 fragments, 1.5 seconds each, continuously, pausing for 0.5 seconds\n\nLicense\n-------\n\n**demodocus** is released under the MIT License.\n\nLimitations and Missing Features\n--------------------------------\n\n- The input file must be converted to WAVE before running: slow for\n very large input files\n- Dependency from ``ffmpeg``, called via ``subprocess`` to convert the\n input file to WAVE\n- Dependency from ``pyaudio``, which in turns depends on ``PortAudio``\n- No tests\n- No documentation", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pettarin/demodocus", "keywords": "JSON,SSV,SSVH,aeneas,audio,demodocus,ffmpeg,portaudio,pyaudio,synchronization map", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "demodocus", "package_url": "https://pypi.org/project/demodocus/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/demodocus/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/pettarin/demodocus" }, "release_url": "https://pypi.org/project/demodocus/1.0.0.1/", "requires_dist": null, "requires_python": null, "summary": "demodocus is Python CLI program to quickly check synchronization maps", "version": "1.0.0.1" }, "last_serial": 1858796, "releases": { "1.0.0.1": [ { "comment_text": "", "digests": { "md5": "457d6ac196280d77f4191835eaba4856", "sha256": "2ad35d0e7b75657bd7b753a3524e32f68eba1914b6172647976da52d15e4eaa5" }, "downloads": -1, "filename": "demodocus-1.0.0.1.tar.gz", "has_sig": false, "md5_digest": "457d6ac196280d77f4191835eaba4856", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 415845, "upload_time": "2015-12-12T12:09:08", "url": "https://files.pythonhosted.org/packages/e6/06/d8b15ca1e42be5d45f121d4750f78c276bd4bad74dae93127d9d58be674a/demodocus-1.0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "457d6ac196280d77f4191835eaba4856", "sha256": "2ad35d0e7b75657bd7b753a3524e32f68eba1914b6172647976da52d15e4eaa5" }, "downloads": -1, "filename": "demodocus-1.0.0.1.tar.gz", "has_sig": false, "md5_digest": "457d6ac196280d77f4191835eaba4856", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 415845, "upload_time": "2015-12-12T12:09:08", "url": "https://files.pythonhosted.org/packages/e6/06/d8b15ca1e42be5d45f121d4750f78c276bd4bad74dae93127d9d58be674a/demodocus-1.0.0.1.tar.gz" } ] }