video2pptx 実行例

help出力 video2pptx.py --help

usage: video2pptx.py [-h] [-o OUTPUT] [--mode {interval,motion,both}]
                     [--interval INTERVAL] [--start START] [--end END]
                     [--per-slide {1,2,4}] [--image-width IMAGE_WIDTH]
                     [--keep-images] [--sample-fps SAMPLE_FPS]
                     [--motion-threshold MOTION_THRESHOLD]
                     [--stable-threshold STABLE_THRESHOLD]
                     [--settle-seconds SETTLE_SECONDS]
                     [--min-interval MIN_INTERVAL]
                     [--include-first | --no-include-first] [--pause]
                     input

MP4等の動画から定期的または操作後の安定画面のSSを作成し、PowerPointに貼り付けます。

positional arguments:
  input                 入力動画(MP4など)

options:
  -h, --help            show this help message and exit
  -o, --output OUTPUT   出力PPTX(省略時: 入力名_SS.pptx)
  --mode {interval,motion,both}
                        抽出方法(既定: interval)
  --interval INTERVAL   定期抽出の間隔(秒、既定: 10)
  --start START         抽出開始時刻(秒、既定: 0)
  --end END             抽出終了時刻(秒、省略時: 動画末尾)
  --per-slide {1,2,4}   1スライド当たりの画像数(既定: 1)
  --image-width IMAGE_WIDTH
                        抽出画像の最大幅px(既定: 1600)
  --keep-images         抽出したJPEGを <出力名>_frames に残す
  --pause               Pause before terminate

motion mode options:
  --sample-fps SAMPLE_FPS
                        動き判定のサンプリングfps(既定: 2)
  --motion-threshold MOTION_THRESHOLD
                        操作開始とみなす平均画素差(%、既定: 0.45)
  --stable-threshold STABLE_THRESHOLD
                        静止とみなす平均画素差(%、既定: 0.12)
  --settle-seconds SETTLE_SECONDS
                        操作後に待つ安定時間(秒、既定: 0.8)
  --min-interval MIN_INTERVAL
                        motion SSの最小時間間隔(秒、既定: 3)
  --include-first, --no-include-first
                        開始画面もmotion SSに含める(既定: true)


生成されたデータファイル

(データファイルが見つかりませんでした)

生成された画像一覧

(画像ファイルが見つかりませんでした)