From a06164dc3fac5a44977b5fc4cd262cec529187d4 Mon Sep 17 00:00:00 2001 From: Amber Date: Fri, 28 Jun 2024 23:03:23 -0400 Subject: [PATCH] Renaming stuff, adding README.md --- README.md | 20 ++++++++++++++++++++ gifmake.py => video_to_gif.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 README.md rename gifmake.py => video_to_gif.py (99%) diff --git a/README.md b/README.md new file mode 100644 index 0000000..0f0a683 --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# video-to-gif +``` +usage: video-to-gif [-h] -i INPUT [-w WIDTH] [-r FRAMERATE] [-t TAG] [-f] [-c] + +Use ffmpeg to make GIFs from videos + +options: + -h, --help show this help message and exit + -i INPUT, --input INPUT + Input pattern like '/users/MyName/Videos/*.mov' + -w WIDTH, --width WIDTH + Width of the GIF in pixels, respecting aspect ratio + -r FRAMERATE, --framerate FRAMERATE + Framerate of GIF + -t TAG, --tag TAG Optional tag included in file name + -f, --force_palette Force regeneration of GIF color palettes + -c, --clean_up Delete color palettes after finishing GIFs + +— Be gay and do crime +``` \ No newline at end of file diff --git a/gifmake.py b/video_to_gif.py similarity index 99% rename from gifmake.py rename to video_to_gif.py index 724dc46..14ccbbd 100644 --- a/gifmake.py +++ b/video_to_gif.py @@ -11,7 +11,7 @@ from typing import Any, Dict, List def get_args() -> Dict[str, Any]: parser = argparse.ArgumentParser( - prog='GIF Make', + prog='video-to-gif', description='Use ffmpeg to make GIFs from videos', epilog='— Be gay and do crime') parser.add_argument('-i', '--input', type=str, required=True,