MCPcopy Index your code
hub / github.com/Breakthrough/PySceneDetect / save_edl_command

Function save_edl_command

scenedetect/_cli/__init__.py:1633–1651  ·  view source on GitHub ↗
(
    ctx: click.Context,
    filename: str | None,
    title: str | None,
    reel: str | None,
    output: str | None,
    start_timecode: str | None,
)

Source from the content-addressed store, hash-verified

1631)
1632@click.pass_context
1633def save_edl_command(
1634 ctx: click.Context,
1635 filename: str | None,
1636 title: str | None,
1637 reel: str | None,
1638 output: str | None,
1639 start_timecode: str | None,
1640):
1641 ctx = ctx.obj
1642 assert isinstance(ctx, CliContext)
1643
1644 save_edl_args = {
1645 "filename": ctx.config.get_value("save-edl", "filename", filename),
1646 "title": ctx.config.get_value("save-edl", "title", title),
1647 "reel": ctx.config.get_value("save-edl", "reel", reel),
1648 "output": ctx.config.get_value("save-edl", "output", output),
1649 "start_timecode": ctx.config.get_value("save-edl", "start-timecode", start_timecode),
1650 }
1651 ctx.add_command(cli_commands.save_edl, save_edl_args)
1652
1653
1654SAVE_QP_HELP = """Save cuts as keyframes (I-frames) for video encoding.

Callers

nothing calls this directly

Calls 2

get_valueMethod · 0.80
add_commandMethod · 0.80

Tested by

no test coverage detected