File tree 3 files changed +0
-16
lines changed 3 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,8 @@ def find_vid_res(pathToInputVideo):
81
81
cmd = "ffprobe -v quiet -print_format json -show_streams"
82
82
args = shlex .split (cmd )
83
83
args .append (pathToInputVideo )
84
- # run the ffprobe process, decode stdout into utf-8 & convert to JSON
85
84
ffprobeOutput = subprocess .check_output (args ).decode ("utf-8" )
86
85
ffprobeOutput = json .loads (ffprobeOutput )
87
-
88
- # find height and width
89
86
height = ffprobeOutput ["streams" ][0 ]["height" ]
90
87
width = ffprobeOutput ["streams" ][0 ]["width" ]
91
88
@@ -95,4 +92,3 @@ def find_vid_res(pathToInputVideo):
95
92
96
93
if __name__ == "__main__" :
97
94
print ("! Please do not run this as a standalone." )
98
- # shutil.rmtree("bc-tmp")
Original file line number Diff line number Diff line change @@ -91,8 +91,6 @@ def add_part():
91
91
# Clean terminal for us
92
92
print ("\n " * os .get_terminal_size ()[1 ])
93
93
print (u"{}[2J{}[;H" .format (chr (27 ), chr (27 )), end = "" )
94
- # print("\033c",end="")
95
- # clear()
96
94
#A simple function which prints out formatted string with color and what is it.
97
95
def prform (which :str , string :str ):
98
96
INFO = Fore .BLUE + "i " + Fore .WHITE
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments