- Видео 45
- Просмотров 63 243
Zubayer Hossain
Германия
Добавлен 5 фев 2020
Everything and anything related to tech... :)
Automated Subtitle Generator for Videos using Python | Instagram Reels & YouTube Shorts Tutorial
🎥 Learn how to create an impressive Python script that automatically adds subtitles to your videos! In this step-by-step tutorial, we'll walk you through the process of using Python along with libraries like MoviePy, OpenCV, and Whisper AI to effortlessly generate engaging subtitles for your videos. Whether you're an aspiring content creator or a programmer looking for a fun project, this tutorial is perfect for you. Elevate your Instagram Reels, RUclips Shorts, and more with this easy-to-follow guide. Plus, you'll gain valuable coding skills along the way! 🚀
🔗 GitHub Repository (Code & Resources): github.com/zubu007/auto-subtitle-generator
🔔 If you found this tutorial helpful, don't forget...
🔗 GitHub Repository (Code & Resources): github.com/zubu007/auto-subtitle-generator
🔔 If you found this tutorial helpful, don't forget...
Просмотров: 10 260
Видео
3 ways to Install python in Windows 10/11 for beginners (Conda installation)
Просмотров 23Год назад
Here I show you the basic and beginners way to install python in your windows machines. The process is same for windows 10 or 11. The video also shows miniconda installation and how to create and manage conda environments in the machine. Question, Comments, Concerns- write below. Follow me on instagram: zub_zuba_zubzub
Calculate FPS and Average FPS from live video using OpenCV python
Просмотров 2,2 тыс.Год назад
This is a shorter video of mine on how to calculate the fps of a video using math and opencv and later show it on the frame.
Basic Image Preprocessing for training deep learning models. | Pytorch | (In 3 mins)
Просмотров 765Год назад
This video explain the normalize function of torchvision.transforms. what is the input and the output of the function etc. How the function changes the image which is being fed and why normalization is important.
Undersampling to balance a Deep learning Dataset.
Просмотров 86Год назад
Here I use the pandas count values function to count the number of samples in each class. Next I use the groupby function and apply a lambda function to take equal number in each class. The video is an example of 2 classes (binary) but the same method can be used on multi class datasets as well.
General Steps I use to train my Deep learning models. (Under 2 mins: 1)
Просмотров 24Год назад
General Steps I use to train my Deep learning models. (Under 2 mins: 1)
Change File extensions using Python Automatically
Просмотров 8812 года назад
Change File extensions using Python Automatically
Calculate FPS from live video. Python OpenCV
Просмотров 7 тыс.3 года назад
Calculate FPS from live video. Python OpenCV
Denoising and Super Resolution of images.
Просмотров 663 года назад
Denoising and Super Resolution of images.
My CV writing experience. With gradual improvements.
Просмотров 6083 года назад
My CV writing experience. With gradual improvements.
How to use Optical Flow from OpenCV || Lucas Kanade method. Video to Optical Flow frames.
Просмотров 6 тыс.3 года назад
How to use Optical Flow from OpenCV || Lucas Kanade method. Video to Optical Flow frames.
3. Binary (powers of 2) || From 0 to 8086 (Literally!)
Просмотров 243 года назад
3. Binary (powers of 2) || From 0 to 8086 (Literally!)
2. Transistors (how transistor is made and function) || From 0 to 8086 Literally!
Просмотров 173 года назад
2. Transistors (how transistor is made and function) || From 0 to 8086 Literally!
1. History of Computing (from Mechanical to Electronic computers) || From 0 to 8086 Literally!
Просмотров 1103 года назад
1. History of Computing (from Mechanical to Electronic computers) || From 0 to 8086 Literally!
Logical Operators || Fundamental Programming Concepts || Boolean Algebra
Просмотров 133 года назад
Logical Operators || Fundamental Programming Concepts || Boolean Algebra
Conditions, If Else || Fundamental Programming Concepts || Boolean Algebra
Просмотров 153 года назад
Conditions, If Else || Fundamental Programming Concepts || Boolean Algebra
What is Programming? Fundamental Programming Concepts || Introduction
Просмотров 193 года назад
What is Programming? Fundamental Programming Concepts || Introduction
Transfer Learning Using GoogleNet. Violence Detection by videos. Part- 2/2
Просмотров 2,2 тыс.3 года назад
Transfer Learning Using GoogleNet. Violence Detection by videos. Part- 2/2
Transfer Learning Using GoogleNet. Violence Detection by videos. Part- 1/2
Просмотров 4,6 тыс.3 года назад
Transfer Learning Using GoogleNet. Violence Detection by videos. Part- 1/2
Implementing a Research Paper || CNN-BiLSTM Project || Training the Model || Part- 3
Просмотров 9693 года назад
Implementing a Research Paper || CNN-BiLSTM Project || Training the Model || Part- 3
Implementing a Research Paper || CNN-BiLSTM Project || Preprocessing and Model creation || Part- 2
Просмотров 2 тыс.3 года назад
Implementing a Research Paper || CNN-BiLSTM Project || Preprocessing and Model creation || Part- 2
Implementing a Research Paper || CNN-BiLSTM Project || Frame Extraction || Part- 1
Просмотров 2,4 тыс.3 года назад
Implementing a Research Paper || CNN-BiLSTM Project || Frame Extraction || Part- 1
Write a program that will create an identity matrix || Assemble 8086 Programming.
Просмотров 3183 года назад
Write a program that will create an identity matrix || Assemble 8086 Programming.
Convert a string to Upper and Lower case || Assembly 8086 programming
Просмотров 9 тыс.3 года назад
Convert a string to Upper and Lower case || Assembly 8086 programming
Cats and Dogs Deep Learning Classification using Tensorflow CNN || Fully Explained || Part 4
Просмотров 7403 года назад
Cats and Dogs Deep Learning Classification using Tensorflow CNN || Fully Explained || Part 4
Cats and Dogs Deep Learning Classification using Tensorflow CNN || Fully Explained || Part 3
Просмотров 9193 года назад
Cats and Dogs Deep Learning Classification using Tensorflow CNN || Fully Explained || Part 3
Cats and Dogs Deep Learning Classification using Tensorflow CNN || Fully Explained || Part 2
Просмотров 1,5 тыс.3 года назад
Cats and Dogs Deep Learning Classification using Tensorflow CNN || Fully Explained || Part 2
Cats and Dogs Deep Learning Classification using Tensorflow CNN || Fully Explained || Part 1
Просмотров 3,7 тыс.3 года назад
Cats and Dogs Deep Learning Classification using Tensorflow CNN || Fully Explained || Part 1
Installing GPU support (CUDA) in Tensorflow in just 10 mins || Installation Guide
Просмотров 2,8 тыс.3 года назад
Installing GPU support (CUDA) in Tensorflow in just 10 mins || Installation Guide
Extracting Frames from Video as Images in Python Using CV2.
Просмотров 2,9 тыс.3 года назад
Extracting Frames from Video as Images in Python Using CV2.
Excellent
thanks
The Sound is distracting.
Sir due to this I am now confident to apply this technique on deep fake detection using resnet50+ lstm thanks a lot sir. LOTS OF LOVE from IIIT BHAGALPUR❤❤ ❤
Can we use deepgram too ?
hey brooo it is running but if i browse a vidoes is showing like this Exception has occurred: RuntimeError Numpy is not available File "C:\Users\HP\Downloads\auto-subtitle-generator-main\auto-subtitle-generator-main\main.py", line 23, in load_model return whisper.load_model(model_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\HP\Downloads\auto-subtitle-generator-main\auto-subtitle-generator-main\main.py", line 14, in __init__ self.model = self.load_model(model_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\HP\Downloads\auto-subtitle-generator-main\auto-subtitle-generator-main\GUI.py", line 57, in ProcessVideo main.transcriber = main.VideoTranscriber(main.model_path, main.video_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Numpy is not available what can i do i want a correct code please reply faster
mr zubayer i want wnat know what path_audio can i using to call it
took coursera years ago . Was trying their cats and dogs program years ago. Recall it working, but my saved copy doesn't seem to work. Tells me everything is a cat : ) . So , I am here to watch you do and explain it.
Hello, I attended your twitch stream yesterday. There was an emergency and I had to leave immediately. I hope I catch you at your streams again ❤
It was good to chat with you. Hope to see you next time.
can this project done in matlab?
Thank you
You're welcome
Someone else is stuck at 0% in Transcribing video
great video! just one thing. what fonts can you use and how do you change the color?
any font works bro
My code fail on line 25, in transcribe_video result = self.model.transcribe(self.audio_path). With error: line 142, in <module> transcriber.transcribe_video() FileNotFoundError: [WinError 2] The system cannot find the file specified. Anyone have have the same issue?
I have the same problem, did you figure it out?
No, i haven't yet but im working on it. Could you let me know if you find a solution?@@abdulghaforrahmatzada
No, but im working on it and will update if i figure it out. Could you let me know if you find a solution?@@abdulghaforrahmatzada
Hi. The error says that the audio file which is specified in the self.audio_path is not found by the transcribe method. The possible reason would be the self.audio_path variable is set empty maybe because of extract_audio method is not called. Can you check if the extract_audio method/function is working on a video? It also can be that the specified audio file location is not set correctly.
Hello, the extract_audio function seem to work fine, as it makes the audio.mp3 file@@zubayer_hossain . The Terminal log also seem to agree: Extracting audio MoviePy - Writing audio in audio.mp3 MoviePy - Done. Audio extracted Transcribing video (Here the error starts) The self.audio_path is equals to the output_audio_path and output_audio_path = "audio.mp3". I am kinda stuck as it seems right to me
realy good video! Can you add some variables to change text size and font?
Added to the code in the github repo as global variables
thank you@@zubayer_hossain
thanks!
I want to write a video with a variable frame rate...how can I do that?
I keep getting this error on the line where you import whisper: Exception has occurred: TypeError argument of type 'NoneType' is not iterable File "D:\Python\Subtitle Generator\main.py", line 1, in <module> import whisper TypeError: argument of type 'NoneType' is not iterable i made sure that i installed whisper
Me too
Did you make it run now?
Use open-ai whisper instead of whisper
this works👍@phantomgaming5199
As answered by @phantomgaming5199, Use pip install openai-whisper, instead of just whisper. I have updated the requirements.txt in the original github repo.
hey from where should we upload the model it is asking for
we use the whisper model here and we download the model using pip install whisper.
Okay soo aftar this how we can detect violance from video like where is code??
Hey! did you run the code? If you did can you help me a little?
Hi. The code can be found at github.com/zubu007/Violence-Detection-using-GoogleNet
Brother, the text is coming out of the frame of the video and make such a program that the words appear one by one in the video as it happened in the end. please make next tutorial on this.....😇😇
Broo
Im getting exception has occurred in the first line where whisper is present do you get something like that
i have this code
Bro can you tell how to do this Environment setup ?
mic not working properly
just in time for my final exam!
i want to try this on my mac m1. what CV packages do I have to install first ? Any instructions ? Thanks
I have a question. So, you use a single frame, then feed into Inception? Or you use a stack of frames (in a video), then feed all these to Inception.
Hi you are using a different data set in the video and the provided data set is different..
how do you create a dataframe when there is any.......i ve seen so many methods rare are the one that fit ...i try to create a df for my project but i cant get rid of a lot of error due to df is not defined...how to overcome this struugle ..??? thank you
good job dude ..! is the optimizer fonction the same as define the loss function and minimize it ...???
waiting for part 4 !!!.......
You can find part 4 here- ruclips.net/video/t8u5gKSEIUM/видео.html
Thanks
I know python and just begun learning ML. what are the topics i need to learn first to do this. can u pls respond. I want to create this project
Mathematics behind Deep learning. Trust me it will take you far.
These two videos were great and super useful for a project I am doing for a class currently. Keep up the good work!
Man!!! You're a LIFE SAVER!!!!
Grea
It is not working
It worked for me.
Eta copy kore Nowshed sir ke dekhai dis. 😁
My fps text sticks on 0.00 although the cam video is running well idk why how do I resolve this?
Do you have Instagram or Twitter to contact u
when I run it works, but there is no image in the frames folder. what the problem bro?, can you help me please
Maybe you are not saving the image or the destination path is wrong. Send me the code and maybe I can help you .
Kindly check your mail. I need imediate help from you, Thanks
Apologies. I have been away from this channel for a while thus I couldn't help you. If you still need my assistance please do email me again with your queries.
@@zubayer_hossain I have mailed you again! Please help me asap! It's real urgent Thanks
Kindly check your mail. I need imediate help from you, Thanks
thank you
Good simple video. Well done. More, please. THANK YOU
can you do this in Visual studio in C#
What happens to the audio after splitting the video in to frames, plz suggest
We are dealing with the visual portion of the videos. When working with computer vision, the audio is not taken into action. That is a different field entirely.
hi, i download the data set but there is no " data frame " folder in it. so what should I do?
Do ya have any understanding about this
it isn't working at my side code is below
Man you are awsome!!!!!! wonderfull person and great personality. thank you for the video
Glad you enjoyed it!
@@zubayer_hossain bro can i do this as my final year project??
hi thank you for a nice interpretation, i shall be grateful if you can help us that how can we optimise models with optical flow processed frames or temporal frequency analyses on video frames for model's optimisation.
can you please tell me the structure of dataset folder here