Skip to content

Video BG remover on 5s mp4 file never seems to finish after 1+ hours #181

@willtlew12

Description

@willtlew12

I am running background remover on windows 11 and have successfully run bg remover on images and it finishes almost immediately, when using video background remover it seems to never finish. I have been running for over an hour on a 5 second video file. I see no output on the command line except the below. No output from ffmpeg etc. The python process is still running in task manager and backgroundremover is using about 10GB of my 16GB of vram (RTX 4070ti super). The ffmpeg process seems to have stalled, it is sitting doing nothing having read only 8MB of the 249MB file.

backgroundremover -i "C:/Users/name/Documents/videoediting/videoneedsbgremoved.mp4" -tv -gb 4 -wn 24 -o "C:/Users/name/Documents/videoediting/nobackground.mov"
Warning: Using 24 workers. High worker counts (>4) may cause ConnectionResetError or crashes on some systems.
If you experience errors, try reducing workers with -wn 1 or -wn 2
FRAME RATE DETECTED: 30/1 (if this looks wrong, override the frame rate)
FRAME RATE: 30 TOTAL FRAMES: 136
WORKER 9 ONLINE
WORKER 2 ONLINE
WORKER 5 ONLINE
WORKER 23 ONLINE
WORKER 0 ONLINE
WORKER 4 ONLINE
WORKER 1 ONLINE
WORKER 10 ONLINE
WORKER 18 ONLINE
WORKER 13 ONLINE
WORKER 7 ONLINE
WORKER 8 ONLINE
WORKER 3 ONLINE
WORKER FRAMERIPPER ONLINE
WORKER 14 ONLINE
WORKER 6 ONLINE
WORKER 19 ONLINE
WORKER 16 ONLINE
WORKER 21 ONLINE
WORKER 22 ONLINE
WORKER 17 ONLINE
WORKER 20 ONLINE
WORKER 12 ONLINE
WORKER 11 ONLINE
WORKER 15 ONLINE

Is it possible that the process has hung? Is there something I can do to get a more verbose output, like progress updates from the gpu compute or from ffmpeg or anything along those lines? Any help would be appreciated, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions