You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Videos longer than a minute cause an error:
Crop video (Optional block)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-6-11014c407c1f> in <module>()
21 show_video = True #@param {type:"boolean"}
22 if show_video == True:
---> 23 display(mpy.ipython_display("video.mp4", height=400))
1 frames
/usr/local/lib/python3.6/dist-packages/moviepy/video/io/html_tools.py in html_embed(clip, filetype, maxduration, rd_kwargs, center, **html_kwargs)
140 if duration > maxduration:
141 raise ValueError("The duration of video %s (%.1f) exceeds the 'max_duration' "%(filename, duration)+
--> 142 "attribute. You can increase 'max_duration', "
143 "but note that embedding large videos may take all the memory away !")
144
ValueError: The duration of video video.mp4 (61.0) exceeds the 'max_duration' attribute. You can increase 'max_duration', but note that embedding large videos may take all the memory away !
However, the video is cropped and can be processed further, so the error does not affect anything
The text was updated successfully, but these errors were encountered:
AlexRMU
changed the title
Videos longer than a minute cause an error
Videos longer than a minute cause an error label:"type: bug"
Aug 18, 2020
AlexRMU
changed the title
Videos longer than a minute cause an error label:"type: bug"
Videos longer than a minute cause an error "type: bug"
Aug 18, 2020
AlexRMU
changed the title
Videos longer than a minute cause an error "type: bug"
Videos longer than a minute cause an error
Aug 18, 2020
Videos longer than a minute cause an error:
Crop video (Optional block)
However, the video is cropped and can be processed further, so the error does not affect anything
The text was updated successfully, but these errors were encountered: