https://www.wikihow.com/Install-FFmpeg-on-Windows
Install ffmpeg-python ffmpeg-python API Docs
pip install ffmpeg-python
pip3 install gTTS playsound
import gtts
from playsound import playsound
# play the audio file
playsound("hello.mp3")
import speech_recognition as sr
r = sr.Recognizer()
with sr.AudioFile("hello_world.wav") as source:
audio = r.record(source)
try:
s = r.recognize_google(audio)
print("Text: "+s)
except Exception as e:
print("Exception: "+str(e))
import subprocess
command = 'for file in *.mp4; do ffmpeg -i "$file" -c copy -an "noaudio_$file"; done'
subprocess.call(command, shell=True)
pip install ffmpeg-python
import ffmpeg
infile1 = ffmpeg.input(combine + "/" + name + ".mp4")
infile2 = ffmpeg.input(combine + "/" + name + ".mp3")
ffmpeg.concat(infile1, infile2, v=1, a=1).output(final_save_path + "/" + name + ".mp4").run()
- https://python-twitch-client.readthedocs.io/en/latest/
- https://github.com/tsifrer/python-twitch-client
It's always good ideas to start manually to work out the concept and workflow manully before you developed software and tool to automate them.