Skip to content

About

đŸŽžïž YouTube Clip Extractor is a bilingual web application that lets you extract high-quality clips from any YouTube video in just a few clicks. Simple interface, instant download, no technical skills required. Perfect for content creators, teachers, and anyone who wants to save or share the best moments from YouTube.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

đŸŽžïž YouTube Clip Extractor

⚠ This repository has been archived and is no longer maintained. ⚠

Python Gradio License

For personal use only. Respect the platform's Terms of Service and copyright law.


🇬🇧 English Version

A powerful web application to extract clips from YouTube videos with high quality. Available in both English and French.

🚀 Quick Start

Prerequisites

  • Python 3.8 or higher
  • FFmpeg (for video processing)

Installation

  1. Clone the repository
    git clone https://github.com/Erazor48/youtube-clip-extractor.git
    cd youtube-clip-extractor
  2. Install dependencies
    pip install -r requirements.txt
  3. Install FFmpeg (if not already installed)

Usage

  • English (online or local) :
    python app_en.py
  • Terminal launcher :
    python launch.py

Features

  • Extract high quality clips from YouTube videos
  • Bilingual interface (English & French)
  • Simple Gradio web UI
  • Custom time range and file naming
  • No video files or outputs are stored in the repository

Project Structure

Get_Video/
├── app_en.py           # English Gradio interface (online & local)
├── app_fr.py           # French Gradio interface (local)
├── video_utils.py      # Video processing utilities
├── requirements.txt    # Python dependencies
├── README.md           # This file
├── LICENSE             # MIT License
├── .gitignore          # Ignore rules
├── launch.py           # Terminal language launcher (optional)
├── downloads/          # Downloaded videos (ignored)
└── outputs/            # Generated clips (ignored)

.gitignore

  • downloads/ and outputs/ are ignored (not on GitHub)
  • .gradio/ and all temp/cache files are ignored
  • Only code, documentation, and requirements are versioned

License

MIT License - see LICENSE

Disclaimer

This tool is for educational and personal use only. Please respect YouTube's Terms of Service and copyright laws. Only download videos you have permission to use.


đŸ‡«đŸ‡· Version Française

Une application web puissante pour extraire des clips de vidéos YouTube avec une qualité élevée. Disponible en anglais et français.

🚀 DĂ©marrage rapide

Prérequis

  • Python 3.8 ou supĂ©rieur
  • FFmpeg (pour le traitement vidĂ©o)

Installation

  1. Cloner le repository
    git clone https://github.com/Erazor48/youtube-clip-extractor.git
    cd youtube-clip-extractor
  2. Installer les dépendances
    pip install -r requirements.txt
  3. Installer FFmpeg (si pas déjà installé)

Utilisation

  • Version française (local uniquement) :
    python app_fr.py
  • Lanceur terminal :
    python launch.py

Fonctionnalités

  • Extraction haute qualitĂ© de clips YouTube
  • Interface bilingue (anglais & français)
  • Interface web simple avec Gradio
  • Plage de temps et nommage personnalisĂ©s
  • Aucun fichier vidĂ©o ou extrait n'est stockĂ© dans le dĂ©pĂŽt

Structure du projet

Get_Video/
├── app_en.py           # Interface anglaise Gradio (en ligne & local)
├── app_fr.py           # Interface française Gradio (local)
├── video_utils.py      # Utilitaires de traitement vidĂ©o
├── requirements.txt    # DĂ©pendances Python
├── README.md           # Ce fichier
├── LICENSE             # Licence MIT
├── .gitignore          # Rùgles d'exclusion
├── launch.py           # Lanceur de langue terminal (optionnel)
├── downloads/          # VidĂ©os tĂ©lĂ©chargĂ©es (ignorĂ©)
└── outputs/            # Clips gĂ©nĂ©rĂ©s (ignorĂ©)

.gitignore

  • downloads/ et outputs/ sont ignorĂ©s (non versionnĂ©s)
  • .gradio/ et tous les fichiers temporaires/cache sont ignorĂ©s
  • Seul le code, la documentation et les dĂ©pendances sont versionnĂ©s

Licence

Licence MIT - voir LICENSE

Avertissement

Cet outil est destiné à un usage éducatif et personnel uniquement. Veuillez respecter les Conditions d'Utilisation de YouTube et les lois sur les droits d'auteur. Ne téléchargez que les vidéos pour lesquelles vous avez l'autorisation d'utilisation.


🌟 Features

  • High Quality Extraction: Maintains original video quality
  • Bilingual Support: Available in English and French
  • User-Friendly: Simple web interface with Gradio
  • Flexible Time Format: Supports HH:MM:SS time format
  • Custom Naming: Optional custom file naming
  • Automatic Download: Downloads videos automatically from YouTube

🚀 Quick Start

Prerequisites

  • Python 3.8 or higher
  • FFmpeg (for video processing)

Installation

  1. Clone the repository

    git clone https://github.com/Erazor48/youtube-clip-extractor.git
    cd youtube-clip-extractor
  2. Install dependencies

    pip install -r requirements.txt
  3. Install FFmpeg (if not already installed)

    Windows:

    # Using chocolatey
    choco install ffmpeg
    
    # Or download from https://ffmpeg.org/download.html

    macOS:

    brew install ffmpeg

    Linux:

    sudo apt update
    sudo apt install ffmpeg
  4. Launch the application

    Option 1: Interactive launcher (recommended)

    python launch.py

    Option 2: Direct launch

    # English version
    python app_en.py
    
    # French version
    python app_fr.py
  5. Open your browser and go to http://localhost:7860

📖 Usage

  1. Enter YouTube URL: Paste the URL of the video you want to extract from
  2. Set Time Range:
    • Start time in HH:MM:SS format (e.g., 00:01:30)
    • End time in HH:MM:SS format (e.g., 00:03:45)
  3. Optional: Enter a custom name for your clip
  4. Click "Generate Extract": The application will download the video and create your clip

📁 Project Structure

youtube-clip-extractor/
├── app_en.py           # English version
├── app_fr.py           # French version
├── launch.py           # Interactive language launcher
├── video_utils.py      # Video processing utilities
├── requirements.txt    # Python dependencies
├── .gitignore         # Git ignore rules
├── README.md          # This file
├── LICENSE            # MIT License
├── downloads/         # Downloaded videos (auto-created)
└── outputs/           # Generated clips (auto-created)

🌐 Language Support

The application is available in two languages:

đŸ‡ș🇾 English Version (app_en.py)

  • Complete English interface
  • English error messages and status updates
  • English documentation and placeholders

đŸ‡«đŸ‡· French Version (app_fr.py)

  • Complete French interface
  • French error messages and status updates
  • French documentation and placeholders

🚀 Easy Launch

Use python launch.py for an interactive language selection menu.

🔧 Configuration

The application automatically creates the following directories:

  • downloads/: Stores downloaded YouTube videos
  • outputs/: Stores generated video clips

📋 Requirements

  • yt-dlp>=2023.12.30: YouTube video downloading
  • moviepy>=1.0.3: Video processing and editing
  • gradio>=4.0.0: Web interface framework

đŸ€ Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

⚠ Disclaimer

This tool is for educational and personal use only. Please respect YouTube's Terms of Service and copyright laws. Only download videos you have permission to use.

🐛 Troubleshooting

Common Issues

  1. FFmpeg not found: Make sure FFmpeg is installed and in your system PATH
  2. Download errors: Check your internet connection and the YouTube URL
  3. Memory issues: Large videos may require more RAM

Getting Help

If you encounter any issues, please:

  1. Check the console output for error messages
  2. Ensure all dependencies are installed correctly
  3. Verify FFmpeg is properly installed
  4. Open an issue on GitHub with detailed error information


đŸŽžïž Extracteur de Clip YouTube

Python Gradio License

Une application web puissante pour extraire des clips de vidéos YouTube avec une qualité élevée. Disponible en anglais et français.

🌟 FonctionnalitĂ©s

  • Extraction Haute QualitĂ©: Maintient la qualitĂ© originale de la vidĂ©o
  • Support Bilingue: Disponible en anglais et français
  • Interface Simple: Interface web intuitive avec Gradio
  • Format de Temps Flexible: Supporte le format HH:MM:SS
  • Nommage PersonnalisĂ©: Nommage de fichier optionnel
  • TĂ©lĂ©chargement Automatique: TĂ©lĂ©charge automatiquement les vidĂ©os YouTube

🚀 DĂ©marrage Rapide

Prérequis

  • Python 3.8 ou supĂ©rieur
  • FFmpeg (pour le traitement vidĂ©o)

Installation

  1. Cloner le repository

    git clone https://github.com/Erazor48/youtube-clip-extractor.git
    cd youtube-clip-extractor
  2. Installer les dépendances

    pip install -r requirements.txt
  3. Installer FFmpeg (si pas déjà installé)

    Windows:

    # Avec chocolatey
    choco install ffmpeg
    
    # Ou télécharger depuis https://ffmpeg.org/download.html

    macOS:

    brew install ffmpeg

    Linux:

    sudo apt update
    sudo apt install ffmpeg
  4. Lancer l'application

    Option 1: Lanceur interactif (recommandé)

    python launch.py

    Option 2: Lancement direct

    # Version anglaise
    python app_en.py
    
    # Version française
    python app_fr.py
  5. Ouvrir votre navigateur et aller sur http://localhost:7860

📖 Utilisation

  1. Entrer l'URL YouTube: Collez l'URL de la vidéo dont vous voulez extraire un clip
  2. Définir la Plage Temporelle:
    • Heure de dĂ©but au format HH:MM:SS (ex: 00:01:30)
    • Heure de fin au format HH:MM:SS (ex: 00:03:45)
  3. Optionnel: Entrez un nom personnalisé pour votre clip
  4. Cliquer "Générer l'extrait": L'application téléchargera la vidéo et créera votre clip

📁 Structure du Projet

youtube-clip-extractor/
├── app_en.py           # Version anglaise
├── app_fr.py           # Version française
├── launch.py           # Lanceur interactif de langue
├── video_utils.py      # Utilitaires de traitement vidĂ©o
├── requirements.txt    # DĂ©pendances Python
├── .gitignore         # Rùgles Git ignore
├── README.md          # Ce fichier
├── LICENSE            # Licence MIT
├── downloads/         # VidĂ©os tĂ©lĂ©chargĂ©es (créé automatiquement)
└── outputs/           # Clips gĂ©nĂ©rĂ©s (créé automatiquement)

🌐 Support Linguistique

L'application est disponible en deux langues :

đŸ‡ș🇾 Version Anglaise (app_en.py)

  • Interface complĂšte en anglais
  • Messages d'erreur et statuts en anglais
  • Documentation et placeholders en anglais

đŸ‡«đŸ‡· Version Française (app_fr.py)

  • Interface complĂšte en français
  • Messages d'erreur et statuts en français
  • Documentation et placeholders en français

🚀 Lancement Facile

Utilisez python launch.py pour un menu de sélection de langue interactif.

🔧 Configuration

L'application crée automatiquement les répertoires suivants :

  • downloads/: Stocke les vidĂ©os YouTube tĂ©lĂ©chargĂ©es
  • outputs/: Stocke les clips vidĂ©o gĂ©nĂ©rĂ©s

📋 Exigences

  • yt-dlp>=2023.12.30: TĂ©lĂ©chargement de vidĂ©os YouTube
  • moviepy>=1.0.3: Traitement et Ă©dition vidĂ©o
  • gradio>=4.0.0: Framework d'interface web

đŸ€ Contribution

  1. Fork le repository
  2. Créez une branche de fonctionnalité (git checkout -b feature/NouvelleFonctionnalite)
  3. Committez vos changements (git commit -m 'Ajouter une nouvelle fonctionnalité')
  4. Poussez vers la branche (git push origin feature/NouvelleFonctionnalite)
  5. Ouvrez une Pull Request

📄 Licence

Ce projet est sous licence MIT - voir le fichier LICENSE pour plus de détails.

⚠ Avertissement

Cet outil est destiné à un usage éducatif et personnel uniquement. Veuillez respecter les Conditions d'Utilisation de YouTube et les lois sur les droits d'auteur. Ne téléchargez que les vidéos pour lesquelles vous avez l'autorisation d'utilisation.

🐛 DĂ©pannage

ProblĂšmes Courants

  1. FFmpeg non trouvé: Assurez-vous que FFmpeg est installé et dans votre PATH systÚme
  2. Erreurs de téléchargement: Vérifiez votre connexion internet et l'URL YouTube
  3. ProblÚmes de mémoire: Les grandes vidéos peuvent nécessiter plus de RAM

Obtenir de l'Aide

Si vous rencontrez des problĂšmes, veuillez :

  1. Vérifier la sortie console pour les messages d'erreur
  2. S'assurer que toutes les dépendances sont installées correctement
  3. Vérifier que FFmpeg est correctement installé
  4. Ouvrir un issue sur GitHub avec des informations d'erreur détaillées

About

đŸŽžïž YouTube Clip Extractor is a bilingual web application that lets you extract high-quality clips from any YouTube video in just a few clicks. Simple interface, instant download, no technical skills required. Perfect for content creators, teachers, and anyone who wants to save or share the best moments from YouTube.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages