get-video-len


Nameget-video-len JSON
Version 0.11 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/get_video_len
SummaryGets the duration, frame rate and total frames from a video file
upload_time2022-12-29 15:12:16
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords video duration
VCS
bugtrack_url
requirements opencv_python
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Gets the duration, frame rate and total frames from a video file 

```python
$pip install get-video-len

from pprint import pprint
from get_video_len import get_video_len_and_frames
videoinfos = get_video_len_and_frames(videofile=r"F:\convertedvideossocialnet\newvidxx2.mp4")
pprint(videoinfos)
 {'duration': 139.83983983983984,
  'file_path': 'F:\\convertedvideossocialnet\\newvidxx2.mp4',
  'frame_rate': 29.97,
  'total_frames': 4191.0}

```





            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/get_video_len",
    "name": "get-video-len",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "video,duration",
    "author": "Johannes Fischer",
    "author_email": "<aulasparticularesdealemaosp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/4b/c7/27491ead0f09bd57e1db0f310927f94673637309270ae4ef0df56a92090a/get_video_len-0.11.tar.gz",
    "platform": null,
    "description": "\n# Gets the duration, frame rate and total frames from a video file \n\n```python\n$pip install get-video-len\n\nfrom pprint import pprint\nfrom get_video_len import get_video_len_and_frames\nvideoinfos = get_video_len_and_frames(videofile=r\"F:\\convertedvideossocialnet\\newvidxx2.mp4\")\npprint(videoinfos)\n {'duration': 139.83983983983984,\n  'file_path': 'F:\\\\convertedvideossocialnet\\\\newvidxx2.mp4',\n  'frame_rate': 29.97,\n  'total_frames': 4191.0}\n\n```\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Gets the duration, frame rate and total frames from a video file",
    "version": "0.11",
    "split_keywords": [
        "video",
        "duration"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9e1fdbdf0d1d2b747295a24e1d8d838fbd87f9e5b215ba5e38ff42ac250839f3",
                "md5": "d1f3797f91b2c19e47bff69316552226",
                "sha256": "a19d6aeb561db1b751f5700e87ff0edfad076cdddfb0b7e8cc923c5229093284"
            },
            "downloads": -1,
            "filename": "get_video_len-0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d1f3797f91b2c19e47bff69316552226",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4500,
            "upload_time": "2022-12-29T15:12:14",
            "upload_time_iso_8601": "2022-12-29T15:12:14.606596Z",
            "url": "https://files.pythonhosted.org/packages/9e/1f/dbdf0d1d2b747295a24e1d8d838fbd87f9e5b215ba5e38ff42ac250839f3/get_video_len-0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4bc727491ead0f09bd57e1db0f310927f94673637309270ae4ef0df56a92090a",
                "md5": "5f9c0d9b410845adb2be4dc31d0e0183",
                "sha256": "b8e2b5f91daf6258f3ceebbe675e115568e272c047eb84f326dfd9cf0b638981"
            },
            "downloads": -1,
            "filename": "get_video_len-0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "5f9c0d9b410845adb2be4dc31d0e0183",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3267,
            "upload_time": "2022-12-29T15:12:16",
            "upload_time_iso_8601": "2022-12-29T15:12:16.031875Z",
            "url": "https://files.pythonhosted.org/packages/4b/c7/27491ead0f09bd57e1db0f310927f94673637309270ae4ef0df56a92090a/get_video_len-0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-29 15:12:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "hansalemaos",
    "github_project": "get_video_len",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "opencv_python",
            "specs": []
        }
    ],
    "lcname": "get-video-len"
}
        
Elapsed time: 0.03912s