You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: superannotate/db/projects.py
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -251,9 +251,12 @@ def upload_video_to_project(
251
251
"Frame rotation of %s found. Output images will be rotated accordingly.",
252
252
rot
253
253
)
254
-
except:
254
+
exceptExceptionase:
255
+
warning_str=""
256
+
if"ffprobe"instr(e):
257
+
warning_str="This could be because ffmpeg package is not installed. To install it, run: sudo apt install ffmpeg"
255
258
logger.warning(
256
-
"Couldn't read video metadata to determine rotation. This could be because ffmpeg package is not installed. To install it, run: sudo apt install ffmpeg"
259
+
"Couldn't read video metadata to determine rotation. "+warning_str
0 commit comments