diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 18 |
1 files changed, 8 insertions, 10 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. |
