Gets the duration, frame rate and total frames from a video file
Project description
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}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
get_video_len-0.11.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file get_video_len-0.11.tar.gz.
File metadata
- Download URL: get_video_len-0.11.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8e2b5f91daf6258f3ceebbe675e115568e272c047eb84f326dfd9cf0b638981
|
|
| MD5 |
5f9c0d9b410845adb2be4dc31d0e0183
|
|
| BLAKE2b-256 |
4bc727491ead0f09bd57e1db0f310927f94673637309270ae4ef0df56a92090a
|
File details
Details for the file get_video_len-0.11-py3-none-any.whl.
File metadata
- Download URL: get_video_len-0.11-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a19d6aeb561db1b751f5700e87ff0edfad076cdddfb0b7e8cc923c5229093284
|
|
| MD5 |
d1f3797f91b2c19e47bff69316552226
|
|
| BLAKE2b-256 |
9e1fdbdf0d1d2b747295a24e1d8d838fbd87f9e5b215ba5e38ff42ac250839f3
|