{ "info": { "author": "Muges", "author_email": "git@muges.fr", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)", "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", "Programming Language :: Python :: 3.6", "Topic :: Multimedia :: Sound/Audio" ], "description": "A module that makes GstBase.BaseTransform python-compatible\n===========================================================\n\n.. image:: https://travis-ci.org/Muges/gstbasetransform.svg?branch=master\n :target: https://travis-ci.org/Muges/gstbasetransform\n :alt: Build Status\n\n``gstbasetransform`` is a module that aims to provide a patched\n``GstBase.BaseTransform`` class usable from python.\n\nSource code repository and issue tracker:\n https://github.com/Muges/gstbasetransform/\n\nLicense:\n LGPL 2.1 -- see the file ``LICENSE`` for details.\n\nInstallation\n------------\n\n``gstbasetransform`` should work with python 2.7 and python 3.4+.\n\nYou will first need to install PyGObject_ and python-gst_, as they are not\navailable on pip. You can then install the latest version of\n``gstbasetransform`` with pip::\n\n pip install gstbasetransform\n\n.. _PyGObject:\n https://pygobject.readthedocs.io/en/latest/getting_started.html\n\n.. _python-gst:\n https://gstreamer.freedesktop.org/modules/gst-python.html\n\nUsage\n-----\n\ngstbasetransform provides a subclass of GstBase.BaseTransform_, also called\n``BaseTransform``, whose ``do_transform_size`` virtual method has been patched\nto be usable in python.\n\nIn the original do_transform_size_ virtual method, the ``othersize`` parameter\nthat represents the size of the output buffer is an ``int``, and is passed by\ncopy, preventing it from being changed. In ``gstbasetransform.BaseTransform``,\nit has been removed, and the size of the output buffer can be set with a return\nvalue of the method.\n\nThe signature of the method is::\n\n do_transform_size(direction, caps, size, othercaps)\n\nand it should return a tuple ``(bool, int)``, where the ``int`` is the size of\nthe output buffer.\n\nSee the ``test_gstbasetransform.py`` file for a basic example.\n\n.. _GstBase.BaseTransform:\n https://lazka.github.io/pgi-docs/index.html#GstBase-1.0/classes/BaseTransform.html#GstBase.BaseTransform\n\n.. _do_transform_size:\n https://lazka.github.io/pgi-docs/index.html#GstBase-1.0/classes/BaseTransform.html#GstBase.BaseTransform.do_transform_size\n\nCredits\n-------\n\nThanks to Dustin Spicuzza for writing pygi-treeview-dnd_, which served as a\nbase for writing ``gstbasetransform``.\n\n.. _pygi-treeview-dnd:\n https://github.com/virtuald/pygi-treeview-dnd\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Muges/gstbasetransform", "keywords": "", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "gstbasetransform", "package_url": "https://pypi.org/project/gstbasetransform/", "platform": "", "project_url": "https://pypi.org/project/gstbasetransform/", "project_urls": { "Homepage": "https://github.com/Muges/gstbasetransform" }, "release_url": "https://pypi.org/project/gstbasetransform/0.1.0/", "requires_dist": [ "six" ], "requires_python": "", "summary": "A module that makes GstBase.BaseTransform python-compatible", "version": "0.1.0" }, "last_serial": 3183311, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2170b98d61b9ad63209eb8a0da79bb39", "sha256": "b12fbe9a87c7c242cbb0bfb641e1b150db2850b6430c6e5da689060dce8520cd" }, "downloads": -1, "filename": "gstbasetransform-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2170b98d61b9ad63209eb8a0da79bb39", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15887, "upload_time": "2017-09-18T20:02:27", "url": "https://files.pythonhosted.org/packages/0c/8d/b0c7eedc6befe6621382171e982364a86b775b3aa17515c9338f13c6d956/gstbasetransform-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7860fc56a620eba06762d7bd8b4fa838", "sha256": "733aec2d13e11730885b048038cdef035011f4cd4433fbd4122524e243193e78" }, "downloads": -1, "filename": "gstbasetransform-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7860fc56a620eba06762d7bd8b4fa838", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17359, "upload_time": "2017-09-18T20:02:30", "url": "https://files.pythonhosted.org/packages/b9/c7/ed02d645ab81658e8db2e9fee6e790d0ae1124571b2718fe5bd67f269760/gstbasetransform-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2170b98d61b9ad63209eb8a0da79bb39", "sha256": "b12fbe9a87c7c242cbb0bfb641e1b150db2850b6430c6e5da689060dce8520cd" }, "downloads": -1, "filename": "gstbasetransform-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2170b98d61b9ad63209eb8a0da79bb39", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15887, "upload_time": "2017-09-18T20:02:27", "url": "https://files.pythonhosted.org/packages/0c/8d/b0c7eedc6befe6621382171e982364a86b775b3aa17515c9338f13c6d956/gstbasetransform-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7860fc56a620eba06762d7bd8b4fa838", "sha256": "733aec2d13e11730885b048038cdef035011f4cd4433fbd4122524e243193e78" }, "downloads": -1, "filename": "gstbasetransform-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7860fc56a620eba06762d7bd8b4fa838", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17359, "upload_time": "2017-09-18T20:02:30", "url": "https://files.pythonhosted.org/packages/b9/c7/ed02d645ab81658e8db2e9fee6e790d0ae1124571b2718fe5bd67f269760/gstbasetransform-0.1.0.tar.gz" } ] }