Added extra debug data
This commit is contained in:
parent
512e2f40c6
commit
c1dc5d00c1
5 changed files with 7 additions and 3 deletions
|
|
@ -89,6 +89,7 @@ class avprobe(devedeng.avbase.avbase):
|
|||
self.original_fps = 0
|
||||
self.original_aspect_ratio = 0
|
||||
|
||||
self.config.append_static_log("Getting data for {:s} with avprobe".format(file_name))
|
||||
try:
|
||||
video_data = json.loads(stdout2)
|
||||
except:
|
||||
|
|
@ -150,4 +151,5 @@ class avprobe(devedeng.avbase.avbase):
|
|||
self.original_length = self.get_time(line[10:])
|
||||
break
|
||||
|
||||
self.config.append_static_log("Estimated length: {:d}; Resolution: {:s}".format(self.original_length,self.original_size))
|
||||
return False # no error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue