{ "info": { "author": "Axel Juraske", "author_email": "axel.juraske@short-report.de", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only" ], "description": "======================================\nBlurring - censor videos automatically\n======================================\n.. image:: https://img.shields.io/pypi/v/blurring\n :alt: PyPI\n :target: https://pypi.org/project/blurring/\n\n.. image:: https://img.shields.io/pypi/pyversions/blurring\n :alt: Python Version\n :target: https://pypi.org/project/blurring/\n\n.. image:: https://img.shields.io/pypi/l/blurring\n :alt: License\n :target: https://pypi.org/project/blurring/\n\n.. image:: https://img.shields.io/pypi/dm/blurring\n :alt: PyPI - Downloads\n :target: https://pypi.org/project/blurring/\n\nI use a simple template match to find the secret spots in the video. So this is\nnothing for a dynamical video. It should be used to clean up for screen records.\n\n.. image:: https://github.com/axju/blurring/blob/develop/ext/combine.gif?raw=true\n :alt: alternate text\n :align: right\n\nWhy\n---\nBlurring is designed to expand `Watch me Coding `_.\nI take my screen in time lapse. One second, one frame. That's 3600 frames for\nan hour. An 8-hour coding day would be 28800 frames. I do not want to search\nfor secret information in every single frame. I know my secret passwords so I\ncan scan the video and blur them.\n\nInstall\n-------\nSimple as always. Do not forget to use a virtual environment::\n\n >>> pip install blurring\n\nHow to uses\n-----------\nCreate a template. You can use any image. Maybe something created with gimp. Or\nus supplied tool \"blurring-t\" (I know that is a ugly name, sorry)::\n\n >>> blurring-t template\n text [PASSWORD]: PASSWORD\n height [18]: 18\n ...\n\nBefore you blur the video, checkout the original.\n\n.. image:: https://github.com/axju/blurring/blob/develop/ext/video.gif?raw=true\n :alt: alternate text\n :align: right\n\nNow blur it. I use the offset to blur the password before it is completely\nvisible::\n\n blurring video.mp4 blurred.mp4 template.png --offset 60\n\nThis is the result.\n\n.. image:: https://github.com/axju/blurring/blob/develop/ext/blurred_60.gif?raw=true\n :alt: alternate text\n :align: right\n\nAnd this would be the result without the offset.\n\n.. image:: https://github.com/axju/blurring/blob/develop/ext/blurred_0.gif?raw=true\n :alt: alternate text\n :align: right\n\nThere is still something to improve, but for now I am happy.\n\n\nWatch me coding integration\n---------------------------\nThis is also a plugin for watch me encoding. After you have installed Blurring,\nthere is an additional command::\n\n >>> wmc -H\n info v0.3.3 - Print some infos\n link v0.3.3 - Concat all videos to one\n record v0.3.3 - Start the record\n setup v0.3.3 - Setup the project\n blurring v0.1.0 - Blur the final video\n\nFirst create the final video::\n\n >>> wmc link\n\nNow create the template(s)::\n\n >>> mkdir templates\n >>> blurring-t templates/dummy\n text [PASSWORD]: PASSWORD\n height [18]: 18\n width [70]: 70\n scale [0.4]: 0.4\n font [0]: 0\n pos_x [0]: 0\n pos_y [12]: 12\n\nIt is time to blurring out the \"PASSWORD\"::\n\n >>> wmc blurring\n\nNow you have the video \"full_blur.mp4\". Enjoy it.\n\n\nDevelopment\n-----------\nVirtual environment windows::\n\n python -m venv venv\n venv\\Scripts\\activate\n\nVirtual environment linux::\n\n python3 -m venv venv\n source venv/bin/activate\n\nSetup project::\n\n python -m pip install --upgrade pip wheel setuptools tox flake8 pylint coverage rstcheck\n python setup.py develop\n\nRun some test::\n\n tox\n pylint src/blurring\n python setup.py test\n python setup.py flake8\n python setup.py check\n\nTest coverage::\n\n coverage run --source src/blurring setup.py test\n coverage report -m\n\nPublish package::\n\n git tag -a 1.0.0a1 -m '1.0.0a1'\n rstcheck README.rst\n python setup.py --version\n python setup.py check\n python setup.py sdist bdist_wheel\n twine upload dist/*\n git push origin 1.0.0a1\n\nCreate videos::\n\n ffmpeg -i ext/video.mp4 -filter_complex \"[0:v] palettegen\" palette.png -y\n ffmpeg -i ext/video.mp4 -i palette.png -filter_complex \"[0:v][1:v] paletteuse\" ext/video.gif\n ffmpeg -i ext/video.mp4 -filter:v \"crop=400:400:0:0\" ext/video_small.mp4\n ffmpeg -i ext/video.mp4 -i ext/blurred_60.mp4 -filter_complex hstack ext/combine.mp4\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/axju/blurring", "keywords": "video", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "blurring", "package_url": "https://pypi.org/project/blurring/", "platform": "", "project_url": "https://pypi.org/project/blurring/", "project_urls": { "Homepage": "https://github.com/axju/blurring" }, "release_url": "https://pypi.org/project/blurring/0.2.0/", "requires_dist": [ "ffmpeg-python", "opencv-python", "numpy" ], "requires_python": "", "summary": "Censor videos automatically", "version": "0.2.0" }, "last_serial": 5867210, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f829ce2d99b1e60636f6bdfc3e787ac8", "sha256": "85cb047d4c8974f57d59e413b917136ac27f31f62d97c395c1d5c9316fe5ec16" }, "downloads": -1, "filename": "blurring-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f829ce2d99b1e60636f6bdfc3e787ac8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9970, "upload_time": "2019-09-19T19:33:41", "url": "https://files.pythonhosted.org/packages/73/9b/4befa822709d1730a144dd128573637d21898bae5b0ee2f4a160024e6e5a/blurring-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5f558791ff8e28dde492aa9ae8d3c22a", "sha256": "49e7f19368fb5fa432768cb074a3c59e0990b4a3a3949ce214161c398647059a" }, "downloads": -1, "filename": "blurring-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5f558791ff8e28dde492aa9ae8d3c22a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 474352, "upload_time": "2019-09-19T19:33:44", "url": "https://files.pythonhosted.org/packages/db/73/ade889aebbe87e102a8311f45fffe1beac8d291a3d5359b0725ed66a116e/blurring-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3d79755c822dd262216c459b272064e2", "sha256": "55f07d871e1031aef29f7a9a0939ad548eef1e2cbe5fb0858fce9cb1438c3a39" }, "downloads": -1, "filename": "blurring-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3d79755c822dd262216c459b272064e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10628, "upload_time": "2019-09-21T21:12:02", "url": "https://files.pythonhosted.org/packages/00/57/bd6750634f0d24e085ec7f9107df7a1a609f76c3ba610885eaab05dca889/blurring-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fbb133481a4d4bbf1a18f7003f12d86f", "sha256": "390c53b1d7159614fab1b66f7c402d8cdb8abafc3984184c7ae244e74de1b4a3" }, "downloads": -1, "filename": "blurring-0.2.0.tar.gz", "has_sig": false, "md5_digest": "fbb133481a4d4bbf1a18f7003f12d86f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 937342, "upload_time": "2019-09-21T21:12:05", "url": "https://files.pythonhosted.org/packages/98/84/7f44c2c4bef5b3df5bc4746fb63e8ef6fce84b10bfb0ae1a05ace47de22d/blurring-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3d79755c822dd262216c459b272064e2", "sha256": "55f07d871e1031aef29f7a9a0939ad548eef1e2cbe5fb0858fce9cb1438c3a39" }, "downloads": -1, "filename": "blurring-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3d79755c822dd262216c459b272064e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10628, "upload_time": "2019-09-21T21:12:02", "url": "https://files.pythonhosted.org/packages/00/57/bd6750634f0d24e085ec7f9107df7a1a609f76c3ba610885eaab05dca889/blurring-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fbb133481a4d4bbf1a18f7003f12d86f", "sha256": "390c53b1d7159614fab1b66f7c402d8cdb8abafc3984184c7ae244e74de1b4a3" }, "downloads": -1, "filename": "blurring-0.2.0.tar.gz", "has_sig": false, "md5_digest": "fbb133481a4d4bbf1a18f7003f12d86f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 937342, "upload_time": "2019-09-21T21:12:05", "url": "https://files.pythonhosted.org/packages/98/84/7f44c2c4bef5b3df5bc4746fb63e8ef6fce84b10bfb0ae1a05ace47de22d/blurring-0.2.0.tar.gz" } ] }