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

Alpha channel lags behind video #44

Open
RenaKunisaki opened this issue Dec 12, 2022 · 5 comments
Open

Alpha channel lags behind video #44

RenaKunisaki opened this issue Dec 12, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@RenaKunisaki
Copy link

With some videos, the generated alpha channel is out of sync with the image. Example in this image.
2022-12-11-210847_1920x1080_scrot
You can see at the legs and head, the alpha mask is in the shape it should have been a handful of frames ago.

Command used: ~/.local/bin/backgroundremover -i '568925567_3AXGeHborlS4Ew02v_Source.mp4' -tv -o test.mov and mpv test.mov - so far only mpv seems able to play these back at all.

@RenaKunisaki
Copy link
Author

I've been able to convert the affected videos to more "common" formats filling in the background with a solid color, and it still has the same issue. So it's not a problem with mpv.

@nadermx
Copy link
Owner

nadermx commented Feb 13, 2023 via email

@nadermx nadermx added the bug Something isn't working label May 5, 2023
@nadermx
Copy link
Owner

nadermx commented May 5, 2023

Please upload a video that it happens with

@ydyote
Copy link

ydyote commented Aug 16, 2023

Seems like this is an issue with the length of the alpha video itself
I noticed that the original video was shorter by like 1 second or so so I changed the speed of the alpha video in premiere pro to match the original video and that seemed to fixed it

@nadermx
Copy link
Owner

nadermx commented Aug 16, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants