Preparing Environment For Pydub | Installation of FFmpeg & Microsoft Build Tools | Python Audio Text

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2022
  • In this video, I will show you how to install the Pydub Library of Python but the installation of Pydub in Python is not an easy task. Here are the steps necessary to Follow to Install Pydub Successfully.
    STEPS:
    1. First of all, you need to have FFmpeg. If you do not know what is FFmpeg and how to install it then watch the video for complete information.
    2. In the second step, you need to have Microsoft Visual C++ Build Tools. You do not need to install the whole Visual Studio. You just need to install its C++ Build Tools and I will tell you "how to install it?" in this tutorial.
    3. You need to have Python Pyaudio Library. If you try to install Pyaudio Library using pip then in most cases it will not work. So, you need to have it's wheel package and with the help of that wheel package you will install it and it is obvious that I will tell you how to install Pyaudio using its wheel package in this tutorial.
    4. In step 4, you need to install ffmpeg in Python Interpreter.
    5. Finally, you need to install Pydub in order to play with audio files in Python.
    If you are interested in learning Python & Python Libraries, we have different courses on Python.
    Complete Python Course Bootcamp | Python Libraries Unlocked
    www.udemy.com/course/learn-py...
    The Ultimate Hands-on Kivymd |Tame your Python Kivy Skills
    www.udemy.com/course/the-ulti...
    NLP Boot-camp: Hands-on Text mining in Python using TextBlob
    www.udemy.com/course/nlp-boot...
    The Ultimate hands-on Kivy | Tame your Kivy Python skills!
    www.udemy.com/course/the-ulti...

ความคิดเห็น • 8

  • @Blue-Robin
    @Blue-Robin 11 หลายเดือนก่อน +3

    A useful thing in this video is the FFMPEG paths. Even though I was using another IDE I found it very useful to see a step by step adding of FFMPEG. Thanks!

    • @MrJbalmer
      @MrJbalmer 10 หลายเดือนก่อน

      Same here! Was using Spyder but was having trouble understanding why I couldnt use pythons pydub module. Vid fixed the issue once I downloaded ffmpeg and added it to path per the video.

  • @wesleyvanpeer1988
    @wesleyvanpeer1988 ปีที่แล้ว +2

    Thanks for everything!

  • @besho9596
    @besho9596 ปีที่แล้ว

    Thanks a lot bro bless you .❤❤❤

  • @haisley2025
    @haisley2025 3 หลายเดือนก่อน

    I can’t find the website which is used to download pyaudio packages

  • @idrisaktas3213
    @idrisaktas3213 2 ปีที่แล้ว

    Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
    warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
    Asistan: İyi günler, size nasıl yardımcı olabilirim? : 13:17:46
    C:\Users\idris\AppData\Local\Programs\Python\Python310\lib\site-packages\pydub\utils.py:198: RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe,
    but may not work
    warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)
    Traceback (most recent call last):
    File "c:\Users\idris\Desktop\proje_odevi\deneme3\main3.py\main.py", line 159, in
    talkUS("İyi günler, size nasıl yardımcı olabilirim?") # Program açıldığında bizi karşılayacak olan kısım
    File "c:\Users\idris\Desktop\proje_odevi\deneme3\main3.py\main.py", line 88, in talkUS
    sound = AudioSegment.from_file("audio.mp3") # kayıt ettiğimiz dosyamızı pydub modülü ile oynatıyoruz.
    File "C:\Users\idris\AppData\Local\Programs\Python\Python310\lib\site-packages\pydub\audio_segment.py", line 728, in from_file
    info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
    File "C:\Users\idris\AppData\Local\Programs\Python\Python310\lib\site-packages\pydub\utils.py", line 274, in mediainfo_json
    res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
    File "C:\Users\idris\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
    File "C:\Users\idris\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
    FileNotFoundError: [WinError 2] Sistem belirtilen dosyayı bulamıyor

    • @nilegproduction
      @nilegproduction  2 ปีที่แล้ว

      Could you please describe your issue more?