nadermx / backgroundremover

Background Remover lets you Remove Background from images and video using AI with a simple command line interface that is free and open source.
https://www.backgroundremoverai.com
MIT License
6.45k stars 535 forks source link

Alpha channel lags behind video #44

Open RenaKunisaki opened 1 year ago

RenaKunisaki commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

I will check this later, slowly getting caught up see why it isnt working

On Mon, Feb 13, 2023 at 10:47 AM Rena Kunisaki @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/nadermx/backgroundremover/issues/44#issuecomment-1428274533, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXDSNROI4DI5X5OME7TWXJQTJANCNFSM6AAAAAAS3L5TFQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

nadermx commented 1 year ago

Please upload a video that it happens with

ydyote commented 10 months ago

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 commented 10 months ago

Awesome, thanks for the update!

El mié, 16 de ago de 2023 14:00, ydyote @.***> escribió:

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

— Reply to this email directly, view it on GitHub https://github.com/nadermx/backgroundremover/issues/44#issuecomment-1681196731, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXHHSTP6EPHUF4XEBI3XVURGXANCNFSM6AAAAAAS3L5TFQ . You are receiving this because you commented.Message ID: @.***>