Skip to content

provide output folder directory when splitting videos #298

Description

@fcakyon

@Breakthrough thanks for this awesome project! I am utilizing it on my PhD heavily 👍

Issue

You can set the output directory in save_images function which is super useful in my case. However, there is no such feature for split_video_ffmpeg which is a must in my case.

Example:

fromscenedetect.video_splitterimportsplit_video_ffmpegsplit_video_ffmpeg(
filepath,
scene_list=scene_list,
output_file_template="$scene-$SCENE_NUMBER.",
output_dir=export_dir,
show_progress=True,
)

Question:

  1. Do you have any intentions to add such a feature?
  2. How can I implement a workaround for this? Should I change these lines:
    call_list+= [
    '-sn',
    filename_template.safe_substitute(
    VIDEO_NAME=video_name, SCENE_NUMBER=scene_num_format% (i+1))
    ]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions