{"id":26405965,"url":"https://github.com/sharathsphd/podcastteasergenerator","last_synced_at":"2026-02-17T17:02:13.880Z","repository":{"id":282769572,"uuid":"949594452","full_name":"SharathSPhD/PodcastTeaserGenerator","owner":"SharathSPhD","description":"🎙✨ – Automatically create engaging podcast teasers from full episodes! Uses advanced audio analysis to extract high-energy, dynamic moments and compile them into short, compelling teasers. Features smart segment selection, smooth crossfades, batch processing, and customizable settings. Save time \u0026 boost engagement! 🚀","archived":false,"fork":false,"pushed_at":"2025-03-17T10:39:55.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T19:17:58.592Z","etag":null,"topics":["ai-audio-editing","audio-processing","content-marketing","open-source-tool","podcast","podcast-production","speech-segmentation"],"latest_commit_sha":null,"homepage":"https://podcastteasergenerator.readthedocs.io/en/latest/","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/SharathSPhD.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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-03-16T19:46:43.000Z","updated_at":"2025-03-17T10:40:01.000Z","dependencies_parsed_at":"2025-06-09T14:08:59.790Z","dependency_job_id":"eb2370c0-9129-429f-bba2-381c488182ce","html_url":"https://github.com/SharathSPhD/PodcastTeaserGenerator","commit_stats":null,"previous_names":["sharathsphd/podcastteasergenerator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SharathSPhD/PodcastTeaserGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharathSPhD%2FPodcastTeaserGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharathSPhD%2FPodcastTeaserGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharathSPhD%2FPodcastTeaserGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharathSPhD%2FPodcastTeaserGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SharathSPhD","download_url":"https://codeload.github.com/SharathSPhD/PodcastTeaserGenerator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharathSPhD%2FPodcastTeaserGenerator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29550824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ai-audio-editing","audio-processing","content-marketing","open-source-tool","podcast","podcast-production","speech-segmentation"],"created_at":"2025-03-17T17:17:36.795Z","updated_at":"2026-02-17T17:02:13.859Z","avatar_url":"https://github.com/SharathSPhD.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Podcast Teaser Generator\n\nAutomatically generate engaging audio teasers from your podcast episodes.\n\n## Overview\n\nThis tool analyzes your podcast audio tracks and automatically extracts the most interesting segments to create short, compelling teasers. It uses advanced audio analysis to identify segments with:\n\n- High energy/excitement (volume peaks)\n- Dynamic tonal variation (spectral contrast)\n- Interesting speech rhythm patterns\n- Clean cut points at natural breaks\n\n## Features\n\n- Fully automated teaser generation\n- Customizable teaser duration and settings\n- Smart segment selection based on audio features\n- Clean transitions with automatic crossfades\n- Audio level normalization\n- Optional visualization of audio analysis\n- Batch processing of multiple files\n\n## Installation\n\n### From PyPI (Recommended)\n\nThe easiest way to install Podcast Teaser Generator is through PyPI:\n\n```\npip install podcast-teaser\n```\n\nYou can also specify a version:\n\n```\npip install podcast-teaser==0.1.0\n```\n\n### From Source\n\nIf you prefer to install from source:\n\n1. Clone this repository:\n```\ngit clone https://github.com/SharathSPhD/PodcastTeaserGenerator.git\ncd podcast_teaser\n```\n\n2. Install the package:\n```\npip install -e .\n```\n\n## Usage\n\n### Basic Usage\n\nGenerate a 60-second teaser from a podcast episode:\n\n```\npython podcast_teaser.py path/to/your/podcast.mp3\n```\n\n### Advanced Options\n\n```\npython podcast_teaser.py path/to/your/podcast.mp3 --duration 90 --visualize --output-dir custom_output\n```\n\nProcess all podcast files in a directory:\n\n```\npython podcast_teaser.py path/to/podcast/directory --config custom_config.json\n```\n\n### Configuration\n\nCustomize the teaser generation by editing `config.json` or providing your own configuration file. The application uses the following configuration parameters:\n\n#### Basic Teaser Settings\n```json\n{\n  \"teaser_duration\": 60,\n  \"segment_min_duration\": 3,\n  \"segment_max_duration\": 15,\n  \"num_segments\": 5,\n  \"crossfade_duration\": 500,\n  \"output_format\": \"mp3\",\n  \"normalize_audio\": true,\n\n  \"energy_weight\": 0.4,\n  \"spectral_weight\": 0.3,\n  \"tempo_weight\": 0.2,\n  \"silence_threshold\": -40,\n\n  \"exclude_intro_outro\": true,\n  \"intro_duration\": 30,\n  \"outro_duration\": 30,\n\n  \"create_summary_teaser\": true,\n  \"summary_segments_per_track\": 2,\n  \"summary_teaser_duration\": 120,\n\n  \"visualize\": false\n}\n```\n\n#### Configuration Details\n\n**Basic Teaser Settings**\n- `teaser_duration`: Controls how long the generated teaser will be. Shorter teasers will be more selective.\n- `segment_min/max_duration`: Limits how short or long extracted segments can be. Adjust based on your content.\n- `num_segments`: Target number of highlights to extract. The actual number may be less if not enough quality segments are found.\n- `crossfade_duration`: Longer values create smoother transitions but may cut into content.\n\n**Analysis Weights**\n- `energy_weight`: Higher values favor louder, more excited moments.\n- `spectral_weight`: Higher values favor segments with more vocal variation (questions, tonal shifts).\n- `tempo_weight`: Higher values favor segments with changing speech rhythms.\n- Weights should sum to approximately 1.0 for best results.\n\n**Intro/Outro Handling**\n- When `exclude_intro_outro` is enabled, the specified durations at the beginning and end of episodes are ignored during analysis.\n- Adjust `intro_duration` and `outro_duration` to match your podcast format.\n\n**Summary Teaser**\n- When processing multiple episodes, a summary teaser combines the best moments from all episodes.\n- `summary_segments_per_track` controls how many segments from each episode are considered.\n- This feature is ideal for creating \"best of\" compilations from multiple episodes.\n\n## How It Works\n\n1. **Audio Analysis**: The system analyzes your podcast using multiple audio features:\n   - RMS energy (volume/excitement)\n   - Spectral contrast (tonal variation)\n   - Speech tempo and rhythm patterns\n   - Silence detection for natural breaks\n\n2. **Segment Selection**: The most interesting moments are identified and scored.\n\n3. **Smart Extraction**: Segments are intelligently extracted with clean cut points at natural breaks.\n\n4. **Teaser Assembly**: Selected segments are combined with smooth crossfades.\n\n5. **Output**: The final teaser is saved with optional visualization of the analysis.\n\n## Example Visualization\n\nWhen using the `--visualize` option, the system generates plots showing:\n- Combined interest score with highlighted selected segments\n- RMS energy analysis\n- Spectral contrast analysis\n- Tempo/rhythm analysis\n\n## Tips for Better Results\n\n- Longer episodes provide more material for selection\n- Episodes with dynamic conversations tend to produce better teasers\n- Try adjusting weights in config.json if teasers aren't capturing the right moments\n- For interview podcasts, increasing the spectral_weight can help catch back-and-forth dialogue\n\n## Documentation\n\nFull documentation is available at [Read the Docs](https://podcast-teaser.readthedocs.io/).\n\n## Contributing\n\nContributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Credits\n\nDeveloped with ❤️ for podcast creators everywhere.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharathsphd%2Fpodcastteasergenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharathsphd%2Fpodcastteasergenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharathsphd%2Fpodcastteasergenerator/lists"}