mixing


Namemixing JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/thorwhalen/mixing
SummaryTools for video and audio editing
upload_time2024-05-24 09:15:27
maintainerNone
docs_urlNone
authorThor Whalen
requires_pythonNone
licensemit
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# mixing
Tools for video and audio editing


To install:	```pip install mixing```


# Examples

## mixing.video

### write_subtitles_in_video


Write subtitles in a video.

Example usage:

```python
>>> from mixing import write_subtitles_in_video
>>> output_path = write_subtitles_in_video("~/Downloads/some_video.mp4") 
```

Which is syntactic sugar for the more explicit:

```python
>>> output_path = write_subtitles_in_video(
...     "~/Downloads/some_video.mp4", 
...     subtitles="~/Downloads/some_video.srt",
...     output_video="~/Downloads/some_video.mp4"
... )  
```


# Further requirements

## FFmpeg

Many of the tools also require `ffmeg`. 

To install FFmpeg on your system, follow the instructions for your operating system below.

### macOS

1. **Using Homebrew:**
   - Open Terminal.
   - Run the following command:
     ```bash
     brew install ffmpeg
     ```

For more details, visit the [FFmpeg installation page for macOS](https://ffmpeg.org/download.html#build-mac).

### Linux

1. **Using the package manager:**
   - For Debian/Ubuntu-based distributions, run:
     ```bash
     sudo apt update
     sudo apt install ffmpeg
     ```
   - For Fedora, run:
     ```bash
     sudo dnf install ffmpeg
     ```
   - For Arch Linux, run:
     ```bash
     sudo pacman -S ffmpeg
     ```

For more details, visit the [FFmpeg installation page for Linux](https://ffmpeg.org/download.html#build-linux).

### Windows

1. **Using Windows builds:**
   - Download the executable from [FFmpeg for Windows](https://ffmpeg.org/download.html#build-windows).
   - Extract the downloaded files and add the `bin` directory to your system's PATH.

For more details, visit the [FFmpeg installation page for Windows](https://ffmpeg.org/download.html#build-windows).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/thorwhalen/mixing",
    "name": "mixing",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Thor Whalen",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/5a/27/120468b49811279e099cddeff7a9775b56bf952f3db8fa9697aa31bf39f0/mixing-0.0.2.tar.gz",
    "platform": "any",
    "description": "\n# mixing\nTools for video and audio editing\n\n\nTo install:\t```pip install mixing```\n\n\n# Examples\n\n## mixing.video\n\n### write_subtitles_in_video\n\n\nWrite subtitles in a video.\n\nExample usage:\n\n```python\n>>> from mixing import write_subtitles_in_video\n>>> output_path = write_subtitles_in_video(\"~/Downloads/some_video.mp4\") \n```\n\nWhich is syntactic sugar for the more explicit:\n\n```python\n>>> output_path = write_subtitles_in_video(\n...     \"~/Downloads/some_video.mp4\", \n...     subtitles=\"~/Downloads/some_video.srt\",\n...     output_video=\"~/Downloads/some_video.mp4\"\n... )  \n```\n\n\n# Further requirements\n\n## FFmpeg\n\nMany of the tools also require `ffmeg`. \n\nTo install FFmpeg on your system, follow the instructions for your operating system below.\n\n### macOS\n\n1. **Using Homebrew:**\n   - Open Terminal.\n   - Run the following command:\n     ```bash\n     brew install ffmpeg\n     ```\n\nFor more details, visit the [FFmpeg installation page for macOS](https://ffmpeg.org/download.html#build-mac).\n\n### Linux\n\n1. **Using the package manager:**\n   - For Debian/Ubuntu-based distributions, run:\n     ```bash\n     sudo apt update\n     sudo apt install ffmpeg\n     ```\n   - For Fedora, run:\n     ```bash\n     sudo dnf install ffmpeg\n     ```\n   - For Arch Linux, run:\n     ```bash\n     sudo pacman -S ffmpeg\n     ```\n\nFor more details, visit the [FFmpeg installation page for Linux](https://ffmpeg.org/download.html#build-linux).\n\n### Windows\n\n1. **Using Windows builds:**\n   - Download the executable from [FFmpeg for Windows](https://ffmpeg.org/download.html#build-windows).\n   - Extract the downloaded files and add the `bin` directory to your system's PATH.\n\nFor more details, visit the [FFmpeg installation page for Windows](https://ffmpeg.org/download.html#build-windows).\n",
    "bugtrack_url": null,
    "license": "mit",
    "summary": "Tools for video and audio editing",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/thorwhalen/mixing"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "adb0acaedef3ecece07cfdbda982934ad9e120a73dc392ab447a8434657dd69c",
                "md5": "f8dd62a6e97d07b2cc1da369c53e81b5",
                "sha256": "d45853aa05b13f0683f7302a8c8b6e135616e82c3271871b65438d3dd1474656"
            },
            "downloads": -1,
            "filename": "mixing-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f8dd62a6e97d07b2cc1da369c53e81b5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4093,
            "upload_time": "2024-05-24T09:14:58",
            "upload_time_iso_8601": "2024-05-24T09:14:58.162402Z",
            "url": "https://files.pythonhosted.org/packages/ad/b0/acaedef3ecece07cfdbda982934ad9e120a73dc392ab447a8434657dd69c/mixing-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a27120468b49811279e099cddeff7a9775b56bf952f3db8fa9697aa31bf39f0",
                "md5": "f5100cdc7171d3f91cf52fce66811342",
                "sha256": "9bd8c13f17281ca54e675f9926897c6c768999cd4bf34b9be5abf07888d65beb"
            },
            "downloads": -1,
            "filename": "mixing-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f5100cdc7171d3f91cf52fce66811342",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3780,
            "upload_time": "2024-05-24T09:15:27",
            "upload_time_iso_8601": "2024-05-24T09:15:27.099339Z",
            "url": "https://files.pythonhosted.org/packages/5a/27/120468b49811279e099cddeff7a9775b56bf952f3db8fa9697aa31bf39f0/mixing-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-24 09:15:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "thorwhalen",
    "github_project": "mixing",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "mixing"
}
        
Elapsed time: 0.49130s