autovid


Nameautovid JSON
Version 0.0.2 PyPI version JSON
download
home_pageNone
SummaryGenerate Reddit Text-to-Speech videos
upload_time2024-07-24 12:54:09
maintainerNone
docs_urlNone
authorAjinkya Talekar
requires_pythonNone
licenseNone
keywords python reddit tts video generator automation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Autovid
Python package to automate and simplify video creation.

## What It Does
Autovid simplifies the text-to-speech video creation process by producing beautifully edited videos with minimal commands. :sparkles:

https://github.com/user-attachments/assets/ff08d7fc-5804-4ec7-930b-4a55bc38a834

## :rocket: Getting Started

### Prerequisites
- Obtain a client key and secret from Reddit by creating an app [here](https://old.reddit.com/prefs/apps/).
- Install autovid via pip
   
   ```sh
   pip install autovid
   ```

### Usage
- Import autovid and update the Reddit API id and secret to let autovid access Reddit.
  ```py
   import autovid as av
   
   av.api_keys.client_id = "my_client_id"
   av.api_keys.client_secret = "my_client_secret"
   ```

- Autovid creates 'clips' that are combined to create the final video. Use the ```redditpostclip``` or ```redditcommentclip``` methods to create clips that can be passed to the ```makevideo``` method to generate the video.
   ```py
   q = [
      av.redditpostclip("https://www.reddit.com/r/reddit.com/comments/87/the_downing_street_memo/"),
      av.redditcommentclip("https://www.reddit.com/r/reddit.com/comments/87/comment/c16lbx4"),
   ]
   
   av.makevideo(queue=q)
   ```

That's it! You can find your final video saved as ```temp/final.mp4```!

### Advanced
You can pass in parameters to the ```makevideo``` method to tweak the final video.
- Adding background audio and video:
  
   ```py
   q = [
      av.redditpostclip("https://www.reddit.com/r/reddit.com/comments/87/the_downing_street_memo/"),
   ]
   
   av.makevideo(queue=q, background_audio_path="lofi_music.mp3", background_video_path="minecraft.mp4")
   ```
   Autovid will use these to add background music and videos to the final output. A 720p video works best!



            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "autovid",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, reddit, tts, video generator, automation",
    "author": "Ajinkya Talekar",
    "author_email": "ajinkyat@buffalo.edu",
    "download_url": "https://files.pythonhosted.org/packages/eb/21/9e7e529b19a4e9799592d2bc3c708345ab76474d87a0f6ac8b2d1caab1d9/autovid-0.0.2.tar.gz",
    "platform": null,
    "description": "# Autovid\nPython package to automate and simplify video creation.\n\n## What It Does\nAutovid simplifies the text-to-speech video creation process by producing beautifully edited videos with minimal commands. :sparkles:\n\nhttps://github.com/user-attachments/assets/ff08d7fc-5804-4ec7-930b-4a55bc38a834\n\n## :rocket: Getting Started\n\n### Prerequisites\n- Obtain a client key and secret from Reddit by creating an app [here](https://old.reddit.com/prefs/apps/).\n- Install autovid via pip\n   \n   ```sh\n   pip install autovid\n   ```\n\n### Usage\n- Import autovid and update the Reddit API id and secret to let autovid access Reddit.\n  ```py\n   import autovid as av\n   \n   av.api_keys.client_id = \"my_client_id\"\n   av.api_keys.client_secret = \"my_client_secret\"\n   ```\n\n- Autovid creates 'clips' that are combined to create the final video. Use the ```redditpostclip``` or ```redditcommentclip``` methods to create clips that can be passed to the ```makevideo``` method to generate the video.\n   ```py\n   q = [\n      av.redditpostclip(\"https://www.reddit.com/r/reddit.com/comments/87/the_downing_street_memo/\"),\n      av.redditcommentclip(\"https://www.reddit.com/r/reddit.com/comments/87/comment/c16lbx4\"),\n   ]\n   \n   av.makevideo(queue=q)\n   ```\n\nThat's it! You can find your final video saved as ```temp/final.mp4```!\n\n### Advanced\nYou can pass in parameters to the ```makevideo``` method to tweak the final video.\n- Adding background audio and video:\n  \n   ```py\n   q = [\n      av.redditpostclip(\"https://www.reddit.com/r/reddit.com/comments/87/the_downing_street_memo/\"),\n   ]\n   \n   av.makevideo(queue=q, background_audio_path=\"lofi_music.mp3\", background_video_path=\"minecraft.mp4\")\n   ```\n   Autovid will use these to add background music and videos to the final output. A 720p video works best!\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Generate Reddit Text-to-Speech videos",
    "version": "0.0.2",
    "project_urls": null,
    "split_keywords": [
        "python",
        " reddit",
        " tts",
        " video generator",
        " automation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "80ec6c2e1639dfd568f54050c7e88bd4e220ce3597e63e02a753544bdae816ec",
                "md5": "a854cea484b28e7fe118cd63595d3ae3",
                "sha256": "09bde3508eb0c404f147589a66e5202e6f0a86a29e9d955dece165f8045aa25d"
            },
            "downloads": -1,
            "filename": "autovid-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a854cea484b28e7fe118cd63595d3ae3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5594,
            "upload_time": "2024-07-24T12:54:08",
            "upload_time_iso_8601": "2024-07-24T12:54:08.194636Z",
            "url": "https://files.pythonhosted.org/packages/80/ec/6c2e1639dfd568f54050c7e88bd4e220ce3597e63e02a753544bdae816ec/autovid-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eb219e7e529b19a4e9799592d2bc3c708345ab76474d87a0f6ac8b2d1caab1d9",
                "md5": "7b1c7616f359a6b16e7cf668b2063999",
                "sha256": "b9d8cd80dbcedc1c27c3b737b51cf90c45a269cf1ef83b0f4b36f5a3cf388165"
            },
            "downloads": -1,
            "filename": "autovid-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7b1c7616f359a6b16e7cf668b2063999",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4459,
            "upload_time": "2024-07-24T12:54:09",
            "upload_time_iso_8601": "2024-07-24T12:54:09.210293Z",
            "url": "https://files.pythonhosted.org/packages/eb/21/9e7e529b19a4e9799592d2bc3c708345ab76474d87a0f6ac8b2d1caab1d9/autovid-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-24 12:54:09",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "autovid"
}
        
Elapsed time: 0.68950s