{"id":15046046,"url":"https://github.com/mvasilkov/python-get-video-properties","last_synced_at":"2025-10-25T17:30:40.053Z","repository":{"id":57434097,"uuid":"122074335","full_name":"mvasilkov/python-get-video-properties","owner":"mvasilkov","description":"Get video properties","archived":false,"fork":false,"pushed_at":"2023-12-15T03:58:40.000Z","size":85392,"stargazers_count":21,"open_issues_count":4,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T09:23:41.077Z","etag":null,"topics":["ffmpeg","ffprobe","python","video","video-properties"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mvasilkov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-19T14:31:34.000Z","updated_at":"2024-11-29T06:08:31.000Z","dependencies_parsed_at":"2024-06-19T13:43:56.325Z","dependency_job_id":null,"html_url":"https://github.com/mvasilkov/python-get-video-properties","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"944c68addbc27e320ebc6313d3f016fb69b5e880"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvasilkov%2Fpython-get-video-properties","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvasilkov%2Fpython-get-video-properties/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvasilkov%2Fpython-get-video-properties/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvasilkov%2Fpython-get-video-properties/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mvasilkov","download_url":"https://codeload.github.com/mvasilkov/python-get-video-properties/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238183643,"owners_count":19430161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ffmpeg","ffprobe","python","video","video-properties"],"created_at":"2024-09-24T20:52:38.009Z","updated_at":"2025-10-25T17:30:34.919Z","avatar_url":"https://github.com/mvasilkov.png","language":"Python","readme":"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']}×{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×1080\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvasilkov%2Fpython-get-video-properties","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmvasilkov%2Fpython-get-video-properties","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvasilkov%2Fpython-get-video-properties/lists"}