Skip to content

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.

Notifications You must be signed in to change notification settings

Rahulaggl/YouTube-Playlist-Video-Clip-Recap-Maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Playlist Video Clip Recap Maker

Access the Project:

  1. Online Access: link. You can access the project online via the following

  2. Offline Access:
    To run the project locally, follow the setup instructions below.

Demo Video

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.

Features

  • 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.

Workflow

  1. Input Playlist URL
    Paste the YouTube playlist URL into the Streamlit application.

  2. Transcript Extraction
    The system automatically fetches the transcript of each video in the playlist to help identify key sections for clip selection.

  3. Clip Selection
    Select which video clips to include in the recap, using insights from the video transcripts.

  4. Recap Creation
    Automatically generates a video recap by combining the selected clips.

  5. 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.

Setup Instructions

To run the project locally as a Streamlit app:

  1. Clone the Repository

    git clone https://github.com/<your-username>/youtube-playlist-recap-maker.git  
    cd youtube-playlist-recap-maker  
  2. 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.

  3. Install Dependencies
    Install required Python libraries:

    pip install -r requirements.txt  
  4. Run the Streamlit Application
    Start the Streamlit interface by running:

    streamlit run app.py  
  5. 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.

Project Structure

  • 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.

Technologies Used

  • 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.

Future Enhancements

  • 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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages