This file contains 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
# [O]bsessively [B]alanced & [O]ptimized [T]ranscode script | |
ffmpeg -i <input> \ # select input video file | |
-vsync 0 # prevent FFmpeg from creating output YUV with duplicate and extra frames. | |
-hwaccel cuda # enable hardware acceleration using cuda | |
-hwaccel_output_format cuda # unclear- read https://docs.nvidia.com/video-technologies/video-codec-sdk/12.0/ffmpeg-with-nvidia-gpu/index.html | |
-c:v hevc_nvenc -preset p7 -tune hq \ # NVENC HEVC encoder, preset p7 (slowed, best quality), tune for high quality | |
-cq:v 23 \ # constant quality (CRF equivalent) of 23 (decent quality, great compression) | |
-rc:v vbr \ # use Variable Bit Rate (VBR) for rate control mode | |
-rc-lookahead:v 4 \ # look 4 frames ahead for VBR compression optimization |
This file contains 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
NNAA NNAB NNAC NNAD NNAE NNAF NNAG NNAH NNAI NNAJ NNAK NNAL NNAM NNAN NNAO NNAP NNAQ NNAR NNAS NNAT NNAU NNAV NNAW NNAX NNAY NNAZ | |
nnAa nnAb nnAc nnAd nnAe nnAf nnAg nnAh nnAi nnAj nnAk nnAl nnAm nnAn nnAo nnAp nnAq nnAr nnAs nnAt nnAu nnAv nnAw nnAx nnAy nnAz | |
NNA0 NNA1 NNA2 NNA3 NNA4 NNA5 NNA6 NNA7 NNA8 NNA9 | |
NNA! NNA# NNA( NNA) NNA+ NNA, NNA- NNA. NNA/ NNA: NNA; NNA= NNA? NNA@ NNA[ NNA] NNA_ NNA© NNA℗ | |
NNBA NNBB NNBC NNBD NNBE NNBF NNBG NNBH NNBI NNBJ NNBK NNBL NNBM NNBN NNBO NNBP NNBQ NNBR NNBS NNBT NNBU NNBV NNBW NNBX NNBY NNBZ | |
nnBa nnBb nnBc nnBd nnBe nnBf nnBg nnBh nnBi nnBj nnBk nnBl nnBm nnBn nnBo nnBp nnBq nnBr nnBs nnBt nnBu nnBv nnBw nnBx nnBy nnBz | |
NNB0 NNB1 NNB2 NNB3 NNB4 NNB5 NNB6 NNB7 NNB8 NNB9 | |
NNB! NNB# NNB( NNB) NNB+ NNB, NNB- NNB. NNB/ NNB: NNB; NNB= NNB? NNB@ NNB[ NNB] NNB_ NNB© NNB℗ |
This file contains 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
// 1. go to your profile | |
// 2. click the "Following" count | |
// 3. open the browser console | |
// 4. copy and paste this code into the console | |
// 5. profit :3 | |
// (6. follow me on https://soundcloud.com/patchstep) | |
var scriptName = "unfollow-sc.js"; | |
var authorName = "Patch"; | |
var authorUrls = [ |
This file contains 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
$puts(_title,$iflonger($put(_title,[%artist% - ]$if2(%title%,$filepart(%filename%))),81,$cut($get(_title),78)...,$get(_title))) | |
$puts(_album,[from: %album%][ '('%year%')']) | |
$puts(_link,$if(%comment%,$split($substr(%comment% nolink,$if2($ifgreater($strstr(%comment%,https://),0,$strstr(%comment%,https://),)$ifgreater($strstr(%comment%,http://),0,$strstr(%comment%,http://),),$add($len(%comment%),2)),), ,0),nolink)) | |
$puts(_rating,$if(%rating%,$repeat(★,%rating%)$repeat(☆,$sub(5,%rating%)),unrated)) | |
'♬♫♪ ◖( ˘ ɜ˘ )◗ ♪♫♬' | |
$get(_title) | |
$get(_album) |
This file contains 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
$set(__year,$left(%date%,4)) | |
$set(__publisher,$if($and($eq(%albumartist%,Various Artists),%label%),$rreplace(%label%,[/_:],-),$rreplace(%albumartist%,[/_:],-))) | |
$set(__releasegroup,$if(%albumartist%,$rreplace(%album%,[/_:],-))) | |
$set(__trackno,$if($gt(%totaldiscs%,1),%discnumber%-,)$if($and(%albumartist%,%tracknumber%),$num(%tracknumber%,2) , )) | |
$set(__title,$rreplace($if(%_multiartist%,%artist% - ,)%title%,[/_:],-)) | |
%__publisher%/%__year% - %__releasegroup%/%__trackno%%__title% |
This file contains 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 | |
# assembled & improved by mia-cx | |
# sources used: | |
# - https://superuser.com/a/1307579 | |
# - https://stackoverflow.com/a/31605674 | |
# - https://stackoverflow.com/a/965072 | |
# read relative "working" directory | |
read -e -p "Working directory: " -i "./" RELDIR |
This file contains 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 | |
# exiftool music organizer | |
# this generates an "artist/album/song"-organized music library (based on metadata) | |
# it also moves and renames songs into this library based on metadata | |
# IN/OUT | |
read -p "Input Directory: " -e INPUT_DIR | |
read -p "Output Directory: " -e OUTPUT_DIR |