Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F ffmpeg-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 402
    • Issues 402
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Karl Kroening
  • ffmpeg-python
  • Issues
  • #161
Closed
Open
Issue created Jan 10, 2019 by Administrator@rootContributor

-filter_complex too long cause cmd prompt crush

Created by: gj94gj94ao4

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

Assignee
Assign to
Time tracking