15 lines
717 B
Markdown
15 lines
717 B
Markdown
# How to use script.ps1
|
|
|
|
This script is designed to convert any images and/or gifs to webm extension so that they can be used to create animated sticker/emoji packs in Telegram.
|
|
|
|
## Setup
|
|
|
|
1. Install ffmpeg and ffprobe on your system if they are not already installed.
|
|
2. Clone this repository and navigate to the directory containing script.ps1.
|
|
3. Create a directory named "input" and populate it with the images and/or gifs you want to convert.
|
|
4. Run the following command in your terminal: `& script.ps1`
|
|
|
|
## Output
|
|
|
|
The script will output the converted webm files to a directory named "output". The files will be named the same as the input files but with a .webm extension instead of their original extension.
|