video2gif ~ vgif
============================
Programmatically generate animated GIF from video in Python
With this video2gif converter you can upload any format of video and rich media files to turn them into high quality animated GIFs.
Getting Started
------------------------------
1. Install
------------------------------
* pip Install
``pip install vgif -U``
* source Install
1. Clone this repository
2. Run setup from the repository root directory
``python3 setup.py install``
2. Start UP
------------------------------
🅶 GUI
------------------------------
.. image:: https://github.com/Haoke98/video2gif/raw/master/assets/interface.png
:width: 600px
1. Start interface::
vgif-gui
2. Select video file
3. Set options
#. Click button "Start" to start
#. Once started converter will save the output under the same folder ad source video
#. Click button "ReStart" to re-start this process
#. Click button "Exit" to end this program.
The options includes:
* Video Sample Rate : (default sample every 10 frame)
* Output GIF FPS: Set output GIF fps(default 10 fps)
* Video Resize Rate: Shrink video n times smaller (default 2 times smaller)
🅲 CMD
------------------------------
* Usage ::
vgif [OPTIONS]::
Converts video to GIF.
Options:
-i, --input PATH input video file
-o, --output TEXT output gif file path and name.
-s, --scale INTEGER Scale the factor for frame_x and frame_y.
-r, --resolution TEXT The resolution factor for factor ( For Compress ),
like 1920x1080.
-fps, --gif-fps INTEGER The fps of the GIF.
--help Show this message and exit.
* Just Give the Input::
vgif -i /myLocalDir/myVideo.mov
This will generate the GIF with the same name to the same directory as the original file.
* Give the file path for out.::
vgif -i /myLocalDir/myVideo.mov -o /some_dir/out.gif
Raw data
{
"_id": null,
"home_page": "https://github.com/Haoke98/video2gif",
"name": "vgif",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "image video gif",
"author": "Haoke98",
"author_email": "Haoke98@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/ef/01/000307c294d2009bad18991421a42dd74052e7e87dedf683b2ac9a3058e9/vgif-1.0.6.tar.gz",
"platform": null,
"description": "video2gif ~ vgif\n============================\n\nProgrammatically generate animated GIF from video in Python\n\nWith this video2gif converter you can upload any format of video and rich media files to turn them into high quality animated GIFs.\n\nGetting Started\n------------------------------\n\n1. Install\n------------------------------\n\n* pip Install\n ``pip install vgif -U``\n* source Install\n 1. Clone this repository\n 2. Run setup from the repository root directory\n ``python3 setup.py install``\n\n2. Start UP\n------------------------------\n\n\ud83c\udd76 GUI\n------------------------------\n\n.. image:: https://github.com/Haoke98/video2gif/raw/master/assets/interface.png\n :width: 600px\n\n1. Start interface::\n\n vgif-gui\n\n\n\n2. Select video file\n3. Set options\n#. Click button \"Start\" to start\n#. Once started converter will save the output under the same folder ad source video\n#. Click button \"ReStart\" to re-start this process\n#. Click button \"Exit\" to end this program.\n\nThe options includes:\n\n* Video Sample Rate : (default sample every 10 frame)\n* Output GIF FPS: Set output GIF fps(default 10 fps)\n* Video Resize Rate: Shrink video n times smaller (default 2 times smaller)\n\n\ud83c\udd72 CMD\n------------------------------\n* Usage ::\n\n vgif [OPTIONS]::\n\n Converts video to GIF.\n\n Options:\n -i, --input PATH input video file\n -o, --output TEXT output gif file path and name.\n -s, --scale INTEGER Scale the factor for frame_x and frame_y.\n -r, --resolution TEXT The resolution factor for factor ( For Compress ),\n like 1920x1080.\n\n -fps, --gif-fps INTEGER The fps of the GIF.\n --help Show this message and exit.\n\n* Just Give the Input::\n\n vgif -i /myLocalDir/myVideo.mov\n\n This will generate the GIF with the same name to the same directory as the original file.\n\n\n* Give the file path for out.::\n\n vgif -i /myLocalDir/myVideo.mov -o /some_dir/out.gif\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "https://github.com/Haoke98/video2gif",
"version": "1.0.6",
"project_urls": {
"Homepage": "https://github.com/Haoke98/video2gif"
},
"split_keywords": [
"image",
"video",
"gif"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "672db0492c464e32987a8506ce50ba3affa7048e7dd4c2359793c724a5cdf5d8",
"md5": "23f5d572fe7f90f5abb99d42a96fd58e",
"sha256": "c5917338a0162686624be1ff72ac518118d18ba1a4b317fec13959b0d27d48b2"
},
"downloads": -1,
"filename": "vgif-1.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "23f5d572fe7f90f5abb99d42a96fd58e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5818,
"upload_time": "2024-02-20T12:08:10",
"upload_time_iso_8601": "2024-02-20T12:08:10.313120Z",
"url": "https://files.pythonhosted.org/packages/67/2d/b0492c464e32987a8506ce50ba3affa7048e7dd4c2359793c724a5cdf5d8/vgif-1.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ef01000307c294d2009bad18991421a42dd74052e7e87dedf683b2ac9a3058e9",
"md5": "c59659437bcf41eb89acffbdc7345264",
"sha256": "6052567ace66e7364dfd71a74fe052cc618fffe410603fab6ada679ca7a89696"
},
"downloads": -1,
"filename": "vgif-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "c59659437bcf41eb89acffbdc7345264",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 6169,
"upload_time": "2024-02-20T12:08:12",
"upload_time_iso_8601": "2024-02-20T12:08:12.316775Z",
"url": "https://files.pythonhosted.org/packages/ef/01/000307c294d2009bad18991421a42dd74052e7e87dedf683b2ac9a3058e9/vgif-1.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-20 12:08:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Haoke98",
"github_project": "video2gif",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "vgif"
}