Category : desktop

Please, i ask for help how to get video and audio from desktop on ffmpeg python. Code: log_dir = ‘C:UsersLENOVO-PCDesktopTest video recording’ CORE_DIR = ‘C:UsersLENOVO-PCDesktopTest video recording’ video_file = join(log_dir, ‘video_’ + ‘TEST’ + ‘.mp4’) FFMPEG_BIN = join(CORE_DIR, ‘ffmpegbinffmpeg.exe’) command = [ FFMPEG_BIN, ‘-y’, ‘-loglevel’, ‘debug’, ‘-f’, ‘gdigrab’, ‘-i’, ‘desktop’, ‘-s’, ‘960×540’, ‘-framerate’, ’12’, ‘-probesize’, ..

Read more

I am new to coding. My problem is, I want to find a specific file with python from the download folder and then rename the specific file. I try to use this method: def find_all(name, path): result = [] for root, dirs, files in os.walk("E:Download"): if SM_-_Data_Sheet_For_Google_Data_Studio in files: result.append(os.path.join(r’E:Download’, SM_-_Data_Sheet_For_Google_Data_Studio)) else: print("nimic") return result ..

Read more