{"id":29201955,"url":"https://github.com/bdr-pro/film-fluency-cli","last_synced_at":"2025-07-02T12:36:40.746Z","repository":{"id":295582853,"uuid":"990538240","full_name":"BDR-Pro/Film-Fluency-Cli","owner":"BDR-Pro","description":"Extract important, complex dialogue clips from any movie using its subtitle file. Designed for non-tech users with a smooth command-line experience using tqdm and rich.","archived":false,"fork":false,"pushed_at":"2025-05-26T09:12:56.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-26T10:33:08.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BDR-Pro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-26T09:10:11.000Z","updated_at":"2025-05-26T09:13:00.000Z","dependencies_parsed_at":"2025-05-26T10:34:30.066Z","dependency_job_id":"9e68a2ac-70e6-4066-ace2-2269f9f87314","html_url":"https://github.com/BDR-Pro/Film-Fluency-Cli","commit_stats":null,"previous_names":["bdr-pro/film-fluency-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BDR-Pro/Film-Fluency-Cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FFilm-Fluency-Cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FFilm-Fluency-Cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FFilm-Fluency-Cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FFilm-Fluency-Cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BDR-Pro","download_url":"https://codeload.github.com/BDR-Pro/Film-Fluency-Cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FFilm-Fluency-Cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263141284,"owners_count":23420047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-02T12:36:34.215Z","updated_at":"2025-07-02T12:36:40.728Z","avatar_url":"https://github.com/BDR-Pro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🎬 FilmFluency CLI\n\nExtract **important, complex dialogue clips** from any movie using its subtitle file. Designed for non-tech users with a smooth command-line experience using `tqdm` and `rich`.\n\n---\n\n### ✅ Features\n\n* Parses `.srt` subtitle files.\n* Analyzes sentence complexity with **Flesch Reading Ease**.\n* Extracts meaningful dialogue clips using `ffmpeg`.\n* Optionally generates screenshots and audio files.\n* CLI progress and colorful output.\n* Clean, minimal setup. No Django required.\n\n---\n\n### 🚀 Quick Start\n\n#### 1. Clone this repo\n\n```bash\ngit clone https://github.com/BDR-Pro/Film-Fluency-Cli.git\ncd Film-Fluency-Cli\n```\n\n#### 2. Install dependencies\n\nMake sure Python 3.8+ is installed. Then run:\n\n```bash\npip install -r requirements.txt\n```\n\n#### 3. Install FFmpeg\n\nThis tool depends on the system-level `ffmpeg` binary.\n\n* [Download FFmpeg](https://ffmpeg.org/download.html)\n* On macOS: `brew install ffmpeg`\n* On Ubuntu: `sudo apt install ffmpeg`\n\n---\n\n### 🛠️ Usage\n\n```bash\npython filmfluency_cli.py --movie path/to/movie.mp4 --srt path/to/subtitles.srt\n```\n\n#### Optional flags\n\n* `--screenshot`: Save a screenshot for each clip.\n* `--s3 URL`: Enable S3 upload (requires `--id`).\n* `--id`: ID of the movie (used with S3 upload).\n\n---\n\n### 📁 Output\n\nClips, screenshots (if selected), and audio files will be saved in:\n\n```\n./clips_\u003cmovie_id or 'local'\u003e/\n```\n\nA CSV file with all selected dialogues will be saved as:\n\n```\nsubtitles_important.csv\n```\n\n---\n\n### 💡 Example\n\n```bash\npython filmfluency_cli.py \\\n  --movie \"The Matrix.mp4\" \\\n  --srt \"The Matrix.srt\" \\\n  --screenshot\n```\n\n---\n\n### 🧪 Testing\n\nWant to test this tool? Provide any `.mp4` and `.srt` pair, then check the generated folder and CSV file.\n\n---\n\nLet me know if you want to add **unit testing instructions**, a **sample input set**, or **S3 upload integration** next.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdr-pro%2Ffilm-fluency-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdr-pro%2Ffilm-fluency-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdr-pro%2Ffilm-fluency-cli/lists"}