

setItemText ( 0, _translate ( "MainWindow", "Select Audio Device" )) self. setWindowTitle ( _translate ( "MainWindow", "PyShine Video Recorder" )) self. STDOUT ) def retranslateUi ( self, MainWindow ): _translate = QtCore. arguments, stdout = FNULL, stderr = subprocess. clicked = False def makeVideo ( self, inp ): #self.process = subprocess.Popen(self.arguments, shell=True)įNULL = open ( os.

getWindowsWithTitle ( 'Windows PowerShell' ) w. setObjectName ( "statusbar" ) MainWindow. AudioInput ) for device in input_audio_deviceInfos : self. Input_audio_deviceInfos = QAudioDeviceInfo. cmd = "" """ AUDIO and VIDIO DEVICES """ from PyQt5.QtMultimedia import QAudioDeviceInfo, QAudio, QCameraInfo # List of Audio Input Devices setObjectName ( "MainWindow" ) sizeObject = QtWidgets. remove ( "output_video.mp4" ) except : pass drawing = False global x1, y1, x2, y2, num, h, w, windowRegion x1, y1, x2, y2, h, w = 0, 0, 0, 0, 0, 0 windowRegion = 0 num = 0 class Ui_MainWindow ( object ): def setupUi ( self, MainWindow ): self. Import cv2 import numpy as np import pygetwindow as gw import _thread import imutils import time import signal from threading import Thread import shlex import psutil import subprocess from subprocess import Popen from dateutil.relativedelta import relativedelta # Install it via: pip install python-dateutil # Its an Audio Video Screen Recoder in Python 3. # Subscribe to pyshine youtube channel for more learning videos.
