-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crossfadeout "Attribute 'duration' not set" #354
Labels
bug
Issues that report (apparent) bugs.
Comments
Merged
@groundflyer Does the bug persist on your end, using the current version of MoviePy? It might have been fixed with changes recently made to the code base, just wondering if you can still reproduce it (and how). |
@kerstin @Earney from moviepy import editor
clip = editor.ImageClip("comp/title_end.jpg")
clip.duration = 10
crosstime = 1
caption = editor.TextClip("test text", font="Liberation-Sans-Bold", color='white', stroke_color='gray', stroke_width=2, method='caption', size=(1280, 720), fontsize=60, align='South-East')
caption.duration = clip.duration
fadecaption = caption.crossfadein(crosstime).crossfadeout(crosstime)
ret = editor.CompositeVideoClip([clip, fadecaption]) and still getting the same error.
|
ghost
pushed a commit
that referenced
this issue
Mar 10, 2017
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When trying to crossfadeout a clip with defined duration
ValueError: Attribute 'duration' not set
raised.The text was updated successfully, but these errors were encountered: