mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
improved imports exception handling
This commit is contained in:
parent
cf5ea35417
commit
78d61bbe67
1 changed files with 1 additions and 2 deletions
3
main.py
3
main.py
|
@ -9,7 +9,6 @@ DONE make passing your arguments for encoding,
|
|||
2-pass encode by default for better quality
|
||||
make separate audio and encode it separately,
|
||||
"""
|
||||
#import asyncio
|
||||
import os
|
||||
from os.path import join
|
||||
from psutil import virtual_memory
|
||||
|
@ -21,7 +20,7 @@ from math import ceil
|
|||
from multiprocessing import Pool
|
||||
try:
|
||||
import scenedetect
|
||||
except:
|
||||
except ImportError:
|
||||
print('ERROR: No PyScenedetect installed, try: sudo pip install scenedetect')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue