Skip to content

Instantly share code, notes, and snippets.

View full-sized avatar

Peter Tseng elv-peter

View GitHub Profile
@elv-peter
elv-peter / sync_test.sh
Created March 5, 2020 03:44
Generate live HLS stream that causes audio to be out-of-sync for HLS.js
View sync_test.sh
#!/bin/bash
#
# https://github.com/terabit-software/dynamic-stream-server/blob/master/scripts/sync_test.sh
#
# Tool to check video and audio sync.
# Loop with 1 beep per second with 4 increasing frequencies.
# Can be used to measure delays up to 4 seconds.
# The grid is accurate to about 1ms.
#
# Beep duration: 0.125s
@elv-peter
elv-peter / hellocat.md
Last active March 13, 2019 00:57
Bitcode example instructions
View hellocat.md