python-video-thumbnail 0.1.0

Creator: railscoderz

Last updated:

Add to Cart

Description:

pythonvideothumbnail 0.1.0

Python Video Thumbnail


Python package for capturing frames from video.
Written as replacement of https://github.com/radek-senfeld/ffvideo package,
and to help with transition of Python 2.7 projects that relay on FFVideo, to Python 3.

Features

Supports file paths and urls
Supports image resizing

Usage
from python_video_thumbnail import VideoFrames

vf = VideoFrames(
source="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
frame_numbers=[6000],
img_options={"width": 128},
format=".png"
)

captured_frames = vf.capture()

with open("captured_frame.png", "wb") as f:
f.write(captured_frames[0].getvalue())


Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.



History
0.1.0 (2021-10-02)

First release on PyPI.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.