10:09
We have a long python code which chunks the video into multiple parts and changes the speed using setPTS filter.
import ffmpeg
ffmpeg.input(segment_path).filter("setpts", f"1/speed_factor*PTS").output(
adjusted_segment_path,vcodec="h264_nvenc", acodec="aac",preset="fast", crf=23, g=30, keyint_min=30, sc_threshold=0,r=30,vsync='cfr',threads=1
).global_args("-hwaccel", "cuda").run(quiet=True, overwrite_output=True,capture_stdout=True, capture_stderr=True)
Now, because this happens multiple times before concatenation, we thought, instead of sequential (...)