cat-dj


Namecat-dj JSON
Version 0.1.2 PyPI version JSON
download
home_pageNone
SummaryDJミックスとビデオループを作成するPythonパッケージ
upload_time2024-07-25 10:55:48
maintainerNone
docs_urlNone
authorMaki
requires_python<4.0,>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
<p align="center">
<img src="https://huggingface.co/datasets/MakiAi/IconAssets/resolve/main/CatDJ.png" width="100%">
<br>
<h2 align="center">
  ~ Mix Tracks, Unleash Fun ~
<br>
  <img alt="PyPI - Version" src="https://img.shields.io/pypi/v/cat-dj">
<img alt="PyPI - Format" src="https://img.shields.io/pypi/format/cat-dj">
<img alt="PyPI - Implementation" src="https://img.shields.io/pypi/implementation/cat-dj">
<img alt="PyPI - Status" src="https://img.shields.io/pypi/status/cat-dj">
<img alt="PyPI - Downloads" src="https://img.shields.io/pypi/dd/cat-dj">
<img alt="PyPI - Downloads" src="https://img.shields.io/pypi/dw/cat-dj">
<a href="https://github.com/Sunwood-ai-labs/CatDJ" title="Go to GitHub repo"><img src="https://img.shields.io/static/v1?label=CatDJ&message=Sunwood-ai-labs&color=blue&logo=github"></a>
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/Sunwood-ai-labs/CatDJ">
<a href="https://github.com/Sunwood-ai-labs/CatDJ"><img alt="forks - Sunwood-ai-labs" src="https://img.shields.io/github/forks/Sunwood-ai-labs/CatDJ?style=social"></a>
<a href="https://github.com/Sunwood-ai-labs/CatDJ"><img alt="GitHub Last Commit" src="https://img.shields.io/github/last-commit/Sunwood-ai-labs/CatDJ"></a>
<a href="https://github.com/Sunwood-ai-labs/CatDJ"><img alt="GitHub Top Language" src="https://img.shields.io/github/languages/top/Sunwood-ai-labs/CatDJ"></a>
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/Sunwood-ai-labs/CatDJ?color=red">
<img alt="GitHub Tag" src="https://img.shields.io/github/v/tag/Sunwood-ai-labs/CatDJ?sort=semver&color=orange">
<img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Sunwood-ai-labs/CatDJ/publish-to-pypi.yml">
<br>
<p align="center">
  <a href="https://hamaruki.com/"><b>[🌐 Website]</b></a> •
  <a href="https://github.com/Sunwood-ai-labs"><b>[🐱 GitHub]</b></a>
  <a href="https://x.com/hAru_mAki_ch"><b>[🐦 Twitter]</b></a> •
  <a href="https://hamaruki.com/"><b>[🍀 Official Blog]</b></a>
</p>

</h2>

</p>

>[!IMPORTANT]
>このリポジトリのリリースノートやREADME、コミットメッセージの9割近くは[claude.ai](https://claude.ai/)や[ChatGPT4](https://chatgpt.com/)を活用した[AIRA](https://github.com/Sunwood-ai-labs/AIRA), [SourceSage](https://github.com/Sunwood-ai-labs/SourceSage), [Gaiah](https://github.com/Sunwood-ai-labs/Gaiah), [HarmonAI_II](https://github.com/Sunwood-ai-labs/HarmonAI_II)で生成しています。

# CatDJ

## 🌟 Introduction
CatDJは、複数の音楽トラックをDJスタイルで結合し、その音楽に合わせて指定した動画をループ再生するためのパッケージです。このツールを使用することで、オリジナルのパーティー体験を簡単に作成することができます。音楽と映像を組み合わせて、魅力的でエネルギッシュなパフォーマンスを実現しましょう。

## 🎥 Demo

https://github.com/user-attachments/assets/01959d8c-951e-4da4-90b4-801539a08985

## 🚀 Getting Started
このリポジトリを使い始めるには、以下の手順を守ってください:

1. CatDJをインストールします:
```bash
pip install cat-dj
```

2. 必要な入力ファイルを準備します:
   - 音楽トラックを `input_tracks` ディレクトリに配置します
   - ループさせたい動画ファイル(例:`cat_is_playing_dj2.mp4`)を用意します

3. 以下のコマンドを実行してCatDJを起動します:
```bash
cat-dj --input-dir input_tracks --input-video cat_is_playing_dj2.mp4 --track-duration 25000
```

## 🛠 Options
- `--input-dir`: 音楽ファイルが入っているディレクトリ(必須)
- `--output-dir`: 出力ファイルを保存するディレクトリ(デフォルト: `output`)
- `--input-video`: 入力ビデオファイル(必須)
- `--track-duration`: 各トラックの長さ(ミリ秒)。-1で元の長さを維持(デフォルト: -1)
- `--crossfade-duration`: クロスフェードの長さ(ミリ秒)(デフォルト: 4000)

## 📝 Updates
最新のアップデートや新機能は、リリースノートで確認できます。定期的に更新をチェックして、新機能をお楽しみください。

## 📄 License
このプロジェクトはMITライセンスの下で公開されています。詳細については[LICENSE](https://github.com/Sunwood-ai-labs/CatDJ/blob/main/LICENSE)を参照してください。

## 🙏 Acknowledgements
このプロジェクトは、オープンソースコミュニティからの多くのインスピレーションとサポートによって作成されました。特に、音楽や映像処理に関する文献やライブラリに感謝します。

## 🤝 Contributing
プロジェクトへの貢献を歓迎します!バグ報告、機能リクエスト、プルリクエストなど、どんな形での貢献も大歓迎です。

## 📬 Contact
質問や提案がある場合は、[Issues](https://github.com/Sunwood-ai-labs/CatDJ/issues)セクションでお気軽にお問い合わせください。


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "cat-dj",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Maki",
    "author_email": "sunwood.ai.labs@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/37/37/11906f59989e4745b4e8b711a3d98ce52649e53a2b660fe58ffdd1c033ea/cat_dj-0.1.2.tar.gz",
    "platform": null,
    "description": "\n<p align=\"center\">\n<img src=\"https://huggingface.co/datasets/MakiAi/IconAssets/resolve/main/CatDJ.png\" width=\"100%\">\n<br>\n<h2 align=\"center\">\n  \uff5e Mix Tracks, Unleash Fun \uff5e\n<br>\n  <img alt=\"PyPI - Version\" src=\"https://img.shields.io/pypi/v/cat-dj\">\n<img alt=\"PyPI - Format\" src=\"https://img.shields.io/pypi/format/cat-dj\">\n<img alt=\"PyPI - Implementation\" src=\"https://img.shields.io/pypi/implementation/cat-dj\">\n<img alt=\"PyPI - Status\" src=\"https://img.shields.io/pypi/status/cat-dj\">\n<img alt=\"PyPI - Downloads\" src=\"https://img.shields.io/pypi/dd/cat-dj\">\n<img alt=\"PyPI - Downloads\" src=\"https://img.shields.io/pypi/dw/cat-dj\">\n<a href=\"https://github.com/Sunwood-ai-labs/CatDJ\" title=\"Go to GitHub repo\"><img src=\"https://img.shields.io/static/v1?label=CatDJ&message=Sunwood-ai-labs&color=blue&logo=github\"></a>\n<img alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/Sunwood-ai-labs/CatDJ\">\n<a href=\"https://github.com/Sunwood-ai-labs/CatDJ\"><img alt=\"forks - Sunwood-ai-labs\" src=\"https://img.shields.io/github/forks/Sunwood-ai-labs/CatDJ?style=social\"></a>\n<a href=\"https://github.com/Sunwood-ai-labs/CatDJ\"><img alt=\"GitHub Last Commit\" src=\"https://img.shields.io/github/last-commit/Sunwood-ai-labs/CatDJ\"></a>\n<a href=\"https://github.com/Sunwood-ai-labs/CatDJ\"><img alt=\"GitHub Top Language\" src=\"https://img.shields.io/github/languages/top/Sunwood-ai-labs/CatDJ\"></a>\n<img alt=\"GitHub Release\" src=\"https://img.shields.io/github/v/release/Sunwood-ai-labs/CatDJ?color=red\">\n<img alt=\"GitHub Tag\" src=\"https://img.shields.io/github/v/tag/Sunwood-ai-labs/CatDJ?sort=semver&color=orange\">\n<img alt=\"GitHub Actions Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/Sunwood-ai-labs/CatDJ/publish-to-pypi.yml\">\n<br>\n<p align=\"center\">\n  <a href=\"https://hamaruki.com/\"><b>[\ud83c\udf10 Website]</b></a> \u2022\n  <a href=\"https://github.com/Sunwood-ai-labs\"><b>[\ud83d\udc31 GitHub]</b></a>\n  <a href=\"https://x.com/hAru_mAki_ch\"><b>[\ud83d\udc26 Twitter]</b></a> \u2022\n  <a href=\"https://hamaruki.com/\"><b>[\ud83c\udf40 Official Blog]</b></a>\n</p>\n\n</h2>\n\n</p>\n\n>[!IMPORTANT]\n>\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8\u3084README\u3001\u30b3\u30df\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u306e9\u5272\u8fd1\u304f\u306f[claude.ai](https://claude.ai/)\u3084[ChatGPT4](https://chatgpt.com/)\u3092\u6d3b\u7528\u3057\u305f[AIRA](https://github.com/Sunwood-ai-labs/AIRA), [SourceSage](https://github.com/Sunwood-ai-labs/SourceSage), [Gaiah](https://github.com/Sunwood-ai-labs/Gaiah), [HarmonAI_II](https://github.com/Sunwood-ai-labs/HarmonAI_II)\u3067\u751f\u6210\u3057\u3066\u3044\u307e\u3059\u3002\n\n# CatDJ\n\n## \ud83c\udf1f Introduction\nCatDJ\u306f\u3001\u8907\u6570\u306e\u97f3\u697d\u30c8\u30e9\u30c3\u30af\u3092DJ\u30b9\u30bf\u30a4\u30eb\u3067\u7d50\u5408\u3057\u3001\u305d\u306e\u97f3\u697d\u306b\u5408\u308f\u305b\u3066\u6307\u5b9a\u3057\u305f\u52d5\u753b\u3092\u30eb\u30fc\u30d7\u518d\u751f\u3059\u308b\u305f\u3081\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30d1\u30fc\u30c6\u30a3\u30fc\u4f53\u9a13\u3092\u7c21\u5358\u306b\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u97f3\u697d\u3068\u6620\u50cf\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u9b45\u529b\u7684\u3067\u30a8\u30cd\u30eb\u30ae\u30c3\u30b7\u30e5\u306a\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5b9f\u73fe\u3057\u307e\u3057\u3087\u3046\u3002\n\n## \ud83c\udfa5 Demo\n\nhttps://github.com/user-attachments/assets/01959d8c-951e-4da4-90b4-801539a08985\n\n## \ud83d\ude80 Getting Started\n\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f7f\u3044\u59cb\u3081\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3092\u5b88\u3063\u3066\u304f\u3060\u3055\u3044\uff1a\n\n1. CatDJ\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\uff1a\n```bash\npip install cat-dj\n```\n\n2. \u5fc5\u8981\u306a\u5165\u529b\u30d5\u30a1\u30a4\u30eb\u3092\u6e96\u5099\u3057\u307e\u3059\uff1a\n   - \u97f3\u697d\u30c8\u30e9\u30c3\u30af\u3092 `input_tracks` \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u914d\u7f6e\u3057\u307e\u3059\n   - \u30eb\u30fc\u30d7\u3055\u305b\u305f\u3044\u52d5\u753b\u30d5\u30a1\u30a4\u30eb\uff08\u4f8b\uff1a`cat_is_playing_dj2.mp4`\uff09\u3092\u7528\u610f\u3057\u307e\u3059\n\n3. \u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066CatDJ\u3092\u8d77\u52d5\u3057\u307e\u3059\uff1a\n```bash\ncat-dj --input-dir input_tracks --input-video cat_is_playing_dj2.mp4 --track-duration 25000\n```\n\n## \ud83d\udee0 Options\n- `--input-dir`: \u97f3\u697d\u30d5\u30a1\u30a4\u30eb\u304c\u5165\u3063\u3066\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u5fc5\u9808\uff09\n- `--output-dir`: \u51fa\u529b\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u30c7\u30d5\u30a9\u30eb\u30c8: `output`\uff09\n- `--input-video`: \u5165\u529b\u30d3\u30c7\u30aa\u30d5\u30a1\u30a4\u30eb\uff08\u5fc5\u9808\uff09\n- `--track-duration`: \u5404\u30c8\u30e9\u30c3\u30af\u306e\u9577\u3055\uff08\u30df\u30ea\u79d2\uff09\u3002-1\u3067\u5143\u306e\u9577\u3055\u3092\u7dad\u6301\uff08\u30c7\u30d5\u30a9\u30eb\u30c8: -1\uff09\n- `--crossfade-duration`: \u30af\u30ed\u30b9\u30d5\u30a7\u30fc\u30c9\u306e\u9577\u3055\uff08\u30df\u30ea\u79d2\uff09\uff08\u30c7\u30d5\u30a9\u30eb\u30c8: 4000\uff09\n\n## \ud83d\udcdd Updates\n\u6700\u65b0\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3084\u65b0\u6a5f\u80fd\u306f\u3001\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u5b9a\u671f\u7684\u306b\u66f4\u65b0\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3001\u65b0\u6a5f\u80fd\u3092\u304a\u697d\u3057\u307f\u304f\u3060\u3055\u3044\u3002\n\n## \ud83d\udcc4 License\n\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306fMIT\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u4e0b\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f[LICENSE](https://github.com/Sunwood-ai-labs/CatDJ/blob/main/LICENSE)\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n## \ud83d\ude4f Acknowledgements\n\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u304b\u3089\u306e\u591a\u304f\u306e\u30a4\u30f3\u30b9\u30d4\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u30b5\u30dd\u30fc\u30c8\u306b\u3088\u3063\u3066\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002\u7279\u306b\u3001\u97f3\u697d\u3084\u6620\u50cf\u51e6\u7406\u306b\u95a2\u3059\u308b\u6587\u732e\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u611f\u8b1d\u3057\u307e\u3059\u3002\n\n## \ud83e\udd1d Contributing\n\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u8ca2\u732e\u3092\u6b53\u8fce\u3057\u307e\u3059\uff01\u30d0\u30b0\u5831\u544a\u3001\u6a5f\u80fd\u30ea\u30af\u30a8\u30b9\u30c8\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u306a\u3069\u3001\u3069\u3093\u306a\u5f62\u3067\u306e\u8ca2\u732e\u3082\u5927\u6b53\u8fce\u3067\u3059\u3002\n\n## \ud83d\udcec Contact\n\u8cea\u554f\u3084\u63d0\u6848\u304c\u3042\u308b\u5834\u5408\u306f\u3001[Issues](https://github.com/Sunwood-ai-labs/CatDJ/issues)\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "DJ\u30df\u30c3\u30af\u30b9\u3068\u30d3\u30c7\u30aa\u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u3059\u308bPython\u30d1\u30c3\u30b1\u30fc\u30b8",
    "version": "0.1.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "34d2bc1495152d00900473df6adeea08315f3c369048be7f1f582a3365bd7962",
                "md5": "b4516b8433809fc71bf04b494512bfd6",
                "sha256": "8388c711da38ca28347d8c822e40036fd20cc3bd0babef74132832c1ac56d863"
            },
            "downloads": -1,
            "filename": "cat_dj-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b4516b8433809fc71bf04b494512bfd6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 9177,
            "upload_time": "2024-07-25T10:55:48",
            "upload_time_iso_8601": "2024-07-25T10:55:48.016140Z",
            "url": "https://files.pythonhosted.org/packages/34/d2/bc1495152d00900473df6adeea08315f3c369048be7f1f582a3365bd7962/cat_dj-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "373711906f59989e4745b4e8b711a3d98ce52649e53a2b660fe58ffdd1c033ea",
                "md5": "35200a58737249c03d193a714a5dfdfb",
                "sha256": "11fdfc68e499218cbd9bb3e98d10e9ea08063193348281d97af9b8778f0cd941"
            },
            "downloads": -1,
            "filename": "cat_dj-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "35200a58737249c03d193a714a5dfdfb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 8652,
            "upload_time": "2024-07-25T10:55:48",
            "upload_time_iso_8601": "2024-07-25T10:55:48.948626Z",
            "url": "https://files.pythonhosted.org/packages/37/37/11906f59989e4745b4e8b711a3d98ce52649e53a2b660fe58ffdd1c033ea/cat_dj-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-25 10:55:48",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "cat-dj"
}
        
Elapsed time: 0.31423s