Access the Project:
-
Online Access: link. You can access the project online via the following
-
Offline Access:
To run the project locally, follow the setup instructions below.
Here is the demo video: link.
This repository implements a YouTube Playlist Video Clip Recap Maker that allows users to create concise video summaries from a YouTube playlist. The system extracts key clips from the playlist, utilizes transcripts for better clip selection, and generates an optimized video recap, perfect for quick consumption and sharing.
-
Playlist Video Clip Extraction
Extracts video clips from a YouTube playlist by specifying time intervals for each clip. -
Video Transcript Utilization
Extracts the transcript of each video in the playlist, providing context for better clip selection and summary generation. -
Video Recap Generation
Combines selected clips into a cohesive summary video. -
Optimized for Social Media Sharing
The recap videos are formatted for quick sharing on platforms like Instagram, Facebook, and Twitter. -
User-friendly Streamlit Interface
Allows users to input YouTube playlist URLs, extract transcripts, and select clips for summarization.
-
Input Playlist URL
Paste the YouTube playlist URL into the Streamlit application. -
Transcript Extraction
The system automatically fetches the transcript of each video in the playlist to help identify key sections for clip selection. -
Clip Selection
Select which video clips to include in the recap, using insights from the video transcripts. -
Recap Creation
Automatically generates a video recap by combining the selected clips. -
Output
Recap video formatted for social media sharing.
Sample Outputs
- Video Recap:
A short video featuring the highlights from a playlist, optimized for social media platforms.
To run the project locally as a Streamlit app:
-
Clone the Repository
git clone https://github.com/<your-username>/youtube-playlist-recap-maker.git cd youtube-playlist-recap-maker
-
Use Python 3.10.0
Make sure to use Python version 3.10.0. You can check your Python version by running:python --version
If you need to install or upgrade to Python 3.10.0, follow the instructions on the official Python website: Download Python 3.10.0.
-
Install Dependencies
Install required Python libraries:pip install -r requirements.txt
-
Run the Streamlit Application
Start the Streamlit interface by running:streamlit run app.py
-
Input the Playlist URL
Open the Streamlit app in your browser and paste the YouTube playlist link. The system will automatically fetch the transcripts and allow you to select clips for summarization.
- app.py: The main Streamlit app that allows users to interact with the system.
- clip_extraction.py: Extracts video clips from YouTube playlists.
- transcript_extraction.py: Fetches the transcripts for each video in the playlist to provide context for clip selection.
- recap_generation.py: Combines clips into a cohesive recap video.
- requirements.txt: Lists project dependencies.
- Python: Main programming language for the backend.
- Streamlit: For creating an interactive web app.
- MoviePy: Library for video processing.
- YouTube API: To fetch video data from YouTube playlists.
- FFmpeg: For video manipulation and editing.
- YouTube Transcript API: To extract transcripts for each video in the playlist.
- Integration with social media platforms for auto-posting recap videos.
- Support for other video platforms (e.g., Vimeo).
- AI-powered clip selection based on content analysis and user preferences.
This version integrates the Streamlit app as the main user interface, allowing users to input YouTube playlist URLs and interact with the app directly for video clip selection and recap generation.