forked from kenzuya/unshackle
feat(dl): add --sample and --include-sample
--sample downloads only a time window of a title (default 120-180 s) and cuts the mux to it. --include-sample cuts a 60 s sample from a finished file. Both write to a Sample folder with a SAMPLE tag on the filename
This commit is contained in:
@@ -20,6 +20,8 @@ from unshackle.core.utils.subprocess import log_tool_run
|
||||
|
||||
|
||||
class Video(Track):
|
||||
sample_tail = 1
|
||||
|
||||
class Codec(str, Enum):
|
||||
AVC = "H.264"
|
||||
HEVC = "H.265"
|
||||
|
||||
Reference in New Issue
Block a user