Name | ytpb JSON |
Version |
2024.4.20
JSON |
| download |
home_page | None |
Summary | A playback for YouTube live streams |
upload_time | 2024-04-20 14:17:36 |
maintainer | None |
docs_url | None |
author | Maxim Stolyarchuk |
requires_python | >=3.11 |
license | MIT License
Copyright (c) 2024 Maxim Stolyarchuk
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. |
keywords |
youtube
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
Ytpb
####
A playback for YouTube live streams.
|PyPI| |Tests|
.. |PyPI| image:: https://img.shields.io/pypi/v/ytpb
:target: https://pypi.org/project/ytpb
:alt: PyPI - Version
.. |Tests| image:: https://github.com/xymaxim/ytpb/actions/workflows/ci.yml/badge.svg
:target: https://github.com/xymaxim/ytpb/actions/workflows/ci.yml
:alt: Tests
`Project page`_ |sep| `Documentation`_ |sep| `Contributing`_
.. |sep| unicode:: 0xA0
:trim:
.. _Project page: https://github.com/xymaxim/ytpb
.. _Documentation: https://ytpb.readthedocs.io/
.. _Contributing: https://ytpb.readthedocs.io/en/latest/contributing.html
*Rewind to past moments in live streams and download or play excerpts*
Ytpb is a playback for YouTube live streams written in Python. It lets you go
back to past moments beyond the limits of the web player. You can keep selected
moments by downloading excerpts or play them instantly in your video player via
MPEG-DASH.
Check out also `mpv-ytpb <https://github.com/xymaxim/mpv-ytpb>`__ to play and
rewind live streams interactively without leaving a player.
Features
********
- Command line interface (CLI) and Python library
- Rewind live streams far beyond the limits of the web player
- Download audio and/or video excerpts
- Save excerpts in different available audio and video formats
- Precisely cut to exact moments without slow re-encoding
- Play and rewind instantly via MPEG-DASH
- Compose DASH manifests to play it in your favorite player
- Transcode/download excerpts into local files with FFmpeg
- Capture a single frame or create time-lapse images
- Makes use of yt-dlp to reliably extract information about videos (optionally)
Demos
*****
- Downloading a live stream excerpt (`link <https://asciinema.org/a/653861>`__)
- Composing an MPEG-DASH MPD and transcoding it to MP4 (`link
<https://asciinema.org/a/653865>`__)
- Creating a time-lapse of a live stream excerpt (`link
<https://asciinema.org/a/653869>`__)
Install
*******
Ytpb requires Python 3.11 or higher. The recommended way is to use `pipx
<https://pypa.github.io/pipx/>`_: ::
$ pipx install ytpb
Further reading
***************
After installing, check out the `documentation`_. The `Why Ytpb?`_ page explains
why the project exists. For main usage scenarios, see `Quick start`_. The
`Command line application`_ page goes deeper into the usage. `Reference`_
provides some general aspects and terms. `Cookbook`_ contains some useful
examples. See `Changelog`_ for the history of releases. Have any issues,
suggestions, or want to contribute code? `Contributing`_ tells how to
participate in the project.
.. _Why Ytpb?: https://ytpb.readthedocs.io/en/latest/why.html
.. _Quick start: https://ytpb.readthedocs.io/en/latest/quick.html
.. _Command line application: https://ytpb.readthedocs.io/en/latest/cli.html
.. _Reference: https://ytpb.readthedocs.io/en/latest/reference.html
.. _Cookbook: https://ytpb.readthedocs.io/en/latest/cookbook.html
.. _Changelog: https://ytpb.readthedocs.io/en/latest/changelog.html
Similar projects
****************
- `Kethsar/ytarchive <https://github.com/Kethsar/ytarchive>`__ — archive streams from the start
- `rytsikau/ee.Yrewind <https://github.com/rytsikau/ee.Yrewind>`__ — rewind and save streams
- `yt-dlp/yt-dlp#6498 <https://github.com/yt-dlp/yt-dlp/pull/6498>`__ — brings rewind range selection to yt-dlp
License
*******
Ytpb is licensed under the MIT license. See `LICENSE`_ for details.
.. _LICENSE: https://github.com/xymaxim/ytpb/blob/main/LICENSE
Raw data
{
"_id": null,
"home_page": null,
"name": "ytpb",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "youtube",
"author": "Maxim Stolyarchuk",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/73/70/4d7983ed0c267a1fbde9ba5f86b1bf03552e935d0cb5276a23ca08526d51/ytpb-2024.4.20.tar.gz",
"platform": null,
"description": "Ytpb\n####\n\nA playback for YouTube live streams.\n\n|PyPI| |Tests|\n\n.. |PyPI| image:: https://img.shields.io/pypi/v/ytpb\n :target: https://pypi.org/project/ytpb\n :alt: PyPI - Version\n\n.. |Tests| image:: https://github.com/xymaxim/ytpb/actions/workflows/ci.yml/badge.svg\n :target: https://github.com/xymaxim/ytpb/actions/workflows/ci.yml\n :alt: Tests\n\n`Project\u00a0page`_ |sep| `Documentation`_ |sep| `Contributing`_\n\n.. |sep| unicode:: 0xA0\n :trim:\n\n.. _Project page: https://github.com/xymaxim/ytpb\n.. _Documentation: https://ytpb.readthedocs.io/\n.. _Contributing: https://ytpb.readthedocs.io/en/latest/contributing.html\n\n*Rewind to past moments in live streams and download or play excerpts*\n\nYtpb is a playback for YouTube live streams written in Python. It lets you go\nback to past moments beyond the limits of the web player. You can keep selected\nmoments by downloading excerpts or play them instantly in your video player via\nMPEG-DASH.\n\nCheck out also `mpv-ytpb <https://github.com/xymaxim/mpv-ytpb>`__ to play and\nrewind live streams interactively without leaving a player.\n\nFeatures\n********\n\n- Command line interface (CLI) and Python library\n- Rewind live streams far beyond the limits of the web player\n- Download audio and/or video excerpts\n\n - Save excerpts in different available audio and video formats\n - Precisely cut to exact moments without slow re-encoding\n\n- Play and rewind instantly via MPEG-DASH\n\n - Compose DASH manifests to play it in your favorite player\n - Transcode/download excerpts into local files with FFmpeg\n\n- Capture a single frame or create time-lapse images\n- Makes use of yt-dlp to reliably extract information about videos (optionally)\n\nDemos\n*****\n\n- Downloading a live stream excerpt (`link <https://asciinema.org/a/653861>`__)\n- Composing an MPEG-DASH MPD and transcoding it to MP4 (`link\n <https://asciinema.org/a/653865>`__)\n- Creating a time-lapse of a live stream excerpt (`link\n <https://asciinema.org/a/653869>`__)\n\nInstall\n*******\n\nYtpb requires Python 3.11 or higher. The recommended way is to use `pipx\n<https://pypa.github.io/pipx/>`_: ::\n\n $ pipx install ytpb\n\nFurther reading\n***************\n\nAfter installing, check out the `documentation`_. The `Why Ytpb?`_ page explains\nwhy the project exists. For main usage scenarios, see `Quick start`_. The\n`Command line application`_ page goes deeper into the usage. `Reference`_\nprovides some general aspects and terms. `Cookbook`_ contains some useful\nexamples. See `Changelog`_ for the history of releases. Have any issues,\nsuggestions, or want to contribute code? `Contributing`_ tells how to\nparticipate in the project.\n\n.. _Why Ytpb?: https://ytpb.readthedocs.io/en/latest/why.html\n.. _Quick start: https://ytpb.readthedocs.io/en/latest/quick.html\n.. _Command line application: https://ytpb.readthedocs.io/en/latest/cli.html\n.. _Reference: https://ytpb.readthedocs.io/en/latest/reference.html\n.. _Cookbook: https://ytpb.readthedocs.io/en/latest/cookbook.html\n.. _Changelog: https://ytpb.readthedocs.io/en/latest/changelog.html\n\nSimilar projects\n****************\n\n- `Kethsar/ytarchive <https://github.com/Kethsar/ytarchive>`__ \u2014 archive streams from the start\n- `rytsikau/ee.Yrewind <https://github.com/rytsikau/ee.Yrewind>`__ \u2014 rewind and save streams\n- `yt-dlp/yt-dlp#6498 <https://github.com/yt-dlp/yt-dlp/pull/6498>`__ \u2014 brings rewind range selection to yt-dlp\n\nLicense\n*******\n\nYtpb is licensed under the MIT license. See `LICENSE`_ for details.\n\n.. _LICENSE: https://github.com/xymaxim/ytpb/blob/main/LICENSE\n",
"bugtrack_url": null,
"license": "MIT License\n \n Copyright (c) 2024 Maxim Stolyarchuk\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.",
"summary": "A playback for YouTube live streams",
"version": "2024.4.20",
"project_urls": {
"Documentation": "https://ytpb.readthedocs.io",
"Source": "https://github.com/xymaxim/ytpb"
},
"split_keywords": [
"youtube"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "bbc29e315816aa3abced96c7a60dc73e6d9cfaa3094f5990456c8b70dd65e3ca",
"md5": "4170fe7b56bee73749256f69bd661378",
"sha256": "1dcaf96c0dcf4ba2a16dfe82bfdd211d9ff2e73567d76fb5062fd5cbd033d137"
},
"downloads": -1,
"filename": "ytpb-2024.4.20-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4170fe7b56bee73749256f69bd661378",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 67592,
"upload_time": "2024-04-20T14:17:33",
"upload_time_iso_8601": "2024-04-20T14:17:33.679950Z",
"url": "https://files.pythonhosted.org/packages/bb/c2/9e315816aa3abced96c7a60dc73e6d9cfaa3094f5990456c8b70dd65e3ca/ytpb-2024.4.20-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "73704d7983ed0c267a1fbde9ba5f86b1bf03552e935d0cb5276a23ca08526d51",
"md5": "e52da05ab51d638fa53d6c8f0b20b523",
"sha256": "7ba5dc28326b5e8b50fcef12c93634f7d52cc2471882ee9257a0ec2bef1e9e81"
},
"downloads": -1,
"filename": "ytpb-2024.4.20.tar.gz",
"has_sig": false,
"md5_digest": "e52da05ab51d638fa53d6c8f0b20b523",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 1463649,
"upload_time": "2024-04-20T14:17:36",
"upload_time_iso_8601": "2024-04-20T14:17:36.748527Z",
"url": "https://files.pythonhosted.org/packages/73/70/4d7983ed0c267a1fbde9ba5f86b1bf03552e935d0cb5276a23ca08526d51/ytpb-2024.4.20.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-20 14:17:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "xymaxim",
"github_project": "ytpb",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ytpb"
}