vcompy


Namevcompy JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/dot-six/vcompy
SummaryVideo compiler
upload_time2022-12-21 08:22:13
maintainer
docs_urlNone
authorHanz <hanz@godot.id>
requires_python
licenseMIT License
keywords video editing ffmpeg
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # VComp
Video compiler framework

## Getting started
```python
from vcompy import Video, Text, Compiler

FPS = 60
VIDEO_SIZE = (1280, 720)

vid = Video.from_file("/path/to/file.mp4")
text = Text("Hey, this thing is working!", font="/path/to/font", fontsize=16, duration=(2 * FPS), position=(0, 0))

compiler = Compiler.simple([vid, tex])
compiler.duration = 2 * FPS
compiler.fps = FPS
compiler.size = VIDEO_SIZE

for progress in compiler.save_as("output.mp4"):
	print(f"{progress}/{compiler.get_duration()}", end='\r')

print()
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dot-six/vcompy",
    "name": "vcompy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "video editing ffmpeg",
    "author": "Hanz <hanz@godot.id>",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/b4/a8/01c36cc7910c0c15204ca55f899ebe789dc36be5dbf86147d13952932530/vcompy-0.1.0.tar.gz",
    "platform": null,
    "description": "# VComp\nVideo compiler framework\n\n## Getting started\n```python\nfrom vcompy import Video, Text, Compiler\n\nFPS = 60\nVIDEO_SIZE = (1280, 720)\n\nvid = Video.from_file(\"/path/to/file.mp4\")\ntext = Text(\"Hey, this thing is working!\", font=\"/path/to/font\", fontsize=16, duration=(2 * FPS), position=(0, 0))\n\ncompiler = Compiler.simple([vid, tex])\ncompiler.duration = 2 * FPS\ncompiler.fps = FPS\ncompiler.size = VIDEO_SIZE\n\nfor progress in compiler.save_as(\"output.mp4\"):\n\tprint(f\"{progress}/{compiler.get_duration()}\", end='\\r')\n\nprint()\n```\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Video compiler",
    "version": "0.1.0",
    "split_keywords": [
        "video",
        "editing",
        "ffmpeg"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "e7ae9b67297b18c3dd6813305da87a76",
                "sha256": "558165e1955c763e1e1ce580252b0d2e37a19a1874bf4ebaf51da123a15079f3"
            },
            "downloads": -1,
            "filename": "vcompy-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e7ae9b67297b18c3dd6813305da87a76",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5075,
            "upload_time": "2022-12-21T08:22:11",
            "upload_time_iso_8601": "2022-12-21T08:22:11.233674Z",
            "url": "https://files.pythonhosted.org/packages/be/01/0c338fe04966d3f5715c1b130a46c69aede17ea3f0c7b5bb7c1ba828de74/vcompy-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "c8fa0c48bcc0cf94cbc6f9bf6bea5a98",
                "sha256": "a8d8dd081a9d13fd336c74a0b2817df1e6d1aa402603cf46859036d24be0f622"
            },
            "downloads": -1,
            "filename": "vcompy-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "c8fa0c48bcc0cf94cbc6f9bf6bea5a98",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3882,
            "upload_time": "2022-12-21T08:22:13",
            "upload_time_iso_8601": "2022-12-21T08:22:13.377287Z",
            "url": "https://files.pythonhosted.org/packages/b4/a8/01c36cc7910c0c15204ca55f899ebe789dc36be5dbf86147d13952932530/vcompy-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-21 08:22:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "dot-six",
    "github_project": "vcompy",
    "lcname": "vcompy"
}
        
Elapsed time: 0.04565s