Skip to main content

Gets the duration, frame rate and total frames from a video file

$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}

Metadata

Release files for get-video-len 0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for get-video-len 0.11
File Size Uploaded Provenance Actions
get_video_len-0.11.tar.gz 3.3 kB Without provenance Details for get_video_len-0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for get-video-len 0.11
File Interpreter ABI Platform Actions
get_video_len-0.11-py3-none-any.whl Python 3 none any Details for get_video_len-0.11-py3-none-any.whl

Total release size: 7.8 kB

Release files / get_video_len-0.11.tar.gz

Download URL get_video_len-0.11.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b8e2b5f91daf6258f3ceebbe675e115568e272c047eb84f326dfd9cf0b638981
BLAKE2b-256 checksum
How to use checksums
4bc727491ead0f09bd57e1db0f310927f94673637309270ae4ef0df56a92090a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / get_video_len-0.11-py3-none-any.whl

Download URL get_video_len-0.11-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a19d6aeb561db1b751f5700e87ff0edfad076cdddfb0b7e8cc923c5229093284
BLAKE2b-256 checksum
How to use checksums
9e1fdbdf0d1d2b747295a24e1d8d838fbd87f9e5b215ba5e38ff42ac250839f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for get-video-len 0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.11 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page