Skip to content

Instantly share code, notes, and snippets.

@sfahadshahzad
sfahadshahzad / OBE HD
Created May 19, 2023 12:42 — forked from trickkiste/OBE HD
SFE OBE Settings
#!/bin/bash
NAME=obe_hd
screen -d -m -S $NAME obecli
sleep 1
screen -p 0 -S $NAME -X stuff $'set input decklink\012'
screen -p 0 -S $NAME -X stuff $'set input opts card-idx=0\012'
screen -p 0 -S $NAME -X stuff $'set input opts video-format=1080i50\012'
screen -p 0 -S $NAME -X stuff $'set input opts video-connection=sdi\012'
@sfahadshahzad
sfahadshahzad / mosaic.vlm
Created April 15, 2025 16:21 — forked from Vankalif/mosaic.vlm
VLC 6 ip cameras mosaic config via RTSP
# Runs on windows by command -> vlc --vlm-conf path_to_file.vlm
# Background options
new bg broadcast enabled
# bg just plain black background jpg image
setup bg input "C:\Users\full_path_to\back.jpg"
setup bg option image-duration=-1
setup bg output #transcode{sfilter=mosaic{width=1920,height=960,cols=3,rows=2,position=1,order="1,2,3,4,5,6",keep-aspect-ratio=enabled,keep-picture=1,mosaic-align=5},vcodec=mp4v,vb=2000,fps=15}:duplicate{dst=display}
# Input options
@sfahadshahzad
sfahadshahzad / guide.md
Created October 27, 2025 17:23 — forked from othyn/guide.md
Fix horrendously bad macOS (12.3.1 tested) SMB (Samba) performance on Unraid

Intro

Out of the box, my SMB performance on macOS 12.3.1 would top out at around 20MB/s in short ~5 second bursts, which was absolutely horrendous, slow to navigate in Finder and slugish to interact with.

Since making these changes, I now get sustained ~80-100MB/s+ and instant Finder navigation which is superb and how things should be out-of-the-box (OOTB)!

May 2023 update: As of Ventura, the SMB issues were just horribly inconsistent and hard to maintain. Something in the combination of Unraid, macOS and SMB just doesn't play nice. I ended up binning NFS/SMB all together and heading to a locally hosted Nextcloud instance for file syncing, then using SFTP/Ansible Git flow for editing files within appdata.

Sources