Zubayer Hossain
Zubayer Hossain
  • Видео 45
  • Просмотров 63 243
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...
Просмотров: 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.

Комментарии

  • @LearningToLiveNow
    @LearningToLiveNow 2 месяца назад

    Excellent

  • @çizgiormanı
    @çizgiormanı 2 месяца назад

    thanks

  • @tasnimjahan-qv7hy
    @tasnimjahan-qv7hy 2 месяца назад

    The Sound is distracting.

  • @arpitpathak7276
    @arpitpathak7276 3 месяца назад

    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❤❤ ❤

  • @shafshafiq1782
    @shafshafiq1782 3 месяца назад

    Can we use deepgram too ?

  • @vijayalakshmisubramani7565
    @vijayalakshmisubramani7565 4 месяца назад

    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

  • @TranslatoreAI
    @TranslatoreAI 4 месяца назад

    mr zubayer i want wnat know what path_audio can i using to call it

  • @inhibited44
    @inhibited44 5 месяцев назад

    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.

  • @elitefusion750
    @elitefusion750 5 месяцев назад

    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 ❤

    • @zubayer_hossain
      @zubayer_hossain 5 месяцев назад

      It was good to chat with you. Hope to see you next time.

  • @ArpanChoudhari
    @ArpanChoudhari 7 месяцев назад

    can this project done in matlab?

  • @nehronehroo3015
    @nehronehroo3015 7 месяцев назад

    Thank you

  • @pepitogrillo247
    @pepitogrillo247 8 месяцев назад

    Someone else is stuck at 0% in Transcribing video

  • @teemu3436
    @teemu3436 8 месяцев назад

    great video! just one thing. what fonts can you use and how do you change the color?

  • @steffenditlefsbstad8940
    @steffenditlefsbstad8940 9 месяцев назад

    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?

    • @abdulghaforrahmatzada
      @abdulghaforrahmatzada 9 месяцев назад

      I have the same problem, did you figure it out?

    • @steffenditlefsbstad8940
      @steffenditlefsbstad8940 9 месяцев назад

      No, i haven't yet but im working on it. Could you let me know if you find a solution?@@abdulghaforrahmatzada

    • @steffenditlefsbstad8940
      @steffenditlefsbstad8940 9 месяцев назад

      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

    • @zubayer_hossain
      @zubayer_hossain 9 месяцев назад

      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.

    • @steffenditlefsbstad8940
      @steffenditlefsbstad8940 9 месяцев назад

      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

  • @Grusel_Boy_1
    @Grusel_Boy_1 9 месяцев назад

    realy good video! Can you add some variables to change text size and font?

    • @zubayer_hossain
      @zubayer_hossain 9 месяцев назад

      Added to the code in the github repo as global variables

    • @Grusel_Boy_1
      @Grusel_Boy_1 9 месяцев назад

      thank you@@zubayer_hossain

  • @jonin-xi6kq
    @jonin-xi6kq 10 месяцев назад

    thanks!

  • @akshayshelke7074
    @akshayshelke7074 10 месяцев назад

    I want to write a video with a variable frame rate...how can I do that?

  • @FlimzyYT
    @FlimzyYT 10 месяцев назад

    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

    • @kannadasan3724
      @kannadasan3724 10 месяцев назад

      Me too

    • @kannadasan3724
      @kannadasan3724 10 месяцев назад

      Did you make it run now?

    • @phantomgaming5199
      @phantomgaming5199 10 месяцев назад

      Use open-ai whisper instead of whisper

    • @steffenditlefsbstad8940
      @steffenditlefsbstad8940 9 месяцев назад

      this works👍@phantomgaming5199

    • @zubayer_hossain
      @zubayer_hossain 8 месяцев назад

      As answered by @phantomgaming5199, Use pip install openai-whisper, instead of just whisper. I have updated the requirements.txt in the original github repo.

  • @vanshikarajvanshi538
    @vanshikarajvanshi538 11 месяцев назад

    hey from where should we upload the model it is asking for

    • @zubayer_hossain
      @zubayer_hossain 9 месяцев назад

      we use the whisper model here and we download the model using pip install whisper.

  • @muqadsazaheen4653
    @muqadsazaheen4653 11 месяцев назад

    Okay soo aftar this how we can detect violance from video like where is code??

    • @M-In-G
      @M-In-G 11 месяцев назад

      Hey! did you run the code? If you did can you help me a little?

    • @zubayer_hossain
      @zubayer_hossain 11 месяцев назад

      Hi. The code can be found at github.com/zubu007/Violence-Detection-using-GoogleNet

  • @skilledprogrammer10
    @skilledprogrammer10 Год назад

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

    • @kannadasan3724
      @kannadasan3724 10 месяцев назад

      Broo

    • @kannadasan3724
      @kannadasan3724 10 месяцев назад

      Im getting exception has occurred in the first line where whisper is present do you get something like that

    • @dailywisdomquotes518
      @dailywisdomquotes518 9 месяцев назад

      i have this code

  • @vijayreddy3422
    @vijayreddy3422 Год назад

    Bro can you tell how to do this Environment setup ?

  • @shoaibshoobi7131
    @shoaibshoobi7131 Год назад

    mic not working properly

  • @561Aloha
    @561Aloha Год назад

    just in time for my final exam!

  • @ysy69
    @ysy69 2 года назад

    i want to try this on my mac m1. what CV packages do I have to install first ? Any instructions ? Thanks

  • @pitiwatlueang6899
    @pitiwatlueang6899 2 года назад

    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.

  • @iamnin0
    @iamnin0 2 года назад

    Hi you are using a different data set in the video and the provided data set is different..

  • @erwanerwan6196
    @erwanerwan6196 2 года назад

    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

  • @erwanerwan6196
    @erwanerwan6196 2 года назад

    good job dude ..! is the optimizer fonction the same as define the loss function and minimize it ...???

  • @erwanerwan6196
    @erwanerwan6196 2 года назад

    waiting for part 4 !!!.......

    • @zubayer_hossain
      @zubayer_hossain 2 года назад

      You can find part 4 here- ruclips.net/video/t8u5gKSEIUM/видео.html

  • @minayakarimova
    @minayakarimova 2 года назад

    Thanks

  • @csc1917
    @csc1917 2 года назад

    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

    • @zubayer_hossain
      @zubayer_hossain 2 года назад

      Mathematics behind Deep learning. Trust me it will take you far.

  • @Number1fanofcaptain
    @Number1fanofcaptain 2 года назад

    These two videos were great and super useful for a project I am doing for a class currently. Keep up the good work!

  • @nomad7317
    @nomad7317 2 года назад

    Man!!! You're a LIFE SAVER!!!!

  • @wilfredomartel7781
    @wilfredomartel7781 2 года назад

    Grea

  • @sabihajahaneasha2939
    @sabihajahaneasha2939 2 года назад

    It is not working

  • @ghzich017
    @ghzich017 2 года назад

    My fps text sticks on 0.00 although the cam video is running well idk why how do I resolve this?

  • @amino_ghr
    @amino_ghr 2 года назад

    Do you have Instagram or Twitter to contact u

  • @rizqidwifauzi5821
    @rizqidwifauzi5821 2 года назад

    when I run it works, but there is no image in the frames folder. what the problem bro?, can you help me please

    • @zubayer_hossain
      @zubayer_hossain 2 года назад

      Maybe you are not saving the image or the destination path is wrong. Send me the code and maybe I can help you .

  • @MuhammadHassan-mp5th
    @MuhammadHassan-mp5th 2 года назад

    Kindly check your mail. I need imediate help from you, Thanks

    • @zubayer_hossain
      @zubayer_hossain 2 года назад

      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.

    • @MuhammadHassan-mp5th
      @MuhammadHassan-mp5th 2 года назад

      @@zubayer_hossain I have mailed you again! Please help me asap! It's real urgent Thanks

  • @MuhammadHassan-mp5th
    @MuhammadHassan-mp5th 2 года назад

    Kindly check your mail. I need imediate help from you, Thanks

  • @asikjoe
    @asikjoe 2 года назад

    thank you

  • @martin-xq7te
    @martin-xq7te 2 года назад

    Good simple video. Well done. More, please. THANK YOU

  • @Fractured_Galaxy
    @Fractured_Galaxy 2 года назад

    can you do this in Visual studio in C#

  • @santoshnarayana8593
    @santoshnarayana8593 2 года назад

    What happens to the audio after splitting the video in to frames, plz suggest

    • @zubayer_hossain
      @zubayer_hossain 2 года назад

      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.

  • @sathyajithsaliya601
    @sathyajithsaliya601 2 года назад

    hi, i download the data set but there is no " data frame " folder in it. so what should I do?

  • @irzumshafique2609
    @irzumshafique2609 2 года назад

    it isn't working at my side code is below

  • @feeham
    @feeham 2 года назад

    Man you are awsome!!!!!! wonderfull person and great personality. thank you for the video

    • @zubayer_hossain
      @zubayer_hossain 2 года назад

      Glad you enjoyed it!

    • @vijayreddy3422
      @vijayreddy3422 Год назад

      @@zubayer_hossain bro can i do this as my final year project??

  • @mmshafique8491
    @mmshafique8491 2 года назад

    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.

  • @mahimahmed1695
    @mahimahmed1695 3 года назад

    can you please tell me the structure of dataset folder here