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.7k stars 558 forks source link

No visuals, only background music #85

Open 435781067 opened 1 year ago

435781067 commented 1 year ago

i do it on macbook pro,it works.but no visuals, only background music.

backgroundremover -i "mv.mp4" -tv -o "outputmv.mov"

Hi, PyCharm FRAME RATE DETECTED: 30/1 (if this looks wrong, override the frame rate) FRAME RATE: 30 TOTAL FRAMES: 307 WORKER FRAMERIPPER ONLINE WORKER 0 ONLINE ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers built with Apple clang version 14.0.0 (clang-1400.0.29.202) configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox libavutil 58. 2.100 / 58. 2.100 libavcodec 60. 3.100 / 60. 3.100 libavformat 60. 3.100 / 60. 3.100 libavdevice 60. 1.100 / 60. 1.100 libavfilter 9. 3.100 / 9. 3.100 libswscale 7. 1.100 / 7. 1.100 libswresample 4. 10.100 / 4. 10.100 libpostproc 57. 1.100 / 57. 1.100 Input #0, rawvideo, from 'fd:': Duration: N/A, start: 0.000000, bitrate: 13824 kb/s Stream #0:0: Video: rawvideo (Y800 / 0x30303859), gray, 180x320, 13824 kb/s, 30 tbr, 30 tbn Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native)) Output #0, mp4, to '/var/folders/25/yvsk2v654h72n9stqwcpgfg40000gn/T/tmpfbf3td6k/matte.mp4': Metadata: encoder : Lavf60.3.100 Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p(tv, progressive), 180x320, q=2-31, 2000 kb/s, 30 fps, 15360 tbn Metadata: encoder : Lavc60.3.100 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/2000000 buffer size: 0 vbv_delay: N/A frame= 307 fps=0.5 q=2.0 Lsize= 725kB time=00:00:10.20 bitrate= 582.0kbits/s speed=0.0153x
video:723kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.298300% FINISHED ALL FRAMES (307)!

https://github.com/nadermx/backgroundremover/assets/11382436/4f4fefcf-83de-4d12-a40c-8d7412a419c6

Starting alphamerge after call Process finished

Process finished with exit code 0

435781067 commented 1 year ago

the out video is too big ,so can not upload

nadermx commented 1 year ago

Can you try with the newest version, I think this was an issue with the inputs in the subprocess pip install --upgrade backgroundremover

dhawansolanki commented 12 months ago

Can you try with the newest version, I think this was an issue with the inputs in the subprocess pip install --upgrade backgroundremover

I am not sure but facing the same issue still after upgrading.