diff options
| author | Tolmachev Igor <me@igorek.dev> | 2024-09-15 13:34:00 +0300 |
|---|---|---|
| committer | Tolmachev Igor <me@igorek.dev> | 2024-09-15 13:40:42 +0300 |
| commit | 84e5548599a0145daeade340d2afd90ad32a614d (patch) | |
| tree | 1d95281e1cdbac8e468854c737b50c0ea9d85b41 | |
| parent | 19606a6ac95e83a33c1173dba3e5d6f9f8fb9f94 (diff) | |
| download | video2story-84e5548599a0145daeade340d2afd90ad32a614d.tar.gz video2story-84e5548599a0145daeade340d2afd90ad32a614d.zip | |
Fix readme
| -rw-r--r-- | README.md | 18 | ||||
| -rw-r--r-- | pyproject.toml | 2 |
2 files changed, 9 insertions, 11 deletions
| @@ -4,8 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | ## Installation | 5 | ## Installation |
| 6 | 6 | ||
| 7 | To install `video2story`, use pip: | ||
| 8 | |||
| 9 | ```bash | 7 | ```bash |
| 10 | pip install video2story | 8 | pip install video2story |
| 11 | ``` | 9 | ``` |
| @@ -14,24 +12,24 @@ pip install video2story | |||
| 14 | 12 | ||
| 15 | ### 1. Process the video | 13 | ### 1. Process the video |
| 16 | 14 | ||
| 15 | Split the video into segments. | ||
| 16 | |||
| 17 | ```bash | 17 | ```bash |
| 18 | video2story video input.mp4 output_dir/ | 18 | video2story video input.mp4 output_dir/ |
| 19 | ``` | 19 | ``` |
| 20 | 20 | ||
| 21 | 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: | 21 | 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: |
| 22 | |||
| 23 | By default, the video will be cut into 60-second segments. To change that, use the `-d` option and specify the duration in seconds: | ||
| 24 | 22 | ||
| 25 | ### 2. Upload the processed video | 23 | ### 2. Upload the processed video |
| 26 | 24 | ||
| 25 | Upload the video segments to your Telegram account. | ||
| 26 | |||
| 27 | ```bash | 27 | ```bash |
| 28 | video2story PHONE_NUMBER output_dir/ -p friends | 28 | video2story story PHONE_NUMBER output_dir/ -p friends |
| 29 | ``` | 29 | ``` |
| 30 | 30 | ||
| 31 | Replace `PHONE_NUMBER` with your Telegram phone number and `output_dir/` with the directory containing the processed video segments. | 31 | 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. |
| 32 | |||
| 33 | The `-p` option allows you to choose the privacy level for your story. For more options and detailed information, use the `--help` flag. | ||
| 34 | 32 | ||
| 35 | ## License | 33 | ## License |
| 36 | 34 | ||
| 37 | This project is licensed under the GPL (GNU General Public License). See the [LICENSE](/LICENSE) file for more details. | 35 | 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 @@ | |||
| 1 | [tool.poetry] | 1 | [tool.poetry] |
| 2 | name = "video2story" | 2 | name = "video2story" |
| 3 | version = "1.0.1" | 3 | version = "1.0.2" |
| 4 | description = "Simple telegram story uploader" | 4 | description = "Simple telegram story uploader" |
| 5 | repository = "https://codeberg.org/igorechek06/video2story" | 5 | repository = "https://codeberg.org/igorechek06/video2story" |
| 6 | authors = ["Tolmachev Igor <me@igorek.dev>"] | 6 | authors = ["Tolmachev Igor <me@igorek.dev>"] |
