Skip to content

Instantly share code, notes, and snippets.

View paius1's full-sized avatar

Paul Groves paius1

View GitHub Profile
@paius1
paius1 / mpv-ipcam-monitor.sh
Last active October 4, 2022 18:05
Script to view and Monitor rtsp:// stream from a security camera
#!/usr/bin/env bash
#
# Simple script to monitor a ipcam stream running on mpv
# using the ipc-server
# requires mpv, socat, and jq written for bash 4
# xwinwrap to run on the Desktop
# by gmail plgroves 2019
#
# script creates a kill script in same path as this script
# named This_script-kill
@paius1
paius1 / Normalize_Audio.sh
Last active August 29, 2023 06:05
Normalize audio in a file using ffmpeg-filter compand
#!/usr/bin/env bash
# Normalize audio stream in video file so explosions don't cover up dialogue
#
# For PcManFm custom actions using ffmpeg and yad
#
# Many thanks to Rupert Plumridge www.prupert.co.uk for the code to create a progress bar
# &
# https://gist.github.com/leesei
# for bash uri parser
# &
@paius1
paius1 / monitor_transmission_remote.sh
Last active October 14, 2020 14:08
Conky Monitor for transmission-remote
#!/bin/bash
#
# prints conky formatted output from running transmission-daemons
# add the following line to the conky config file e.g. .conkyrc
# ${texecpi 3 /path/to/script/monitor_transmission_remote.sh}
# set narrow to any value to print a narrow version
# vnstats assumes you can ssh into host w/o password
# see: http://www.linuxproblem.org/art_9.html
# output with two lines per torrent