Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to use this module
#1
hi, i new here.
last night i found this program "https://pyscenedetect.readthedocs.io/en/latest/"
i install latest python, success,
install that program using pip, success,
install tqdm using pip, success,
try the program using cmd => SceneDetect -i inputfile detect-content split-video, success,

and after some browsing, i found this syntax at "https://pyscenedetect.readthedocs.io/projects/Manual/en/stable/api/video_splitter.html"

the syntax is => scenedetect.video_splitter.split_video_ffmpeg(input_video_paths, scene_list, output_file_template, video_name, arg_override='-c:v libx264 -preset fast -crf 21 -c:a copy', hide_progress=False, suppress_output=False)

because i am not python programer, i don't have any idea how to run it,
i try many methods but not work,
any of you have a way how to run this syntax?
any link, guide, youtube video, google keyword, or any thing, i will appreciate it!
thanks for your concern
Reply
#2
You can run it in your own Python program: https://pyscenedetect.readthedocs.io/en/...ge-python/
Or you could just use the command line interface: https://pyscenedetect.readthedocs.io/en/...les/usage/
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#3
(Feb-12-2020, 10:43 AM)DeaD_EyE Wrote: You can run it in your own Python program: https://pyscenedetect.readthedocs.io/en/...ge-python/
Or you could just use the command line interface: https://pyscenedetect.readthedocs.io/en/...les/usage/
thanks for the reply, i can use that you mention in the link that you provide,
that i like to know is: how to use FFmpeg parameter or command in that PySceneDetect,

more or less is this syntax => scenedetect.video_splitter.split_video_ffmpeg(input_video_paths, scene_list, output_file_template, video_name, arg_override='-c:v libx264 -preset fast -crf 21 -c:a copy', hide_progress=False, suppress_output=False)

and another way is i found this https://github.com/Breakthrough/PySceneD...plitter.py, the py file, how to run it?

again, thanks for the reply
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020