// open process with supplied arguments,
// grabbing number of frames using ffprobe
probecmd = [_FFMPEG_PATH + "/ffprobe"] + ["-v", "error", "-count_frames", "-select_streams", "v:0", "-show_entries", "stream=nb_read_frames", "-of", "default=nokey=1:noprint_wrappers=1", self._filename]
self.inputframenum = np.int(check_output(probecmd).split("\n")[0])
// Create process
After Change
// open process with supplied arguments,
// grabbing number of frames using ffprobe
probecmd = [_FFMPEG_PATH + "/ffprobe"] + ["-v", "error", "-count_frames", "-select_streams", "v:0", "-show_entries", "stream=nb_read_frames", "-of", "default=nokey=1:noprint_wrappers=1", self._filename]
self.inputframenum = np.int(check_output(probecmd).decode().split("\n")[0])
// Create process