<h2>Converts a video to frames </h2>
```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
)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/vid2frames",
"name": "vid2frames",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "videos,frames,convert",
"author": "Johannes Fischer",
"author_email": "<aulasparticularesdealemaosp@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/69/f6/809e60a50b8dcb87b8ba83ee85f8af7ed825079e6e1468e9fe3116db206a/vid2frames-0.10.tar.gz",
"platform": null,
"description": "\n<h2>Converts a video to frames </h2>\n\n\n\n\n\n```python\n\n# ffmpeg needs to be installed! \n\npip install vid2frames\n\nfrom vid2frames import convert_video_to_frames\n\nallfiles = convert_video_to_frames(\n\n video=r\"F:\\newvidxx2.mp4\",\n\n output_folder=\"f:\\\\outputvi\", # folder will be created if it doesn't exists\n\n fps=24,\n\n fileprefix=\"videoframe\",\n\n zfill=8, # videoframe_1.png -> videoframe_0000001.png\n\n)\n\n\n\n\n\n\n\n```\n\n\n\n\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Video to frames",
"version": "0.10",
"split_keywords": [
"videos",
"frames",
"convert"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "7049367c2adc31d093f17c828e5566de",
"sha256": "e328906b10f894e58e01438640553b8d054fcae3be4e90f4ce917358142ca7ae"
},
"downloads": -1,
"filename": "vid2frames-0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7049367c2adc31d093f17c828e5566de",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4631,
"upload_time": "2022-12-28T21:33:22",
"upload_time_iso_8601": "2022-12-28T21:33:22.016399Z",
"url": "https://files.pythonhosted.org/packages/71/53/9bb6e1fe428fa7b13620395eced50f1b300d0abb2062a4eac1bd966d3c30/vid2frames-0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "9884688f13c9bcade7ed9aa21825ddc1",
"sha256": "4503992550308bfbf2df9c274fb94ff3e647c5a315b0f8d117298f101dc6efa4"
},
"downloads": -1,
"filename": "vid2frames-0.10.tar.gz",
"has_sig": false,
"md5_digest": "9884688f13c9bcade7ed9aa21825ddc1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3411,
"upload_time": "2022-12-28T21:33:23",
"upload_time_iso_8601": "2022-12-28T21:33:23.528746Z",
"url": "https://files.pythonhosted.org/packages/69/f6/809e60a50b8dcb87b8ba83ee85f8af7ed825079e6e1468e9fe3116db206a/vid2frames-0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-28 21:33:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "hansalemaos",
"github_project": "vid2frames",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "vid2frames"
}