Closed andrewjmetzger closed 3 years ago
I cannot reproduce this, it looks to me like you have some sort of firewall or something preventing Sponskrub from connecting to the internet. You might be able to get around this by either correcting your firewall settings or routing Sponskrub through a proxy.
Hmm. Nothing in my firewall is blocking access, and after explicitly allowing sponskrub
through, I still get the same result. The SponsorBlock browser extensions all work as expected. Is there a debug option or build I could run to give us more information to troubleshoot this?
I probably should add a debug option at some point but for now try this custom build and let me know what it spits out: https://files.catbox.moe/8jiw44
$ ./sponskrub-debug 'U_JlkXTdFD4' input.webm output.webm
Downloading video sponsor data
Surgically removing the shilling...
[libopus @ 0x5572763c90c0] No bit rate set. Defaulting to 96000 bps.
frame=10108 fps= 17 q=0.0 Lsize= 12677kB time=00:05:37.31 bitrate= 307.9kbits/s speed=0.562x
Done!
Thanks, it worked! What's different about this build? Usually I just:
# install dlang
$ sudo wget https://netcologne.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
$ sudo apt-get update --allow-insecure-repositories
$ sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring
$ sudo apt-get update
$ sudo apt-get install dmd-compiler dub -y --allow-unauthenticated
# Update and build SponSkrub
$ git clone git@github.com:faissaloo/SponSkrub.git # Initial clone command
$ git pull
Already up to date.
$ dub build :sponskrub
Performing "debug" build using /usr/bin/dmd for x86_64.
sponskrub:sponskrub ~master: building configuration "application"...
Linking...
$ sponskrub 'foo' input.video output.video
...
Odd, this seems to be an issue with my build of Ubuntu 20.04, but it also occurs on Windows. I had to install libcurl4
to get the master branch to work. Windows requres libcurl.dll
, which can be added as follows:
libcurl_x64.dll
and name the second copy libcurl.dll
. 32-bit systems can skip this steplibcurl.dll
into the same directory as sponsorblock.exe
I'll add libcurl4 as dependency, thanks for looking into this
Running SponSkrub v3.7.0, I cannot get the program to download any segment information for videos. However, manually making a request to the API URL works as expected.
Example commands with error:
Successful GET request via browser, API responds with all submitted sponsor segments:
But, no scrubbed video is generated. Please advise, thank you!