|
@@ -117,7 +117,7 @@ async def main(video_path, api_key):
|
|
|
duration = analyzer.video_duration( video_path )
|
|
|
print( f"视频时长为{duration}秒" )
|
|
|
if int( duration ) >= 600 or int( duration ) == 0:
|
|
|
- return f"视频时长过长为/视频数为:{duration}秒"
|
|
|
+ return f"视频时长过长/视频时长为:{duration}秒"
|
|
|
save_path = await analyzer.download_video(video_path)
|
|
|
if not save_path:
|
|
|
if os.path.exists( save_path ):
|