Skip to content

Instantly share code, notes, and snippets.

View iameli's full-sized avatar
💭
Beep boop

Eli Mallon iameli

💭
Beep boop
View GitHub Profile
This file has been truncated, but you can view the full file.
# github.com/livepeer/lpms/ffmpeg
decoder.c:286:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
# stream.place/streamplace/pkg/media.test
ld: warning: duplicate -rpath '/Users/iameli/code/streamplace/build-darwin-arm64/lib' ignored
ld: warning: duplicate -rpath '/Users/iameli/code/streamplace/build-darwin-arm64/lib' ignored
ld: warning: duplicate -rpath '/Users/iameli/code/streamplace/build-darwin-arm64/lib' ignored
ld: warning: ignoring duplicate libraries: '-lavfilter', '-lavformat', '-lc2pa', '-lgio-2.0', '-lglib-2.0', '-lgobject-2.0', '-lgstapp-1.0', '-lgstbase-1.0', '-lgstcontroller-1.0', '-lgstreamer-1.0', '-lintl', '-lm'
ld: warning: search path '/Users/iameli/code/go/pkg/mod/git.stream.place/streamplace/[email protected]/target/release' not found
? stream.place/streamplace/pkg/media/mediatesting [no test files]
? stream.place/streamplace/pkg/media/segchanman [no test files]
@iameli
iameli / gist:9190f1b383da3d0649e7d95649d9588b
Last active March 13, 2025 00:06
gstreamer allocations
[17:06:03] Top 10 stacks with outstanding allocations:
8388608 bytes in 2 allocations from stack
0x000056370b994190 x_cgo_mmap+0x10 [streamplace]
0x000056370a64703f runtime.mmap.func1+0x3f [streamplace]
0x000056370a646f7a runtime.mmap+0x5a [streamplace]
0x000056370a657ad3 runtime.sysMapOS+0x33 [streamplace]
0x000056370a657554 runtime.sysMap+0x34 [streamplace]
0x000056370a66ad96 runtime.(*mheap).grow+0x236 [streamplace]
0x000056370a66a410 runtime.(*mheap).allocSpan+0x1b0 [streamplace]
0x000056370a669ebc runtime.(*mheap).alloc.func1+0x5c [streamplace]
@iameli
iameli / ai.diff
Created February 12, 2025 14:47
Prompt: Could you refactor this so that all of the protocols are in a separate structure that's iterated over to create the <ListItems> and stuff?
diff --git a/js/app/components/player/controls.tsx b/js/app/components/player/controls.tsx
index d89aea0..24aae03 100644
--- a/js/app/components/player/controls.tsx
+++ b/js/app/components/player/controls.tsx
@@ -267,6 +267,34 @@ function LiveBubbleText() {
function GearMenu(props: PlayerProps) {
const [menu, setMenu] = useState("root");
+
+ const protocols = [
default 14:06:03.526606-0800 filecoordinationd Received state update for 15687 (anon<input-leapc>(501), running-NotVisible
default 14:06:03.533046-0800 filecoordinationd Received state update for 15687 (anon<input-leapc>(501), running-NotVisible
default 14:06:03.541233-0800 filecoordinationd Received state update for 15687 (anon<input-leapc>(501), running-NotVisible
default 14:06:03.543589-0800 filecoordinationd Received state update for 15687 (anon<input-leapc>(501), running-NotVisible
default 14:06:03.655890-0800 filecoordinationd Received state update for 15687 (anon<input-leapc>(501), running-NotVisible
default 14:06:03.660042-0800 filecoordinationd Received state update for 15687 (anon<input-leapc>(501), running-NotVisible
default 14:09:30.030750-0800 runningboardd Acquiring assertion targeting [app<application.input-leap.21787575.21787646(501)>:5840] from originator [app<application.input-leap.21787575.21787646(501)>:5840] with description <RBSAssertionDescriptor| "AppNap adapter assertion" ID:391-5840-
@iameli
iameli / gstreamer-rs-windows-build-fail.log
Created December 6, 2024 00:11
gstreamer-rs-windows-build-fail.log
This file has been truncated, but you can view the full file.
[0/42] env PKG_CONFIG_ALL_STATIC=1 SYSTEM_DEPS_LINK=static PKG_CONFIG=/usr/bin/x86_64-w64-mingw32-pkg-config 'PKG_CONFIG_PATH=/home/iameli/code/aquareum/build-windows-amd64/meson-uninstalled;/home/iameli/code/aquareum/build-windows-amd64/subprojects/gst-plugins-rs/meson-uninstalled' 'RUSTC=rustc --target x86_64-pc-windows-gnu -C linker=x86_64-w64-mingw32-gcc' /usr/bin/python3 /home/iameli/code/aquareum/subprojects/gst-plugins-rs/cargo_wrapper.py build /home/iameli/code/aquareum/build-windows-amd64/subprojects/gst-plugins-rs /home/iameli/code/aquareum/subprojects/gst-plugins-rs /home/iameli/code/aquareum/build-windows-amd64 debug /usr/local lib --packages gst-plugin-rtp gst-plugin-webrtc --depfile subprojects/gst-plugins-rs/gst-plugins-rs.dep --lib-suffixes lib --features gst-video/v1_22 gst-webrtc/v1_22 gst-rtp/v1_22 gst-sdp/v1_22 gst-app/v1_22 gst/v1_22 --disable-doc
Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
#include "../src/input/input_hls.h"
#include "../src/input/input_dtsc.h"
#include "../src/input/input_mp3.h"
#include "../src/input/input_flv.h"
#include "../src/input/input_ogg.h"
#include "../src/input/input_buffer.h"
#include "../src/input/input_h264.h"
#include "../src/input/input_ebml.h"
#include "../src/input/input_ismv.h"
#include "../src/input/input_mp4.h"
[1/4] Compiling C++ object MistInFLAC.p/src_input_input_flac.cpp.o
FAILED: MistInFLAC.p/src_input_input_flac.cpp.o
c++ -IMistInFLAC.p -I. -I.. -I../subprojects/mbedtls/include -Isubprojects/libsrtp/include -I../subprojects/libsrtp/include -Imist -fdiagnostics-color=always -Wall -Winvalid-pch -std=c++98 -O0 -g -funsigned-char -D_LARGEFILE_SOURCE -Wno-sign-compare -Wparentheses -Wno-non-virtual-dtor -Wno-strict-aliasing '-DAPPNAME="MistServer"' -DDEBUG=4 '-DRELEASE="Generic_aarch64"' '-DPACKAGE_VERSION="3.3-7-gdbafa808b"' -DSHM_DATASIZE=40 -DSTAT_CUTOFF=600 -DSTATS_DELAY=15 '-DUDP_API_HOST="localhost"' -DUDP_API_PORT=4242 -DSSL=1 -DUPDATER=1 -DHAVE_UPSTREAM_MBEDTLS_SRTP=0 -DWITH_DATACHANNELS '-DINPUTTYPE="input_flac.h"' -MD -MQ MistInFLAC.p/src_input_input_flac.cpp.o -MF MistInFLAC.p/src_input_input_flac.cpp.o.d -o MistInFLAC.p/src_input_input_flac.cpp.o -c ../src/input/input_flac.cpp
../src/input/input_flac.cpp:199:38: error: use of overloaded operator '=' is ambiguous (with operand types 'Value' and 'size_t'
apiVersion: apps/v1
kind: Deployment
metadata:
name: catalyst
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
export default {
// The fetch handler is invoked when this worker receives a HTTP(S) request
// and should return a Response (optionally wrapped in a Promise)
async fetch(request, env, ctx) {
// You'll find it helpful to parse the request.url string into a URL object. Learn more at https://developer.mozilla.org/en-US/docs/Web/API/URL
const url = new URL(request.url);
const corsHeaders = {
"access-control-allow-origin": request.headers.get("origin"),
"access-control-allow-headers": "custom-header",
2023-08-24 19:58:40.466
[2023-08-24 19:58:40] livepeer-catalyst-api (1084787) INFO: I0824 19:58:40.465629 1084796 stream_buffer.go:58] Got STREAM_BUFFER trigger sessionId="9dd88aca-5d75-4981-9dd0-82a841b22064" payload={"StreamName":"videorec+d649rj83prk16y67","State":"RECOVER","Details":{"Tracks":{"audio_AAC_2ch_48000hz":{"codec":"AAC","kbits":156,"keys":{"frame_ms_max":21,"frame_ms_min":21,"frames_max":96,"frames_min":96,"ms_max":2048,"ms_min":2048}},"audio_opus_2ch_48000hz":{"codec":"opus","kbits":62,"keys":{"frame_ms_max":20,"frame_ms_min":20,"frames_max":103,"frames_min":103,"ms_max":2060,"ms_min":2060}},"video_H264_1280x720_30fps":{"codec":"H264","kbits":1104,"keys":{"frame_ms_max":33,"frame_ms_min":33,"frames_max":60,"frames_min":60,"ms_max":2000,"ms_min":2000},"fpks":30000,"height":720,"width":1280},"video_H264_1920x1080_60fps":{"codec":"H264","kbits":1670,"keys":{"frame_ms_max":16,"frame_ms_min":16,"frames_max":120,"frames_min":120,"ms_max":2000,"ms_min":2000},"fpks":60000,"height":1080,"width":1920}