https://github.com/hansalemaos/vid2frames
Video to frames
https://github.com/hansalemaos/vid2frames
convert ffmpeg frames python videos
Last synced: 11 days ago
JSON representation
Video to frames
- Host: GitHub
- URL: https://github.com/hansalemaos/vid2frames
- Owner: hansalemaos
- License: mit
- Created: 2022-12-28T21:33:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-28T21:33:28.000Z (about 3 years ago)
- Last Synced: 2025-06-08T00:50:52.861Z (8 months ago)
- Topics: convert, ffmpeg, frames, python, videos
- Language: Python
- Homepage: https://pypi.org/project/vid2frames/
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
Converts a video to frames
```python
# ffmpeg needs to be installed!
pip install vid2frames
from vid2frames import convert_video_to_frames
allfiles = convert_video_to_frames(
video=r"F:\newvidxx2.mp4",
output_folder="f:\\outputvi", # folder will be created if it doesn't exists
fps=24,
fileprefix="videoframe",
zfill=8, # videoframe_1.png -> videoframe_0000001.png
)
```