We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59c930c commit 036ee22Copy full SHA for 036ee22
pytubeTest.py
@@ -47,6 +47,4 @@
47
faceFrame = frame.crop((left,top,right,bottom-height*0.3))
48
faceFrame.save(faceFilename)
49
50
-command = "ffmpeg -i "+latest_file+" -ab 160k -ac 2 -ar 44100 -vn "+folderNumber+"/audio.wav"
51
-
52
-subprocess.call(command, shell=True)
+subprocess.run(["ffmpeg", "-i", latest_file, "-ab", "160k", "-ac", "2", "-ar", "44100", "-vn", folderNumber+"/audio.wav"])
0 commit comments