From 84e5548599a0145daeade340d2afd90ad32a614d Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Sun, 15 Sep 2024 13:34:00 +0300 Subject: Fix readme --- README.md | 18 ++++++++---------- pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 376815c..eaded00 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,6 @@ ## Installation -To install `video2story`, use pip: - ```bash pip install video2story ``` @@ -14,24 +12,24 @@ pip install video2story ### 1. Process the video +Split the video into segments. + ```bash video2story video input.mp4 output_dir/ ``` -First, split the video into segments. Replace `input.mp4` with the path to your video file and `output_dir/` with the directory where you want to save the processed segments: - -By default, the video will be cut into 60-second segments. To change that, use the `-d` option and specify the duration in seconds: +Replace `input.mp4` with the path to your video file and `output_dir/` with the directory where you want to save the processed segments. By default, the video will be cut into 60-second segments. To change that, use the `-d` option and specify the duration in seconds: ### 2. Upload the processed video +Upload the video segments to your Telegram account. + ```bash -video2story PHONE_NUMBER output_dir/ -p friends +video2story story PHONE_NUMBER output_dir/ -p friends ``` -Replace `PHONE_NUMBER` with your Telegram phone number and `output_dir/` with the directory containing the processed video segments. - -The `-p` option allows you to choose the privacy level for your story. For more options and detailed information, use the `--help` flag. +Replace `PHONE_NUMBER` with your Telegram phone number and `output_dir/` with the directory containing the processed video segments. The `-p` option allows you to choose the privacy level for your story. For more options and detailed information, use the `--help` flag. ## License -This project is licensed under the GPL (GNU General Public License). See the [LICENSE](/LICENSE) file for more details. +This project is licensed under the GPL (GNU General Public License). See the [LICENSE](https://codeberg.org/igorechek06/video2story/src/branch/v1/LICENSE) file for more details. diff --git a/pyproject.toml b/pyproject.toml index 5317250..61f6a59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "video2story" -version = "1.0.1" +version = "1.0.2" description = "Simple telegram story uploader" repository = "https://codeberg.org/igorechek06/video2story" authors = ["Tolmachev Igor "] -- cgit v1.2.3