

:param time_left: seconds left to finish the video process :param time_: current time of transcoded video Time_left = datetime.timedelta(seconds=int(time_left)) Create a socket connection and show a progress bar(or other parameters) to your users Message='Your video takes more than %s hour(s). Ready_time = time_left + video will be ready by %s' % datetime.timedelta(seconds=ready_time), If time_left > 3600 and not already_send: # if it takes more than one hour and you have not emailed them already Email someone to inform about the time of finishing process Def monitor(ffmpeg, duration, time_, time_left, process):ģ.
