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
parser.add_argument("path", help="the path of the video or the folder (for many videos) to cut")
64
73
# parser.add_argument("--teams", default=False,action="store_true", help="crops the video")
65
-
parser.add_argument('-d', type=int, required=False, default=DURATION, help='duration of silence in seconds')
66
-
parser.add_argument('-n', type=int, required=False, default=NOISE, help='noise level in dB')
74
+
parser.add_argument('-d', type=float, required=False, default=DURATION, help='duration of silence in seconds')
75
+
parser.add_argument('-n', type=int, choices=range(-80, -19), metavar="[-80,-20]", required=False, default=NOISE, help='noise level in dB (from -80 to -20)')
67
76
parser.add_argument('-fr', type=int, required=False, help='output video frame rate')
68
77
parser.add_argument('-x', type=float, default=-1, required=False, help='Speed of the video')
69
78
parser.add_argument('-vfr', default=False, required=False, action="store_true", help='variable frame rate on output (if -fr is given, it indicates the max number of duplicates frames per second)')
0 commit comments