Renaming stuff, adding README.md
This commit is contained in:
parent
ed99983cc2
commit
b804f628ae
|
@ -0,0 +1,20 @@
|
||||||
|
# video-to-gif
|
||||||
|
```
|
||||||
|
usage: video_to_gif.py [-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
|
||||||
|
```
|
|
@ -11,7 +11,7 @@ from typing import Any, Dict, List
|
||||||
|
|
||||||
def get_args() -> Dict[str, Any]:
|
def get_args() -> Dict[str, Any]:
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
prog='GIF Make',
|
prog='video_to_gif.py',
|
||||||
description='Use ffmpeg to make GIFs from videos',
|
description='Use ffmpeg to make GIFs from videos',
|
||||||
epilog='— Be gay and do crime')
|
epilog='— Be gay and do crime')
|
||||||
parser.add_argument('-i', '--input', type=str, required=True,
|
parser.add_argument('-i', '--input', type=str, required=True,
|
Loading…
Reference in New Issue