This Web App is an AI tool packed with a wide array of capabilities designed to enhance the experience of interacting with YouTube videos YouTube Shots or any video content. It offers a versatile set of functionalities including transcription and scrolling subtitle embeddings. This versatile web app is a valuable resource for content creators researchers and anyone seeking to gain deeper insights into video content on YouTube or other platforms. Whether you need accurate transcriptions multi-language support sentiment analysis or enhanced accessibility through embedded subtitles into video with this tool. It also generates best description for the video and suggest the topics which are covered in the video.
About WebApp Β· App Demo Β· Documentation Β· Report Bug Β· Request Feature
Yt.Transcriptor-1.Video.Analyzer.Short.-1.mp4
Drone Pratap-Kalamadhyama ( Kannada )
Yt.Transcriptor-2.Subtitle.Generator.Short.-1.mp4
Upcoming Mobile Phones: August 2023 ( Telugu )
Yt.Transcriptor-3.Subtitle.Embedding.Short.-1.mp4
- Subtitles Tranlsation on Installing Ubuntu GUI Desktop on a Linux VPS on Linode ( Code With Harry )
- Name Entity Recognition on India Makes History! - Chandrayaan 3 Lunar Landing ( Dhruv Rathee )
- Video Scrapping and Data Visualization
- Content Analyzer
- Video Transcription
- Subtitle Embedding into Video
- Video Sentimental Analysis based comments
- Name Entity Recognition on Video Content
- Suggest Description and Topics by analyzing Video Content
To run this project, you will need to add the following environment variables to your .env file
ImageMagick
ffmpeg
API Keys
First, set-up FFmpeg and ImageMagick packages into the system and save into the environmental variable path in the program to use ffmpeg and ffprobe
Check at the main file where we use these packages into the code must have detected the path of ffmpeg and ffprobe (or else add them manually as done in the setup.py file)
ffmpeg_binary = "/usr/bin/ffmpeg"
ffprobe_binary = "/usr/bin//ffprobe"
pydub.AudioSegment.ffmpeg = ffmpeg_binary
ffmpeg.input.ffmpeg = ffmpeg_binary
pydub.AudioSegment.ffprobe = ffprobe_binary
ffmpeg.input.ffprobe = ffprobe_binary
Or For Streamlit we can add a packages.txt which installs all the required files and setup for the FFmpeg and ImageMagick, It actually automatically runs the command:
apt-get install package ( for all the packages in the packages.txt)
To use ImageMagick for editing the video with the Moviepy python package we need to allow permissions to read/write to the policy.xml ( as per default policy it is set as none )
sudo cat /etc/ImageMagick-6/policy.xml | sed 's/none/read,write/g'> /etc/ImageMagick-6/policy.xml
Clone the project
https://github.com/manish-4007/YT-video-Transcription
Go to the project directory
cd video_transcriptor
Create Virtual Environment
python -m venv venv
Activate the environment
./venv/Scripts/activate
Now run the setup.py file to install all the dependencies
python ./setup.py
if still some packages did not installed then run the the requirement.txt using pip
pip install -r ./requirements.txt
Now all setup done, just run the streamlit file from the terminal to run it in the local server
streamlit run ./Home.py
- Pytube and Youtube API v3 ( for Video Analysis )
- Pydub Speech Recognition Fast Whisper (for Speech Recognition from Video to Text )
- Moviepy ffmpeg and ImageMagick ( Editing Video)
- NLTK SpaCy SpacyTextBlob ( For NLP Tasks like Sentiment Analysis and Text Summarizer )
- Googletrans and Transformers ( For Text Translation and Topic Modelling )
- Hugging Face Transformers - Bart Model by "facebook/bart-large-mnli"
- Streamlit and Streamlit-extras ( Web App Creation and Deployment )
- Video Analyzer
- Download Video Feature
- Video Analatytics
- Sentiment Analysis on Comments
- Show comments based on Sentiment
- Video Transcription to any languages
- Subtitle Generator
- Description Generator
- Name Entity Recognition on Video Content
- Subtitle Converter into any Languages
- Subtile Embeding into Video
- Topic Modelling on Video Content
This project is licensed under the Apache-2.0 license
Manish Rai Chodhury - LinkedIn Profile - [email protected]
Project Link: https://github.com/manish-4007/YT-video-Transcription
Use this section to mention useful resources and libraries that you have used in your projects.