Skip to content

Instantly share code, notes, and snippets.

View julianoes's full-sized avatar

Julian Oes julianoes

View GitHub Profile
@julianoes
julianoes / RTSP forwarding.md
Last active February 29, 2024 21:32 — forked from corenel/README.md
RTSP Port Forwarding

RTSP forwarding using UDP transport

This is based on https://gist.github.com/corenel/db98113b346717e114864538996134a8, however, adapted to work over UDP transport, rather than TCP, which makes it a bit more complicated, and requires the client to fix the UDP ports used.

Assume we have the following network environments:

  • Forwarder device:
    • eth0 (192.168.144.25): for camera access
    • wlan0 (192.168.1.54): for PC access
  • IP Camera:192.168.144.25
@julianoes
julianoes / tides-csv2ics.py
Created January 16, 2023 05:04
Convert tide times to ICS calendar
#!/usr/bin/env python3
import argparse
import datetime
# Tides from
# https://www.linz.govt.nz/products-services/tides-and-tidal-streams/tide-predictions
# get converted to .ics files which can be imported into Google Calendar.
@julianoes
julianoes / CMakeLists.txt
Created December 11, 2019 09:00
Example to use libz to compress camera definition file
cmake_minimum_required(VERSION 3.5)
project(zexample)
set(CMAKE_CXX_STANDARD 11)
add_executable(zexample
zexample.cpp
)