Skip to content

Commit 9a14f4d

Browse files
committed
fix(clipper): making clips with local input video broken due to missing Video Type
1 parent e872cbe commit 9a14f4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/clipper/ytc_settings.py

+1
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ def getMoreVideoInfo(cs: ClipperState, videoInfo: Dict, audioInfo: Dict) -> None
251251
# TODO: merge properties fetched from ffprobe and ytdl into common namespace
252252
# TODO: improve compatibility between inputVideo mode and default stream mode
253253
if settings["inputVideo"]:
254+
settings["videoType"] = "local_video"
254255
probedSettings = ffprobeVideoProperties(cs, settings["inputVideo"])
255256
else:
256257
probedSettings = ffprobeVideoProperties(cs, settings["videoDownloadURL"])

0 commit comments

Comments
 (0)