Questions tagged [moviepy]

MoviePy is a Python module for video editing, which can be used for basic operations (like cuts, concatenations, title insertions), video compositing (a.k.a. non-linear editing), video processing, or to create advanced effects.

References

763 questions
0
votes
0 answers

I am having this error message in python, in a reddit video generator

https://github.com/Shifty-The-Dev/RedditVideoGenerator is where this is from but it is closed so i cannot ask there -------------------------------------------------------------------------- TimeoutException Traceback (most…
0
votes
0 answers

MoviePy does not save anything anywhere. But also no error

I tried running simple moviepy code. It does not save anything. Exit code 0. No error message. No sucessfully saved print. I have the newest version of moviepy and ffmpeg. Doesnt work with or without specifying an output directory. I am on windows…
0
votes
0 answers

MoviePy ImageClip is generating a corrupted video on videos that are about 2 seconds in length

image_clip_with_audio.write_videofile(output_file, codec="libx264", fps=24) I set the image clip's duration to the audio clip's duration. It works when the duration is some number between 2-3 seconds. MoviePY also generates a corrupted video when…
Ninja_Soup
  • 51
  • 8
0
votes
0 answers

Text Alignment and Multiple TextClips not working in moviepy

moviepy version: 1.0.3 python version: 3.8.0 OS: Windows 11 ImageMagick Version 7.1.1 I have a VideoClip on which I am trying to put multiple TextClips audioclip = AudioFileClip("title.mp3") # fetching minecraft parkour clip clip =…
Nishil Sheth
  • 155
  • 1
  • 10
0
votes
0 answers

Combine Images to make a video with transitions

Am using moviepy library to come up with a video from list of Images am having a table which is from Django Models (It has a field for Images). So it's basically a Django command which will be executed to create a video of Images transitioning. The…
Lutaaya Huzaifah Idris
  • 3,596
  • 8
  • 38
  • 77
0
votes
1 answer

Convert moviepy.audio to log-spectogram results in length 0 mel spectogram

I have a long video that I wish to isolate only a part of, and extract the log-spectogram for the corresponding isolated part. I am using moviepy to load the original file, which is in mp4 format. Then I use subclip to extract the relevant part, and…
David Harar
  • 301
  • 2
  • 12
0
votes
0 answers

Moviepy textclip with pango method not working

I am using Moviepy to write text on videoclip. Without method=pango it gives proper results But when I use method=pango it does not show the text and shows some unrecognizable characters My textclip without pango looks like…
Yadnesh Salvi
  • 175
  • 1
  • 18
0
votes
0 answers

MoviePy Error by using concatenate_videoclips: AttributeError: 'NoneType' object has no attribute 'get_frame'

I try to concatenate a hand full of video files (~70) by using the function concatenate_videoclips() from MoviePy. This is the code is used: def merge_and_write_videos(clip_list, export_file): export_list = [] for clip in clip_list: …
0
votes
1 answer

MoviePY error when running in Docker Container using Amazon Elastic Container Service

I'm developing a script that generates a video with the information provided by the user using Moviepy. The application runs in a docker container. In my test environment (locally) the application usually runs generating the videos as expected.…
Giba
  • 1
  • 2
0
votes
0 answers

Abnormal sound prediction predicts no abnormal sound for all frame

I'm trying to write a function that detect all abnormal shot sound in a audio file extracted from the video file using moviepy. The result should be a dataframe that contains the frame count of video and in each frame whether an abnormal shot is…
0
votes
1 answer

Troubleshooting MoviePy Deployment Issues in Python

My code is currently working on my local machine with moviepy in flask, and I want to deploy it as a web application. I was able to successfully deploy it on Heroku using this buildpack: https://github.com/ello/heroku-buildpack-imagemagick. However,…
0
votes
1 answer

Write audio and video to video file one frame at a time

I use opencv to read a frame from a video file, edit it, then write it to a new video file. In this way I can process large videos without the need to have the whole video in memory. Something like this for each frame of the video - success, img =…
Frobot
  • 1,224
  • 3
  • 16
  • 33
0
votes
1 answer

Moviepy : how to add a background color with a stroke line to a Text that overlay a video?

I'm trying to add a white background to my text with moviepy and I want to add a black stroke line to this background. For the moment I have that for step in data["steps"]: image_file = f"image{str(idx)}.png" # Replace with your actual…
kavaliero
  • 389
  • 1
  • 4
  • 22
0
votes
0 answers

MoviePy Exec() not working, syntax error?

I am trying to have instagrapi automatically upload pictures and videos to instagram and I am having an issue. I am trying the clip_upload() function and it isn't working. This is the error I get: exec("from %s import %s" % (name, name)) File…
Nico
  • 19
  • 3
0
votes
0 answers

Is there anyway to store a moviePy clip in "session" during flask application runtime?

I'm working on a flask website that works with moviepy. The basic flow is: User uploads videos(s), if more than one video uploaded these get combined into one. Save the uploaded video onto disk usig MoviePy's write_videofile(). User chooses some…