Skip to content

Instantly share code, notes, and snippets.

View hmelder's full-sized avatar

Hugo Melder hmelder

View GitHub Profile
@hmelder
hmelder / README.md
Last active October 7, 2023 16:28
GStreamer Interaudio* Issue

This is an isolated example of a GStreamer audio issue that exists when using interaudio* elements.

  • OS: NixOS 23.05.4076.8a4c17493e5c (Stoat) aarch64
  • Kernel: 6.1.55
  • CPU: Apple M1 Pro (Virt)
  • Memory: 8.0GiB
  • gst-launch-1.0 version: 1.22.5
  • GStreamer: 1.22.5

Building

@hmelder
hmelder / Building_Infer_Alpine_aarch64.md
Last active July 20, 2023 23:29
Building an infer release on alpine linux

Requirements

  • Alpine Virtual Machine or similar
  • Time

Install Development Dependencies:

apk add alpine-sdk bash patchelf autoconf automake make pkgconf git openjdk17

Installing opam and OCaml

@hmelder
hmelder / pipe.sh
Created January 17, 2021 11:31
(Librespot -> ffplay/vlc) Pipe librespot raw pcm s16le stream (Librespot -> ffplay/vlc)
#!/bin/bash
# This is the recommended option. ffplay playback controls are working perfectly.
# Seeking/Song-skipping works too.
librespot -n "Librespot Speaker" -b 320 --backend pipe | ffplay -f s16le -ar 44.1k -ac 2 -
# Not recommended. VLC playback controls are broken and spotify-connect remote control does not work either. (VLC macOS Bundle)
#librespot -n "Librespot Speaker" -b 320 --backend pipe | /Applications/VLC.app/Contents/MacOS/VLC -I dummy --demux=rawaud --rawaud-channels=2 --rawaud-samplerate=44100 -