ffmpeg-input


Nameffmpeg-input JSON
Version 0.1.24 PyPI version JSON
download
home_pagehttps://github.com/insight-platform/FFmpeg-Input
SummaryFFMpeg Source Accessor Library
upload_time2024-04-26 11:43:07
maintainerNone
docs_urlNone
authorIvan Kudriavtsev <ivan.a.kudryavtsev@gmail.com>
requires_python>=3.8
licenseApache-2.0
keywords ffmpeg video
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # FFmpeg Source Input Library

FFmpeg Input Library is a small library aimed at receiving raw or decoded (RGB) frames from FFmpeg into a python program. 
You can pass to ffmpeg required arguments and url and get the frames like opencv does. The library 
provides the direct access to the ffmpeg library without the launching of the ffmpeg binary. 
The frames are in raw binary format and must be processed separately.


### Install Prebuilt Wheels

```bash
pip install ffmpeg-input 
```

### Build In Docker (Manylinux_2_28)

```bash
# certain python version (decreases build time)
#
docker build  -t ffmpeg_input -f docker/Dockerfile.manylinux_2_28_X64 --build-arg PYTHON_INTERPRETER=/opt/python/cp38-cp38/bin/python .
# all manylinux versions
#
docker build -t ffmpeg_input -f docker/Dockerfile.manylinux_2_28_X64 .

# copy wheels from docker
#
docker run --rm -it -v $(pwd)/distfiles:/tmp ffmpeg_input cp -R /opt/dist /tmp
```

### Try It

```
RUST_LOG=debug python3 test.py
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/insight-platform/FFmpeg-Input",
    "name": "ffmpeg-input",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "FFmpeg, Video",
    "author": "Ivan Kudriavtsev <ivan.a.kudryavtsev@gmail.com>",
    "author_email": "Ivan Kudriavtsev <ivan.a.kudryavtsev@gmail.com>",
    "download_url": null,
    "platform": null,
    "description": "# FFmpeg Source Input Library\n\nFFmpeg Input Library is a small library aimed at receiving raw or decoded (RGB) frames from FFmpeg into a python program. \nYou can pass to ffmpeg required arguments and url and get the frames like opencv does. The library \nprovides the direct access to the ffmpeg library without the launching of the ffmpeg binary. \nThe frames are in raw binary format and must be processed separately.\n\n\n### Install Prebuilt Wheels\n\n```bash\npip install ffmpeg-input \n```\n\n### Build In Docker (Manylinux_2_28)\n\n```bash\n# certain python version (decreases build time)\n#\ndocker build  -t ffmpeg_input -f docker/Dockerfile.manylinux_2_28_X64 --build-arg PYTHON_INTERPRETER=/opt/python/cp38-cp38/bin/python .\n# all manylinux versions\n#\ndocker build -t ffmpeg_input -f docker/Dockerfile.manylinux_2_28_X64 .\n\n# copy wheels from docker\n#\ndocker run --rm -it -v $(pwd)/distfiles:/tmp ffmpeg_input cp -R /opt/dist /tmp\n```\n\n### Try It\n\n```\nRUST_LOG=debug python3 test.py\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "FFMpeg Source Accessor Library",
    "version": "0.1.24",
    "project_urls": {
        "Homepage": "https://github.com/insight-platform/FFmpeg-Input",
        "Source Code": "https://github.com/insight-platform/FFmpeg-Input"
    },
    "split_keywords": [
        "ffmpeg",
        " video"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "56c3d39396083c76cd9cfc7951238e6bede48d734042ae539f499d543b8f5f9c",
                "md5": "d0c27bcb967e27e3b50c72fa5486e281",
                "sha256": "1fd9564da841998992b1104883f309aa656848d6d064d477807f109ca21b917a"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-cp310-cp310-manylinux_2_28_aarch64.whl",
            "has_sig": false,
            "md5_digest": "d0c27bcb967e27e3b50c72fa5486e281",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 31345742,
            "upload_time": "2024-04-26T11:43:07",
            "upload_time_iso_8601": "2024-04-26T11:43:07.532844Z",
            "url": "https://files.pythonhosted.org/packages/56/c3/d39396083c76cd9cfc7951238e6bede48d734042ae539f499d543b8f5f9c/ffmpeg_input-0.1.24-cp310-cp310-manylinux_2_28_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ee20a0002dafe048dc276fd5f1a5caf39bfec256f1500ffc09c21b7e20d72201",
                "md5": "3a49a7c671c6abdfab97254a1c5f85ec",
                "sha256": "ef125cba30778e214c26d8666a153541b390c48cfe19c75d5693d6e4e2df02a1"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-cp310-cp310-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "3a49a7c671c6abdfab97254a1c5f85ec",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 36253613,
            "upload_time": "2024-04-26T11:43:11",
            "upload_time_iso_8601": "2024-04-26T11:43:11.659220Z",
            "url": "https://files.pythonhosted.org/packages/ee/20/a0002dafe048dc276fd5f1a5caf39bfec256f1500ffc09c21b7e20d72201/ffmpeg_input-0.1.24-cp310-cp310-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b4fc640930dbb27a841d9d2dc7bd11a73e49e457cab55ed4c8f5ab24ef4ebd93",
                "md5": "ee1cd92417b56c824680b62ddf569204",
                "sha256": "8732a27e9b90b010576819ab639c83e934c3a14ebf8a75532aa594a964851eba"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-cp311-cp311-manylinux_2_28_aarch64.whl",
            "has_sig": false,
            "md5_digest": "ee1cd92417b56c824680b62ddf569204",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 31345819,
            "upload_time": "2024-04-26T11:43:16",
            "upload_time_iso_8601": "2024-04-26T11:43:16.269171Z",
            "url": "https://files.pythonhosted.org/packages/b4/fc/640930dbb27a841d9d2dc7bd11a73e49e457cab55ed4c8f5ab24ef4ebd93/ffmpeg_input-0.1.24-cp311-cp311-manylinux_2_28_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fbe2aab87f5e7dcf21f4163357c2fa02eb83651b40fa79a8fa35fa862d4fb748",
                "md5": "6a96e230dc8be62e285976cff454d3f8",
                "sha256": "7a10371563c23efc3e37842fe59b8db511944c0f0153cad6d1efdee6fcc55409"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-cp311-cp311-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6a96e230dc8be62e285976cff454d3f8",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 36253667,
            "upload_time": "2024-04-26T11:43:20",
            "upload_time_iso_8601": "2024-04-26T11:43:20.216743Z",
            "url": "https://files.pythonhosted.org/packages/fb/e2/aab87f5e7dcf21f4163357c2fa02eb83651b40fa79a8fa35fa862d4fb748/ffmpeg_input-0.1.24-cp311-cp311-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3c80e29ef7db5c2ba7c7ccbd1ea95e09674db817a2fe9add223077a7b2b9e84e",
                "md5": "fe967e0dcf966e72aafcb5986f506c33",
                "sha256": "1fe8967e7bb12827c7c336740008258d7b38ab6b0102d571c2900a6f047fd679"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-cp312-cp312-manylinux_2_28_aarch64.whl",
            "has_sig": false,
            "md5_digest": "fe967e0dcf966e72aafcb5986f506c33",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8",
            "size": 31346019,
            "upload_time": "2024-04-26T11:43:24",
            "upload_time_iso_8601": "2024-04-26T11:43:24.413460Z",
            "url": "https://files.pythonhosted.org/packages/3c/80/e29ef7db5c2ba7c7ccbd1ea95e09674db817a2fe9add223077a7b2b9e84e/ffmpeg_input-0.1.24-cp312-cp312-manylinux_2_28_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a3e83bf8fecb24bb1d8b41e9b5f0dc74ae4bc8aca1c8c797dc4a6b1d25a45d0e",
                "md5": "0ddcc8de9d06428b66166dc1378c2c0e",
                "sha256": "069a1a8a819ac88128853f9283464fd9f851f595a5c1a835ce895d9507762c84"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-cp312-cp312-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "0ddcc8de9d06428b66166dc1378c2c0e",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8",
            "size": 36254249,
            "upload_time": "2024-04-26T11:43:28",
            "upload_time_iso_8601": "2024-04-26T11:43:28.088224Z",
            "url": "https://files.pythonhosted.org/packages/a3/e8/3bf8fecb24bb1d8b41e9b5f0dc74ae4bc8aca1c8c797dc4a6b1d25a45d0e/ffmpeg_input-0.1.24-cp312-cp312-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "31d374b481badbc7c44d597ea161e420fcd24de54749035594f7928b8455b952",
                "md5": "7526cfd4e8f3c901433d55bfadfdb811",
                "sha256": "f53cc0c33628c1b98ff66e4adbb4edc256905b925e824dc4a1beecff4dbd7797"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-cp38-cp38-manylinux_2_28_aarch64.whl",
            "has_sig": false,
            "md5_digest": "7526cfd4e8f3c901433d55bfadfdb811",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 31345967,
            "upload_time": "2024-04-26T11:43:31",
            "upload_time_iso_8601": "2024-04-26T11:43:31.903461Z",
            "url": "https://files.pythonhosted.org/packages/31/d3/74b481badbc7c44d597ea161e420fcd24de54749035594f7928b8455b952/ffmpeg_input-0.1.24-cp38-cp38-manylinux_2_28_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c348a23546ad553ba6b16db393d3f4ef7d0277198a48aca1437d9237f8a7b6e0",
                "md5": "caefc7b86bb3d28f57ec136474f467ab",
                "sha256": "4cb8b7bdfc071ea00d5d380e1c3a2deb7c3cb967ce1537acb5c3a2d33e94a3c9"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-cp38-cp38-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "caefc7b86bb3d28f57ec136474f467ab",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 36253592,
            "upload_time": "2024-04-26T11:43:37",
            "upload_time_iso_8601": "2024-04-26T11:43:37.112283Z",
            "url": "https://files.pythonhosted.org/packages/c3/48/a23546ad553ba6b16db393d3f4ef7d0277198a48aca1437d9237f8a7b6e0/ffmpeg_input-0.1.24-cp38-cp38-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8bcbf7f6a28c885e6d8c0910f5e39f87078f52bee6cea7b09bd110ccc96fd14a",
                "md5": "c5f38f43b841240938a881149bdda617",
                "sha256": "0fe1211f19f5c28d0339a95f3a9d8138c51a321212028bb7d9b144a437ffb885"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-cp39-cp39-manylinux_2_28_aarch64.whl",
            "has_sig": false,
            "md5_digest": "c5f38f43b841240938a881149bdda617",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 31346032,
            "upload_time": "2024-04-26T11:43:40",
            "upload_time_iso_8601": "2024-04-26T11:43:40.744898Z",
            "url": "https://files.pythonhosted.org/packages/8b/cb/f7f6a28c885e6d8c0910f5e39f87078f52bee6cea7b09bd110ccc96fd14a/ffmpeg_input-0.1.24-cp39-cp39-manylinux_2_28_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fae60eae94b42bcac464ced2d41626c907b8dda9dd2dca0c9f36716662fd86a0",
                "md5": "5dab15a0c3f4f2a4875679b1d9cd2911",
                "sha256": "9506b539a594a0b4a0a1045c08225478e83fe58af032540eeb84f24fe192d747"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-cp39-cp39-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "5dab15a0c3f4f2a4875679b1d9cd2911",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 36253761,
            "upload_time": "2024-04-26T11:43:44",
            "upload_time_iso_8601": "2024-04-26T11:43:44.193656Z",
            "url": "https://files.pythonhosted.org/packages/fa/e6/0eae94b42bcac464ced2d41626c907b8dda9dd2dca0c9f36716662fd86a0/ffmpeg_input-0.1.24-cp39-cp39-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f690ac7d7b19c278de67bfddad906ecbe3a75675561d56352cef0797b55cf300",
                "md5": "467e32f3150d24fabfe2234e04c053ef",
                "sha256": "137e0df34af1e0df0baecf01b8d2760fb4945cccf27bf751cf2c378aa1bccc07"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl",
            "has_sig": false,
            "md5_digest": "467e32f3150d24fabfe2234e04c053ef",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.8",
            "size": 31345820,
            "upload_time": "2024-04-26T11:43:47",
            "upload_time_iso_8601": "2024-04-26T11:43:47.637835Z",
            "url": "https://files.pythonhosted.org/packages/f6/90/ac7d7b19c278de67bfddad906ecbe3a75675561d56352cef0797b55cf300/ffmpeg_input-0.1.24-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6ce1b438efd12604f472181f3a0243dfdda56595b8a82cad0e6fa98411b608ec",
                "md5": "f1bcd7bb9e80ba771ac377018be9383c",
                "sha256": "d97321179e2fb46b6d017de42ee3e49aebe7cd22eac9a43777781d4127b5a3c3"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "f1bcd7bb9e80ba771ac377018be9383c",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.8",
            "size": 36253564,
            "upload_time": "2024-04-26T11:43:51",
            "upload_time_iso_8601": "2024-04-26T11:43:51.768428Z",
            "url": "https://files.pythonhosted.org/packages/6c/e1/b438efd12604f472181f3a0243dfdda56595b8a82cad0e6fa98411b608ec/ffmpeg_input-0.1.24-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ef2851890ae6aa63088e6c96ef2b229b261b5a1d34c494e72f0884eb8eacb08a",
                "md5": "6ce1c04347a4841bc79480ab9a9c19e3",
                "sha256": "6e7d7a634dd6ea385fcf5da8954d9937f0d039a4eecadd1d2428d2d4ae0d752d"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl",
            "has_sig": false,
            "md5_digest": "6ce1c04347a4841bc79480ab9a9c19e3",
            "packagetype": "bdist_wheel",
            "python_version": "pp38",
            "requires_python": ">=3.8",
            "size": 31345838,
            "upload_time": "2024-04-26T11:43:56",
            "upload_time_iso_8601": "2024-04-26T11:43:56.026680Z",
            "url": "https://files.pythonhosted.org/packages/ef/28/51890ae6aa63088e6c96ef2b229b261b5a1d34c494e72f0884eb8eacb08a/ffmpeg_input-0.1.24-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "172f050abe4f19e6e56f9b9ffe14cdc4bcb96d249afcb92920b60f628b6259f0",
                "md5": "32ae8d0a27651df721039aa6e520b974",
                "sha256": "160c54c9b1456e3b7b2b607494ed358bc3f4684e274e1a056a8c4cebbd42e1c5"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "32ae8d0a27651df721039aa6e520b974",
            "packagetype": "bdist_wheel",
            "python_version": "pp38",
            "requires_python": ">=3.8",
            "size": 36253446,
            "upload_time": "2024-04-26T11:44:01",
            "upload_time_iso_8601": "2024-04-26T11:44:01.488552Z",
            "url": "https://files.pythonhosted.org/packages/17/2f/050abe4f19e6e56f9b9ffe14cdc4bcb96d249afcb92920b60f628b6259f0/ffmpeg_input-0.1.24-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9898b70951e7182127510fe5a8652eea5995abb52075858083c7ea274bd77839",
                "md5": "4e11b023135d0dd361ffee09c964b9ce",
                "sha256": "8e82be4cbdcf3371913eac71c0b2b4a9232f556066e132f1fb2bd93202228056"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl",
            "has_sig": false,
            "md5_digest": "4e11b023135d0dd361ffee09c964b9ce",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.8",
            "size": 31345747,
            "upload_time": "2024-04-26T11:44:05",
            "upload_time_iso_8601": "2024-04-26T11:44:05.760928Z",
            "url": "https://files.pythonhosted.org/packages/98/98/b70951e7182127510fe5a8652eea5995abb52075858083c7ea274bd77839/ffmpeg_input-0.1.24-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6f803235d7f4661331c536622a33e8ee7f2171305f125d5b5d39701c248e1e7f",
                "md5": "ef83e35b936a101097812d72b66245e3",
                "sha256": "5835c093f6c56d86dd257feb9075327a9272aefc411bef287d553d5f3395e689"
            },
            "downloads": -1,
            "filename": "ffmpeg_input-0.1.24-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ef83e35b936a101097812d72b66245e3",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.8",
            "size": 36253562,
            "upload_time": "2024-04-26T11:44:09",
            "upload_time_iso_8601": "2024-04-26T11:44:09.710493Z",
            "url": "https://files.pythonhosted.org/packages/6f/80/3235d7f4661331c536622a33e8ee7f2171305f125d5b5d39701c248e1e7f/ffmpeg_input-0.1.24-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-26 11:43:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "insight-platform",
    "github_project": "FFmpeg-Input",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "ffmpeg-input"
}
        
Elapsed time: 0.24514s