Skip to content
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

transparency bug in concatenate_videoclips() #103

Closed
clauswilke opened this issue Dec 12, 2014 · 7 comments
Closed

transparency bug in concatenate_videoclips() #103

clauswilke opened this issue Dec 12, 2014 · 7 comments
Labels
bug Issues that report (apparent) bugs.

Comments

@clauswilke
Copy link

The function concatenate_videoclips() has three transparency bugs:

  1. The default should be transparent=True, not transparent=False. The purpose of this function is simply to stitch multiple videoclips together. It makes no sense to remove transparency in the process by default.
  2. If I set transparent=True, the function crashes. The offending line is line 85 in:
    https://github.com/Zulko/moviepy/blob/master/moviepy/video/compositing/concatenate.py
    The variable clips that is used in the list comprehension is not defined. It should be clipslist.
  3. If I set transparent=False, I would expect that transparency is replaced by the background color given as bg_color argument. As far as I can see, that is not the case, however. Transparency is replaced by black.
@Zulko
Copy link
Owner

Zulko commented Dec 12, 2014

Indeed. Yeek, I definitely need a test suite, it used to work and I wonder how long this has been broken. I'm on it (and the ImageSequence one too).

@clauswilke
Copy link
Author

Great, thanks!

What's the best way to install the latest github version of the code?

@Zulko
Copy link
Owner

Zulko commented Dec 14, 2014

Rather with the setup.py:

(sudo) python setup.py install

Another solution is with PIP:

sudo pip install git+git://github.com/Zulko/moviepy.git

So that it's clear: I didn't upload any fix for this issue yet.

@clauswilke
Copy link
Author

Thanks!

So that it's clear: I didn't upload any fix for this issue yet.

I'm aware. I just fixed the clips vs clipslist issue myself in my installed code, so I could complete the movie I wanted to make.

@keikoro keikoro added the bug Issues that report (apparent) bugs. label Feb 18, 2017
@ghost
Copy link

ghost commented Feb 22, 2017

closing.. this issue looks resolved.

@ghost ghost closed this as completed Feb 22, 2017
@keikoro
Copy link
Collaborator

keikoro commented Nov 25, 2017

@Earney I'm guessing #104 can then also be closed?

@ghost
Copy link

ghost commented Nov 26, 2017

I am not sure if issue 104 can be closed. We will have to verify, if the issue is still valid.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that report (apparent) bugs.
Projects
None yet
Development

No branches or pull requests

3 participants