wed.cli.op_create module

wed.cli.op_create.wed_op_create(argv=['-M', 'html', '.', '_build'])[source]

Create a Wednesday’s Downtown Opening Video.

Parameters
  • -T/--template (str, optional) – Path to a template video file. Defaults to OPENING_TEMPLATE_PATH.

  • -O/--out (str, optional) – Path to an output video file. Defaults to None.

  • --codec (str, optional) – Video Codec for output video. Defaults to "H264".

  • -SV/--smartphone-video (str, optional) – Path to a video which will be wrapped by the smartphone frame. Defaults to SMARTPHONE_VIDEO_PATH.

  • -SI/--smartphone-image (str, optional) – Path to an image which will be wraps a smartphone video. Defaults to SMARTPHONE_IMAGE_PATH.

  • -SQUARE/--square-image (str, optional) – Path to the rotating square image. Defaults to ROTATING_SQUARE_IMAGE_PATH.

  • -FL/--face-left-image (str, optional) – Path to the rotating left-face image. Defaults to ROTATING_FACE_LEFT_IMAGE_PATH.

  • -FR/--face-right-image (str, optional) – Path to the rotating right-face image. Defaults to ROTATING_FACE_RIGHT_IMAGE_PATH.

  • -MUT/--morquee-upper-text (str, optional) – The upper text for wed.chaptors.marquee.MarqueeEditor. Defaults to "WEDNESDAY".

  • -MLT/--morquee-lower-text (str, optional) – The lower text for wed.chaptors.marquee.MarqueeEditor. Defaults to "DOWNTOWN".

  • -TCUT/--title-call-upper-text (str, optional) – The upper text for wed.chaptors.title_call.TitleCallEditor. Defaults to "水曜日".

  • -TCMT/--title-call-middle-text (str, optional) – The middle text for wed.chaptors.title_call.TitleCallEditor. Defaults to "の".

  • -TCLT/--title-call-lower-text (str, optional) – The lower text for wed.chaptors.title_call.TitleCallEditor. Defaults to "ダウンタウン".

Note

When you run from the command line, execute as follows:

$ wed-op-create -T path/to/template-video.mp4 \
                -O path/to/created-video.mp4 \
                --codec H264 \
                -SV path/to/smartphone.mp4 \
                -SI path/to/smartphone.png \
                -SQUARE path/to/rotating-square.png \
                -FL path/to/rotating-face-left.png \
                -FR path/to/rotating-face-right.png \
                -MUT WEDNESDAY \
                -MLT DOWNTOWN \
                -TCUT 水曜日 \
                -TCMT の \
                -TCLT ダウンタウン