liteboty-stream


Nameliteboty-stream JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://github.com/yejue/liteboty
SummaryNone
upload_time2025-01-25 05:34:33
maintainerNone
docs_urlNone
authoryejue
requires_python<4.0,>=3.10
licenseNone
keywords liteboty litebot ros bot liteboty-stream
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Liteboty Stream

Liteboty Stream 是一个基于 Redis 的视频流监控系统,可以订阅并显示来自 Redis 频道的视频流数据。

## 功能特点

- 支持多视频流同时显示
- 提供图形界面和命令行两种使用方式
- 支持多种图像解码格式(RGB、L等)
- 窗口大小自适应调整
- 支持窗口层叠和平铺排列

## 安装

使用 pip 安装:
```bash
pip install liteboty-stream
```

## 使用方法

### 图形界面模式

启动图形界面:
```bash
liteboty-stream ui
```


在图形界面中:
1. 点击"新建视频流"按钮或使用快捷键 `Ctrl+N`
2. 在弹出的对话框中填写:
   - Redis 地址(例如:10.8.2.2:6379)
   - 订阅频道(例如:/video/raw)
   - 解码格式(默认:RGB)
3. 点击"确定"添加新的视频流窗口

### 命令行模式

直接启动单个视频流窗口:

```bash
liteboty-stream run --broker 10.8.2.2:6379 --channel /video/raw --decode RGB
```


参数说明:
- `--broker`:Redis 服务器地址(必填)
- `--channel`:Redis 订阅频道(必填)
- `--decode`:图像解码格式,默认为 RGB

## 快捷键

- `Ctrl+N`:新建视频流
- `Ctrl+Q`:退出程序

## 系统要求

- Python 3.10 或更高版本
- Redis 服务器
- 支持的操作系统:Windows、Linux、macOS

## 依赖项

- PySide6
- Redis
- Pillow
- Click
- Liteboty

## 许可证

本项目基于 MIT 许可证开源。

## 问题反馈

如果您在使用过程中遇到任何问题,请访问我们的 [GitHub 仓库](https://github.com/yejue/liteboty) 提交 Issue。
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yejue/liteboty",
    "name": "liteboty-stream",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "liteboty, litebot, ros, bot, liteboty-stream",
    "author": "yejue",
    "author_email": "1145331931@qq.com",
    "download_url": "https://files.pythonhosted.org/packages/30/fc/957a7ebf478f377c3f8b14cbadd5b2f53046830ef1cf816f097acde92a28/liteboty_stream-0.2.1.tar.gz",
    "platform": null,
    "description": "# Liteboty Stream\n\nLiteboty Stream \u662f\u4e00\u4e2a\u57fa\u4e8e Redis \u7684\u89c6\u9891\u6d41\u76d1\u63a7\u7cfb\u7edf\uff0c\u53ef\u4ee5\u8ba2\u9605\u5e76\u663e\u793a\u6765\u81ea Redis \u9891\u9053\u7684\u89c6\u9891\u6d41\u6570\u636e\u3002\n\n## \u529f\u80fd\u7279\u70b9\n\n- \u652f\u6301\u591a\u89c6\u9891\u6d41\u540c\u65f6\u663e\u793a\n- \u63d0\u4f9b\u56fe\u5f62\u754c\u9762\u548c\u547d\u4ee4\u884c\u4e24\u79cd\u4f7f\u7528\u65b9\u5f0f\n- \u652f\u6301\u591a\u79cd\u56fe\u50cf\u89e3\u7801\u683c\u5f0f\uff08RGB\u3001L\u7b49\uff09\n- \u7a97\u53e3\u5927\u5c0f\u81ea\u9002\u5e94\u8c03\u6574\n- \u652f\u6301\u7a97\u53e3\u5c42\u53e0\u548c\u5e73\u94fa\u6392\u5217\n\n## \u5b89\u88c5\n\n\u4f7f\u7528 pip \u5b89\u88c5\uff1a\n```bash\npip install liteboty-stream\n```\n\n## \u4f7f\u7528\u65b9\u6cd5\n\n### \u56fe\u5f62\u754c\u9762\u6a21\u5f0f\n\n\u542f\u52a8\u56fe\u5f62\u754c\u9762\uff1a\n```bash\nliteboty-stream ui\n```\n\n\n\u5728\u56fe\u5f62\u754c\u9762\u4e2d\uff1a\n1. \u70b9\u51fb\"\u65b0\u5efa\u89c6\u9891\u6d41\"\u6309\u94ae\u6216\u4f7f\u7528\u5feb\u6377\u952e `Ctrl+N`\n2. \u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\u586b\u5199\uff1a\n   - Redis \u5730\u5740\uff08\u4f8b\u5982\uff1a10.8.2.2:6379\uff09\n   - \u8ba2\u9605\u9891\u9053\uff08\u4f8b\u5982\uff1a/video/raw\uff09\n   - \u89e3\u7801\u683c\u5f0f\uff08\u9ed8\u8ba4\uff1aRGB\uff09\n3. \u70b9\u51fb\"\u786e\u5b9a\"\u6dfb\u52a0\u65b0\u7684\u89c6\u9891\u6d41\u7a97\u53e3\n\n### \u547d\u4ee4\u884c\u6a21\u5f0f\n\n\u76f4\u63a5\u542f\u52a8\u5355\u4e2a\u89c6\u9891\u6d41\u7a97\u53e3\uff1a\n\n```bash\nliteboty-stream run --broker 10.8.2.2:6379 --channel /video/raw --decode RGB\n```\n\n\n\u53c2\u6570\u8bf4\u660e\uff1a\n- `--broker`\uff1aRedis \u670d\u52a1\u5668\u5730\u5740\uff08\u5fc5\u586b\uff09\n- `--channel`\uff1aRedis \u8ba2\u9605\u9891\u9053\uff08\u5fc5\u586b\uff09\n- `--decode`\uff1a\u56fe\u50cf\u89e3\u7801\u683c\u5f0f\uff0c\u9ed8\u8ba4\u4e3a RGB\n\n## \u5feb\u6377\u952e\n\n- `Ctrl+N`\uff1a\u65b0\u5efa\u89c6\u9891\u6d41\n- `Ctrl+Q`\uff1a\u9000\u51fa\u7a0b\u5e8f\n\n## \u7cfb\u7edf\u8981\u6c42\n\n- Python 3.10 \u6216\u66f4\u9ad8\u7248\u672c\n- Redis \u670d\u52a1\u5668\n- \u652f\u6301\u7684\u64cd\u4f5c\u7cfb\u7edf\uff1aWindows\u3001Linux\u3001macOS\n\n## \u4f9d\u8d56\u9879\n\n- PySide6\n- Redis\n- Pillow\n- Click\n- Liteboty\n\n## \u8bb8\u53ef\u8bc1\n\n\u672c\u9879\u76ee\u57fa\u4e8e MIT \u8bb8\u53ef\u8bc1\u5f00\u6e90\u3002\n\n## \u95ee\u9898\u53cd\u9988\n\n\u5982\u679c\u60a8\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u9047\u5230\u4efb\u4f55\u95ee\u9898\uff0c\u8bf7\u8bbf\u95ee\u6211\u4eec\u7684 [GitHub \u4ed3\u5e93](https://github.com/yejue/liteboty) \u63d0\u4ea4 Issue\u3002",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.2.1",
    "project_urls": {
        "Homepage": "https://github.com/yejue/liteboty"
    },
    "split_keywords": [
        "liteboty",
        " litebot",
        " ros",
        " bot",
        " liteboty-stream"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ecce0e85dcd44499be87e74cea56ea6a1fc054e95ec3b1d7579f93944b3f3b67",
                "md5": "a6af9fe10ef1e929cfa99d2924333da1",
                "sha256": "04ebcd868d9a69211e254b7908f3ddde40f2b9192e3b8f98dadee2cf2d472831"
            },
            "downloads": -1,
            "filename": "liteboty_stream-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a6af9fe10ef1e929cfa99d2924333da1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 5901,
            "upload_time": "2025-01-25T05:34:31",
            "upload_time_iso_8601": "2025-01-25T05:34:31.495001Z",
            "url": "https://files.pythonhosted.org/packages/ec/ce/0e85dcd44499be87e74cea56ea6a1fc054e95ec3b1d7579f93944b3f3b67/liteboty_stream-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "30fc957a7ebf478f377c3f8b14cbadd5b2f53046830ef1cf816f097acde92a28",
                "md5": "32976dce72808d34b1380e8b199d7816",
                "sha256": "f944e67bfb91e3c7b6db8be3b03f028a4b05cbcd0b363fce078e7efad5eb9ee1"
            },
            "downloads": -1,
            "filename": "liteboty_stream-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "32976dce72808d34b1380e8b199d7816",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 4440,
            "upload_time": "2025-01-25T05:34:33",
            "upload_time_iso_8601": "2025-01-25T05:34:33.266075Z",
            "url": "https://files.pythonhosted.org/packages/30/fc/957a7ebf478f377c3f8b14cbadd5b2f53046830ef1cf816f097acde92a28/liteboty_stream-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-25 05:34:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yejue",
    "github_project": "liteboty",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "liteboty-stream"
}
        
Elapsed time: 0.58513s