Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Tom Burrows
@tburrows13
But if it’s something that’s completely out of the scope of the project, then yeah, let’s close with a ‘wontfix’
k
@keikoro
I like the idea of a not-prioritised or similar tag
ishan dutta
@ishandutta2007
taiyooooooooooo
@taiyooooooooooo

hi!

Now I am using this library,and I encountered the same problem.
Zulko/moviepy#632

Does Someone know how to solve this ??

cf.
This pull-request looks like solving this problem.
Zulko/moviepy#634

Kyber
@kyb3r
Hey
Is there a way to change a video clips saturation?
I saw vfx.blackwhite, i want to achieve a similar effect but still some color remaining
Tom Burrows
@tburrows13
I’ve done some work on moviepy today and I figured that it made sense to push v1.0.1 (I also made sure 1.0 had a proper changelog and release on GH)
Zulko
@Zulko
Thanks very much Tom, a lot of it sounded long needed!
Any issue you would want help with?
Tom Burrows
@tburrows13
Yes, there are several fixes to the docs that are not currently in the online version (#1019)
Is it possible to rebuild them? I have no idea how to
Andrzej 'KaszGG' Białecki
@KaszGG_twitter
@tburrows13 I still need to replicate the errors that I got and ready up that pull request as some of those processes were causing my Python program to crash
Tom Burrows
@tburrows13
@KaszGG_twitter I saw your PR (#1016), but I’m afraid that all the code for creating and more importantly closing the files and processes is quite messy, inconsistent across audio and video files and has been slowly built up by different people fixing errors and memory leaks
So I don’t really understand the context of your change, even though it looks fine
Also, the Python 2.7 build failed on your PR because __exit__() isn’t defined. I don’t know why that only affects Py2.7 though
@Zulko would you mind merging either #1017 or #988 please?
grapemix
@grapemix_gitlab
Hi all, I want to confirm if MoviePy provides this feature: To shift frames of a video by another videos' frame in a certain pattern by time. It is like mixing/blending 2 videos(let's say video A and video B), but instead of overlay a transparent video(B) on top of the other video(A), I want to show a frame of video B every 3 sec in video A. For example, suppose there has a video A and its frame is A1, A2, A3... and a video B with frame B1, B2, B3... I want to get a video like this: A1, A2, B1, A3, A4, B2..... And hopefully I can provide the time pattern(every 3 sec) as numpy array. Right now, I use ffmpeg to split videos as images, do my own stuff and combine them back to video by ffmpeg. I want to see if I can do the same thing w/ MoviePy. Thanks all for your time.
Zulko
@Zulko
@tburrows13 i saw your message, ill rebuild the docs this weekend
i might also change the theme to something more modern
@grapemix_gitlab if you want to merge frames and you don't care about sound or other transformations, I believe imageio is the best library for you
it will allow you to read frames from two files and write them into another file using simple for loops
grapemix
@grapemix_gitlab
ty, @Zulko. That's what I am looking for :)
Andrzej 'KaszGG' Białecki
@KaszGG_twitter
I have a question that is not related to the MoviePy itself. Anyone knows what was the technology used to create the docs?
Because I want to implement such automatically generated docs in my projects :)
@tburrows13 @Zulko
Tom Burrows
@tburrows13
I think it is Sphinx: http://sphinx-doc.org
But I don’t deal with it, Zulko does
Kyber
@kyb3r
hey
When converting an audio clip to a sound array and then loading that same sound array into an audio clip, the sound quality decreases drastically
How can I fix this?
Kyber
@kyb3r
Is there a way to load an audio file completely into memory?
@Zulko
Andrzej 'KaszGG' Białecki
@KaszGG_twitter
What do You mean by quality in this case?
What kind of signal features You'
You have in mind @kyb3r ?
Andrzej 'KaszGG' Białecki
@KaszGG_twitter
I dunno if this is the way You want it but I think that AudioClip might be the way of loading audio into memory
@kyb3r
Kyber
@kyb3r
@KaszGG_twitter If I load an audio file using AudioFileClip and write that audio file, the audio quality is fine, however, if you load an AudioFileClip turn it into a sound array (.to_sound_array()) and then load that sound array into an AudioArrayClip, the audio quality worsens significantly
you can try it yourself, I think its an error on moviepy's end
I'm doing this since in my program I have hundreds of audio clips that I have to concatenate, and If I use AudioFileClip my program hangs because there are "too many open files". So to fix this I tried loading the audio clips into memory instead, but the audio quality becomes super bad
Andrzej 'KaszGG' Białecki
@KaszGG_twitter
@kyb3r Once again could You please describe the "quality" feature which is going bad after the files are processed?
.to_sound_array() takes in an argument
fps=
which I think is meant for the quality aspect of the audio when it comes to samples per second
hence my question on what kind of signal feature is lost
Andrzej 'KaszGG' Białecki
@KaszGG_twitter
@Zulko @tburrows13
Guys I see a problem with the current TextClip capabilities and that the current TextClip.set_position(relative=True) sets up the anchor point of the file to be in the top left corner.
The easiest way to place things onto other things is by placing the center of the object onto a certain space.