Skip to content

Instantly share code, notes, and snippets.

View bsikar's full-sized avatar

Brighton Sikarskie bsikar

  • TX, USA
View GitHub Profile
@bsikar
bsikar / client.py
Last active September 9, 2025 14:11
from socket import *
import threading
import sys
import os
import time
from datetime import datetime
import readline
class Colors:
HEADER = '\033[95m'
root@tdarr-ubuntu-22-unprivileged:/mnt/media-and-fetching/media/isolated-test# time qsvencc --device auto --codec av1 --avhw --la-icq 25 --output-depth 10 --fixed-func --va --quality best --la-depth 80 --la-window-size 0 --la-quality auto --tune perceptual --scenario-info archive --extbrc --i-adapt --b-adapt --bframes 10 --b-pyramid --adapt-ltr --adapt-cqm --ref 8 --gop-len 350 --gop-ref-dist 16 --trellis auto --level auto --profile auto --colorrange auto --colormatrix auto --colorprim auto --transfer auto --chromaloc auto --max-cll copy --master-display copy --video-metadata copy --audio-copy --chapter-copy --sub-copy --metadata copy --gpu-copy --output-thread -1 --log-level app=debug --avoid-idle-clock off -i input.mkv -o outp
ut.mkv 2>&1 | tee output.log
--------------------------------------------------------------------------------
output.mkv
--------------------------------------------------------------------------------
QSVEncC 7.68 (x64)
OS Ubuntu 22.04.4 LTS (6.8.8-3-pve) x64
CPU Info 12th
root@tdarr-ubuntu-22-privileged:/mnt/media-and-fetching/media/isolated-test# time qsvencc --device auto --codec av1 --avhw --la-icq 25 --output-depth 10 --fixed-func --va --quality best --la-depth 80 --la-window-size 0 --la-quality auto --tune perceptual --scenario-info archive --extbrc --i-adapt --b-adapt --bframes 10 --b-pyramid --adapt-ltr --adapt-cqm --ref 8 --gop-len 350 --gop-ref-dist 16 --trellis auto --level auto --profile auto --colorrange auto --colormatrix auto --colorprim auto --transfer auto --chromaloc auto --max-cll copy --master-display copy --video-metadata copy --audio-copy --chapter-copy --sub-copy --metadata copy --gpu-copy --output-thread -1 --log-level app=debug -i input.mkv -o output.mkv 2>&1 | tee output.log
--------------------------------------------------------------------------------
output.mkv
--------------------------------------------------------------------------------
QSVEncC 7.68 (x64)
OS Ubuntu 22.04.4 LTS (6.8.8-3-pve) x64
CPU Info 12th Gen Intel Core i5-12600K
{
"name": "AV1",
"description": "AV1",
"tags": "",
"flowPlugins": [
{
"name": "Replace Original File",
"sourceRepo": "Community",
"pluginName": "replaceOriginalFile",
"version": "1.0.0",
import argparse
import os
import re
def merge_ranges(ranges):
ranges = sorted(set(ranges))
merged = [ranges[0]]
for start, end in ranges[1:]:
if start - 1 <= merged[-1][1]:
#include <iostream>
#include <vector>
// FFmpeg
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/avutil.h>
#include <libavutil/pixdesc.h>
#include <libswscale/swscale.h>
}
print(r" ,#####, ")
print(r" #_ _# ")
print(r" |a` `a| ")
print(r" | u | reb i miss u")
print(r" \ \ = / / ")
print(r" \ )___( / ")
print(r" \-| |-/ ")
print(r" | | ")
print(r" |___| ")
print(r" / \ ")
import curses
# Define the ASCII art for the heart shapes
left_heart = [
" __________ " ,
" / \\",
"| __ __ |",
"| / \\ / \\ |",
"| \\__/ \\__/ |",
" \\ /",
@bsikar
bsikar / dan.ino
Last active February 4, 2023 17:30
// global variables
const int DELAY = 1000; // 1 second
// Switch
const int SWITCH_INPUT_PIN = 2;
const int SWITCH_OUTPUT_PIN = 3;
// Breaklight
const int BREAKLIGHT_INPUT_PIN = 4;
@bsikar
bsikar / for-reb.sh
Last active January 12, 2023 20:35
a vim config for reb
#! /usr/bin/env bash
# hello message for my love
echo "Hello, my love!"
echo "Hi cute girl, I love you reb <3"
echo "I am going to install a few things for you :)"
echo "I hope you like it :)"
echo ""
echo "Okay, so first we are going to install a thing called vim-plug"
echo "This allows you to install plugins easily into vim !!!"