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:
imSp4rky
2026-10-11 14:53:50 -06:00
parent 0a7c76561c
commit ecdfb667c9
20 changed files with 958 additions and 30 deletions
+2
View File
@@ -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"