Open
Description
I create some code to split and concat with my scenes like below
for scene in scenes:
start = scene.get_startat()
duration = scene.get_interval()
v_clip_stream = ffmpeg.trim(
stream, start=start, duration=duration)
v_clip_stream = ffmpeg.setpts(v_clip_stream, 'PTS-STARTPTS')
a_clip_stream = ffmpeg.filter_(
stream, 'atrim', start=start, duration=duration)
a_clip_stream = ffmpeg.filter_(
a_clip_stream, 'asetpts', 'PTS-STARTPTS')
video_streams.append(v_clip_stream)
audio_streams.append(a_clip_stream)
v_stream = ffmpeg.concat(
*video_streams, n=len(video_streams), v=1, a=0)
a_stream = ffmpeg.concat(
*audio_streams, n=len(audio_streams), v=0, a=1)
stream = ffmpeg.output(v_stream, a_stream, outputfile)
and when my scenes goes too many
system return
FileNotFoundError: [WinError 206] 檔名或副檔名太長。
And i found ffmpeg has -filter_complex_script is there any way to use that?
sorry for my poor English. :P