stefano

Results 20 comments of stefano

I fixed images position using set_start() but still slide out effect shows a black screen for the duration of the transition (it should display the next Image instead). also, images...

this is what i got so far. as you can see images are shifted to left and not centered, also they are not resized well (see 3rd slide( https://user-images.githubusercontent.com/69367859/175087198-674bc797-036a-4d53-8742-00da8cd1a347.mp4

@MohamedAbdultawab mh, you sure? i thought CompositeVideoClip arleady make a Video, you sure i can pass it in concatenate?? Ill try soon tho. Thanks man

this is the result. a bit funny XD. it doesnt work tho :( https://user-images.githubusercontent.com/69367859/175133209-5818ac73-6837-4ed4-a2ae-f0c9588570c9.mp4 Code: ```py3 video = concatenate([ CompositeVideoClip([ clip.fx(transfx.slide_out, duration=0.3, side="left") ]) for clip in clips ], padding=-1)...

@MohamedAbdultawab ok so, i checked it. but what about HX and WX? i never know the images i use so size couldnt be a constant.

@MohamedAbdultawab i cant make it working even manually, i tried a lot :/

> ```python > ```python > clips = [ImageClip(img).set_duration(1) for img in ["1.jpeg","2.jpeg","3.jpeg"]] > > videos= [CompositeVideoClip([ > clip.fx(transfx.slide_out, duration=0.4, side="left")]) > for clip in clips > ] > video =...

that's exactly what i need. ill try in some hourd and let you know. thanks!

```py3 def create_clip(self, urls, audio_name, file_name): EFFECT_DURATION = 0.4 CLIP_DURATION = 3 clips = [] for _, name in urls: img = name.replace("webp", "jpg") Image.open(name).convert("RGB").save(img) clip = ImageClip(img).set_duration(CLIP_DURATION) if len(clips)...

what if i want images fit good in a 1792×828 video? (screen phone)