This script utilizes ffmpeg, the same tool Plex uses, to decode the video stream and captures the output for any errors during playback and sends the playback errors to a log file. So essentially it plays the video in the background faster than regular speed. It then checks the error output log file to see if there is anything inside. If ffmpeg was able to cleanly play the file, it counts as a passed file. If there is any error output, an error could be anything from a container issue, a missed frame issue, media corruption or more, it counts the file as failed. So if there would be an issue with playback and a video freezing, it would be caught by this method of checking for errors. Because of the nature of the error log, any errors that show up, even simple ones, will all count as a fail and the output is captured so you can view the error log. Some simple errors are easy to fix so I have included an auto-repair feature which attempts to re-encode the file which is able to correct some issues that would cau
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Kemono Party attachment download fixer | |
// @author anadius | |
// @namespace anadius.hermietkreeft.site | |
// @match https://kemono.party/* | |
// @version 1.0.0 | |
// @grant GM.xmlHttpRequest | |
// @run-at document-end | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# discordencode - encodes a video file to under 8MiB for Discord | |
#VF="scale=1280:-2" | |
usage () { | |
echo "Usage: [WEBM=1] [VCODEC=libx264] [ACODEC=aac] [VF=filter] [NOAUDIO=1] [VPRESET=x264-preset] $0 input output.mp4" | |
} | |
if [ -z "$1" ] | |
then | |
usage | |
exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @name Adblock for Discord | |
* @author TheSunCat and contributors | |
* @version 1.0.0 | |
* @description We have moved to Codeberg! Follow the link below: | |
* @source https://codeberg.org/AllPurposeMat/Disblock-Origin | |
*/ | |
#app-mount::before { | |
content: "The Disblock Origin theme has moved to Codeberg! Please check https://codeberg.org/AllPurposeMat/Disblock-Origin"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set vpnName="My VPN Connection Name" | |
set pingIp=192.168.1.1 | |
set checkInterval=30 | |
:whileLoop | |
for /f %%i in ('ping %pingIp% -l 1 -n 1 ^| find /c "Reply from %pingIp%"') do SET MATCHES=%%i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# discordencode - encodes a video file to under 8MiB for Discord | |
usage () { | |
echo "Usage: [USEAUDIO=1] [VPRESET=x264-preset] discordencode input output.mp4" | |
} | |
if [ -z "$1" ] | |
then | |
usage | |
exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# FILL OUT YOUR INFO HERE | |
LOGIN=PIA LOGIN HERE | |
PASSWORD=PIA PASSWORD HERE | |
USER=TRANSMISSION LOGIN HERE | |
PASS=TRANSMISSION PASSWORD HERE | |
BIN="/usr/bin/transmission-remote" | |
LOGGING="/home/USERNAME/transmission_logging.txt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo ---------------------------------------------------------------------- | |
echo VIDEO AND SUBTITLE MERGER | |
echo version 1.0.0 by Seyoum | |
echo ---------------------------------------------------------------------- | |
:: Set file video extention | |
:VIDEOFILEEXTENTION | |
echo. | |
set /p videofileformat=Enter the video file type extension (e.g mp4): | |
if /I "%videofileformat%" EQU "webm" echo You have chosen %videofileformat% as your video file format&goto:SUBTITLEFILEEXTENTION |