{ "info": { "author": "Mark Vasilkov", "author_email": "mvasilkov@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Topic :: Multimedia :: Sound/Audio", "Topic :: Multimedia :: Video" ], "description": "python-get-video-properties\n===\n\nGet video properties\n\nInstallation\n---\n\n```sh\npip install -U get-video-properties\n```\n\nUsage\n---\n\n```python\nfrom videoprops import get_video_properties\n\nprops = get_video_properties('movie.mp4')\n\nprint(f'''\nCodec: {props['codec_name']}\nResolution: {props['width']}\u00d7{props['height']}\nAspect ratio: {props['display_aspect_ratio']}\nFrame rate: {props['avg_frame_rate']}\n''')\n```\n\n**Sample output**\n\n```text\nCodec: h264\nResolution: 1920\u00d71080\nAspect ratio: 16:9\nFrame rate: 25/1\n```\n\nUsage (audio)\n---\n\n```python\nfrom videoprops import get_audio_properties\n\nprops = get_audio_properties('movie.mp4')\n\nprint(f'''\nCodec: {props['codec_name']}\nChannels: {props['channels']}\nSample rate: {props['sample_rate']}\n''')\n```\n\n**Sample output**\n\n```text\nCodec: opus\nChannels: 2\nSample rate: 48000\n```\n\nCommand-line usage\n---\n\n```sh\nvideoprops movie.mp4\naudioprops movie.mp4\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mvasilkov/python-get-video-properties", "keywords": "ffprobe video audio", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "get-video-properties", "package_url": "https://pypi.org/project/get-video-properties/", "platform": "", "project_url": "https://pypi.org/project/get-video-properties/", "project_urls": { "Homepage": "https://github.com/mvasilkov/python-get-video-properties" }, "release_url": "https://pypi.org/project/get-video-properties/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Get video properties", "version": "0.1.1" }, "last_serial": 5999631, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "36cb9838c48272aa6286bc05c237f8c4", "sha256": "4e99f2a2f2684a64f83f86ab88e7ded01bd639445c006c6a82bf6dc00adaceec" }, "downloads": -1, "filename": "get_video_properties-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "36cb9838c48272aa6286bc05c237f8c4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 42314747, "upload_time": "2018-10-31T16:00:28", "url": "https://files.pythonhosted.org/packages/68/8d/ab2ee5ae7b7c1c3e5c87cd403f4078d9198004efea814cfe2c3ce44035d2/get_video_properties-0.1.0-py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ee2ec61177f833af2a1290c82d75e347", "sha256": "04d4f478a5211917e2a7e87ddfcb1c17734cddf8374494c3993bf825b7ad4192" }, "downloads": -1, "filename": "get_video_properties-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ee2ec61177f833af2a1290c82d75e347", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 45131565, "upload_time": "2019-10-19T11:30:29", "url": "https://files.pythonhosted.org/packages/a6/a7/78f3de52ff5a6a1998d7656f2a07456cb998b82c3ba5cc75c8bb1014f7b6/get_video_properties-0.1.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ee2ec61177f833af2a1290c82d75e347", "sha256": "04d4f478a5211917e2a7e87ddfcb1c17734cddf8374494c3993bf825b7ad4192" }, "downloads": -1, "filename": "get_video_properties-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ee2ec61177f833af2a1290c82d75e347", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 45131565, "upload_time": "2019-10-19T11:30:29", "url": "https://files.pythonhosted.org/packages/a6/a7/78f3de52ff5a6a1998d7656f2a07456cb998b82c3ba5cc75c8bb1014f7b6/get_video_properties-0.1.1-py3-none-any.whl" } ] }