Metadata-Version: 2.4
Name: clipstitcher
Version: 0.2.5
Summary: A python package for quick cutting video sequences
Home-page: https://github.com/LiborKudela/clipsticher
Author: Libor Kudela
Author-email: libor.kudela1@gmail.com
Keywords: video,editing,sequence,rendering
Classifier: Natural Language :: English
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: Python :: 3.8
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >3.8.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.20.2
Requires-Dist: opencv-python>=4.6.0.66
Requires-Dist: requests>=2.28.1
Requires-Dist: selenium>=4.6.0
Requires-Dist: tqdm>=4.64.1
Requires-Dist: python-vlc>=3.0.20123
Requires-Dist: tqdm>=4.66.1
Requires-Dist: paramiko>=3.2.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

<div align="center">
<b style="font-size:320%;">ClipStitcher</b>
<p style="font-size:120%;">
A simple tool to automaticaly create video sequences with simple edits<br>
( does not process audio yet )
</p>
  <img src="logo.png?raw=True" width="250"/>
</div>

## Instalation instruction using pip
```bash  
pip instal clipstitcher
```  

## Quick documentation:

**Start with importing the package:**
```python
from clipstitcher import *
```

**How to create scenes:**
```python
my_scene_1 = Image("path_to_my_img.jpg", duration=5)
my_scene_2 = Video("path_to_my_video.mp4")
scene_seq = Scene_sequence([my_scene_1, my_scene_2])
```

**How to play or render any scene:**
```python
my_scene_1.play()
my_scene_2.render()
scene_seq.render(threads=2) # renders in parallel (default threads=1)
```

**Or more specific instructions:**
```python
my_scene_1.play(start=start_frame_int, stop=stop_frame_int)
scene_seq.render(start=start_frame_int, stop=stop_frame_int, output="my_video.avi")
```

**We can nest scenes arbitrarily:**
```python
deepest_level = Video("path_to_my_video.mp4")
middle_level = Overlay(deepest_scene, "path_to_my_overlay.jpg")
almost_top_level = Overlay(middle_level_scene, "path_to_different_overlay.jpg")
the_most_top_level = Scene_sequence([deepest_level, middle_level, almost_top_level])
the_most_top_level.render("getting_deeper.avi")
```

**All available scenes with their args and kwargs:**
```python
Image(filepath, duration=5)
HtmlPage(url_or_filepath_or_htmlstring, duration=5)
Tweet(url, duration=5)
load_tweets_from_file("path_to_text_file_with_urls", duration=5)
Video("filepath")
load_videos_from_folder("path_to_folder_full_of_videos")
Overlay(scene, "overlay_filepath", screen_color = [0, 255, 0])
Scene_sequence(list_of_scenes)
```


