Skip to content

Instantly share code, notes, and snippets.

@jordicenzano
jordicenzano / start-webserver.sh
Last active August 31, 2019 13:46
Start simple webserver on 8080
#!/usr/bin/env bash
# Assume nodeJS and npm is installed
# Assume npm http-server is installed in global mode (-g)
echo "Starting local webserver on 8080"
http-server ~/origin -p 8080 --cors -c -1
#!/bin/bash
#
# Copyright (c) 2015 - 2018 imm studios, z.s.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@imorrish
imorrish / RecordHyperDecks.ps1
Created May 27, 2015 08:51
PowerShell to start recording on multiple Blackmagic HyperDeck devices
# record on multiple HyperDecks
$HyperDecks = @('10.0.0.34','10.0.0.35','10.0.0.36','10.0.0.37')
$fileName = 'Recording' + (Get-Date).tostring("dd_MM_yyyy_hh_mm")
$sb = {
param ([string] $HyperDeckIP, [string] $HDcommand)
try {
$socket = new-object System.Net.Sockets.TcpClient($HyperDeckIP, 9993)
$stream = $socket.GetStream()
$writer = new-object System.IO.StreamWriter($stream)
@abrar71
abrar71 / install1.sh
Last active November 23, 2019 15:37
Compile FFmpeg
#!/bin/bash
clear
( exec &> >(while read -r line; do echo "$(date +"[%Y-%m-%d %H:%M:%S]") $line"; done;) #Date to Every Line
tput bold ; echo "adam | 2014 < 2019-10-10" ; tput sgr0
tput bold ; echo "Auto ! Download && Build Last Static FFmpeg" ; tput sgr0
tput bold ; echo "OS X | 10.12 < 10.14" ; tput sgr0
# Check Xcode Install
tput bold ; echo ; echo '♻️ ' Check Xcode Install ; tput sgr0
#!/bin/bash
# Sample script to encode 6 bitrates with TC overlay.
#
FRAME_RATE=25
FRAME_SEP=\:
FONT=/path/to/fonts/OpenSans-Bold.ttf
decklink_opts="-format_code Hi50 -channels 2 -f decklink -threads 0"
encoder="h264_nvenc"
@dampfklon
dampfklon / pi3_browser-only.md
Last active October 8, 2020 12:30 — forked from bheisig/pi3_browser-only.md
Run Raspberry 3 in digital signage mode with Chromium Web browser on a TV screen
@mhanney
mhanney / ffmpeg-to-vmix.png
Last active April 18, 2021 08:46
Stream webcam and audio source from PC to remote IP address using mpegts encapsulation and encoded with h264 and aac
ffmpeg-to-vmix.png