Skip to content

Instantly share code, notes, and snippets.

@ljakob
ljakob / gist:e38d8cfcc9efb99c204f62105c6f4c60
Created May 14, 2021 10:44
ffmpeg encoder for "Megapixel Camera"
#!/usr/bin/python3
import sys
import subprocess
import logging
import socket
import time
HOST = '10.247.101.2' # The server's hostname or IP address
PORT = 90 # The port used by the server