Skip to content

Instantly share code, notes, and snippets.

@tjensen
tjensen / ffmpeg_bars_and_tone_stream.sh
Created March 26, 2020 17:09
FFMPEG command for generating a "bars and tone" RTMP live stream
ffmpeg -re \
-f lavfi -i "smptebars=rate=30:size=640x360" \
-f lavfi -i "sine=frequency=1000" \
-vf drawtext="text='%{pts\:hms}':rate=30:x=(w-tw)/2:y=(h-lh)/2:fontsize=48:fontcolor=white:box=1:boxcolor=black" \
-f flv \
-vcodec libx264 -profile:v baseline -pix_fmt yuv420p -preset ultrafast -tune zerolatency -crf 28 \
-acodec aac \
rtmp://streaming-server/live/key
@tjensen
tjensen / keybase.md
Created July 16, 2017 20:47
Keybase Proof

Keybase proof

I hereby claim:

  • I am tjensen on github.
  • I am tjensen (https://keybase.io/tjensen) on keybase.
  • I have a public key ASAiVFtzPjE3Zukd8cwC3VLyBoZJqmi4IO8U617kCjgnhAo

To claim this, I am signing this object:

@tjensen
tjensen / gist:1912325
Created February 26, 2012 02:28
I finally got fed up enough with PuTTY's default ANSI colors that I customized them to match the gnome-terminal settings on Ubuntu 10.04
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Default%20Settings]
"Colour6"="0,0,0"
"Colour7"="85,87,83"
"Colour8"="204,0,0"
"Colour9"="239,41,41"
"Colour10"="78,154,6"
"Colour11"="138,226,52"
"Colour12"="196,160,0"