Skip to content

Instantly share code, notes, and snippets.

These are notes while researching a way to convert a browser/website to a stream. This could be used for Facebook Live or for webrecording. TL'DR:

  • I started with Phantomjs - but that didn't support the html5 video tag
  • SlimerJS supports it, but there is no way to record audio directly (though this might come from desktop audio)
  • So I moved to research ffmpeg/X11/XVFB to record it with linux which works
  • But ffmpeg has no easy way to mix streams/overlays to I moved on to OBS with overlay browser support
  • I started researching options OBS in docker and it needed best a GPU , so I move to nvidia-docker
  • And so came across building game servers on EC2/AWS using GPUs and managed to run OBS inside of GPU g2x.large machine
  • I tried streaming to twich , which works great and managed to restream 4K 60FPS youtube on an AWS instance
  • Remote control works through OBS-Remote but OBS has kinda limit in types of features
@monomadic
monomadic / mac.sh
Last active August 10, 2022 04:50
Forked from another file and documented, each entry on a new line to provide easy commenting / disabling of lines.
#!/bin/bash
# PRO TIP: Don't disable shit until you know exactly what it does. Remember that disabling doesn't kill the process, so most tweaks you need to reboot to fully see effects.
# MINI TUTORIAL ON LAUNCHCTL
# List all jobs in system:
# launchctl list
# first column is the process id, or - if the job is not loaded. second is exit code.
@jivoi
jivoi / offsec.md
Last active December 30, 2024 22:09
Penetrating Testing/Assessment Workflow

Penetrating Testing/Assessment Workflow & other fun infosec stuff

https://github.com/jivoi/pentest

My feeble attempt to organize (in a somewhat logical fashion) the vast amount of information, tools, resources, tip and tricks surrounding penetration testing, vulnerability assessment, and information security as a whole*

@pjobson
pjobson / FFMPEG_Notes.md
Last active January 9, 2025 01:03
FFMPEG Notes
@jn0
jn0 / rtsp-rtp-sample.py
Created December 2, 2016 08:43
Sample Python script to employ RTSP/RTP to play a stream from an IP-cam (from stackoverflow)
"""
http://stackoverflow.com/questions/28022432/receiving-rtp-packets-after-rtsp-setup
A demo python code that ..
1) Connects to an IP cam with RTSP
2) Draws RTP/NAL/H264 packets from the camera
3) Writes them to a file that can be read with any stock video player (say, mplayer, vlc & other ffmpeg based video-players)
Done for educative/demonstrative purposes, not for efficiency..!
@patpohler
patpohler / Big List of Real Estate APIs.md
Last active April 13, 2025 14:34
Evolving list of Real Estate APIs by Category

Big List of Real Estate APIs

Listings / Property Data

####Rets Rabbit http://www.retsrabbit.com

Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.

@cmbaughman
cmbaughman / how_to_irc.md
Last active March 20, 2025 06:16
IRC How To AnonOps

Introduction

Now onto actually using IRC. A lot of this stuff is just extra info. You don't need to know it. We don't need to know it. We just love typing out this crap. You are smart, you already know all this. No need to read it. OK now that was sarcasm. IRC is full of it so get used to it. You really do need to know this stuff. If you thought it was rude of me to be sarcastic, you wont survive on IRC very long.

Getting started

First up, pick a nick. A nickname, commonly referred to as 'nick', is your IRC name. Yours will appear before all of your messages in IRC to identify who is talking. If another user types your nick, the text is printed in red. This is a highlight. Some clients also will flash the window, send a beep, etc. You can select almost any nickname you like, provided nobody else uses it. If you choose a nick like 'justinbieber' or 'Ims0l33t4ndc00l', prepare to be ridiculed. Seriously. The [ ] in the command indicate where to place your own choices. Do not include the [ ] themselves.

@windyinsc
windyinsc / createinstallmedia.md
Last active March 6, 2025 05:58
Create a bootable installer for macOS

Create a bootable installer for macOS

The following instructions were predominantly sourced via this Apple Support Document.

With macOS, you can use a USB flash drive or other removable media as a startup disk from which to install macOS. These advanced steps are intended primarly for system administrators and others who are familiar with the command line.

The final executable command(s) are found within Section III. Final macOS Executable Commands labled as Full Example or Full Example w/Options. I personally use the w/Options command which include both the --nointeraction and &&say Installation commands.

I. Overview

@Explorare
Explorare / com.google.Chrome.mobileconfig
Last active August 20, 2024 03:56
Add local chrome extensions to whitelist in MacOS. https://hencolle.com/2016/10/16/baidu_exporter/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>com.google.Chrome</key>
@soxofaan
soxofaan / README.md
Last active January 19, 2024 17:48
Simple pretty CSV and TSV file viewer.