clipstitcher


Nameclipstitcher JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/LiborKudela/clipsticher
SummaryA python package for quick cutting video sequences
upload_time2024-03-11 17:03:40
maintainer
docs_urlNone
authorLibor Kudela
requires_python>3.8.0
license
keywords video editing sequence rendering
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <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  
python3 -m pip install git+https://github.com/LiborKudela/clipsticher.git
```  

## 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)
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/LiborKudela/clipsticher",
    "name": "clipstitcher",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">3.8.0",
    "maintainer_email": "",
    "keywords": "video,editing,sequence,rendering",
    "author": "Libor Kudela",
    "author_email": "libor.kudela1@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6b/81/aa5c73964e23db55b3e51c1943fd78ddc10a5c82465766bd24f76fceddf3/clipstitcher-0.1.0.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n<b style=\"font-size:320%;\">ClipStitcher</b>\n<p style=\"font-size:120%;\">\nA simple tool to automaticaly create video sequences with simple edits<br>\n( does not process audio yet )\n</p>\n  <img src=\"logo.png?raw=True\" width=\"250\"/>\n</div>\n\n## Instalation instruction using pip\n```bash  \npython3 -m pip install git+https://github.com/LiborKudela/clipsticher.git\n```  \n\n## Quick documentation:\n\n**Start with importing the package:**\n```python\nfrom clipstitcher import *\n```\n\n**How to create scenes:**\n```python\nmy_scene_1 = Image(\"path_to_my_img.jpg\", duration=5)\nmy_scene_2 = Video(\"path_to_my_video.mp4\")\nscene_seq = Scene_sequence([my_scene_1, my_scene_2])\n```\n\n**How to play or render any scene:**\n```python\nmy_scene_1.play()\nmy_scene_2.render()\nscene_seq.render(threads=2) # renders in parallel (default threads=1)\n```\n\n**Or more specific instructions:**\n```python\nmy_scene_1.play(start=start_frame_int, stop=stop_frame_int)\nscene_seq.render(start=start_frame_int, stop=stop_frame_int, output=\"my_video.avi\")\n```\n\n**We can nest scenes arbitrarily:**\n```python\ndeepest_level = Video(\"path_to_my_video.mp4\")\nmiddle_level = Overlay(deepest_scene, \"path_to_my_overlay.jpg\")\nalmost_top_level = Overlay(middle_level_scene, \"path_to_different_overlay.jpg\")\nthe_most_top_level = Scene_sequence([deepest_level, middle_level, almost_top_level])\nthe_most_top_level.render(\"getting_deeper.avi\")\n```\n\n**All available scenes with their args and kwargs:**\n```python\nImage(filepath, duration=5)\nHtmlPage(url_or_filepath_or_htmlstring, duration=5)\nTweet(url, duration=5)\nload_tweets_from_file(\"path_to_text_file_with_urls\", duration=5)\nVideo(\"filepath\")\nload_videos_from_folder(\"path_to_folder_full_of_videos\")\nOverlay(scene, \"overlay_filepath\", screen_color = [0, 255, 0])\nScene_sequence(list_of_scenes)\n```\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A python package for quick cutting video sequences",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/LiborKudela/clipsticher"
    },
    "split_keywords": [
        "video",
        "editing",
        "sequence",
        "rendering"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "646952d38b67e0391f320c6c5797ae67fbb6da857dda69d4fe2c3e2cec9dcafc",
                "md5": "1eba18776c6e9d5d98cdf2bac4435a7a",
                "sha256": "0bea436508af46f1819d65de73acb79636e3d6277eaaa64615c68150488d3b48"
            },
            "downloads": -1,
            "filename": "clipstitcher-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1eba18776c6e9d5d98cdf2bac4435a7a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">3.8.0",
            "size": 11050,
            "upload_time": "2024-03-11T17:03:38",
            "upload_time_iso_8601": "2024-03-11T17:03:38.412827Z",
            "url": "https://files.pythonhosted.org/packages/64/69/52d38b67e0391f320c6c5797ae67fbb6da857dda69d4fe2c3e2cec9dcafc/clipstitcher-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6b81aa5c73964e23db55b3e51c1943fd78ddc10a5c82465766bd24f76fceddf3",
                "md5": "9887a9c40fde2342bf3da6026db4a7a1",
                "sha256": "9c713f96d3d8a7867e44bcfed26e399c1a7fc9470b9536bf72c002cf17b179c1"
            },
            "downloads": -1,
            "filename": "clipstitcher-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9887a9c40fde2342bf3da6026db4a7a1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">3.8.0",
            "size": 10997,
            "upload_time": "2024-03-11T17:03:40",
            "upload_time_iso_8601": "2024-03-11T17:03:40.197957Z",
            "url": "https://files.pythonhosted.org/packages/6b/81/aa5c73964e23db55b3e51c1943fd78ddc10a5c82465766bd24f76fceddf3/clipstitcher-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-11 17:03:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "LiborKudela",
    "github_project": "clipsticher",
    "github_not_found": true,
    "lcname": "clipstitcher"
}
        
Elapsed time: 0.20978s