Skip to content

Instantly share code, notes, and snippets.

View DroidFreak32's full-sized avatar
:shipit:
I may be slow to respond.

Rushab Shah DroidFreak32

:shipit:
I may be slow to respond.
View GitHub Profile
@DroidFreak32
DroidFreak32 / flac2opus
Last active October 4, 2019 15:56 — forked from keeferrourke/flac2opus
This is a script to convert all flac files in a given directory to ogg/opus. I wrote this because mp3 kinda sucks and opus is a free format that is pretty much taking over the internet.
#!/bin/bash
# Copyright 2017 Keefer Rourke <mail@krourke.org>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCNUMBERLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
@DroidFreak32
DroidFreak32 / mkvextract-helper.sh
Created October 17, 2018 14:49 — forked from konfou/mkvextract-helper.sh
extract all tracks/attachments/chapters from an mkv file
#!/usr/bin/env bash
#
# Extract all tracks/attachments/chapters from an mkv file.
# depends
type -p mkvmerge &>/dev/null || exit 3
type -p mkvextract &>/dev/null || exit 3
# trap SIGINT
trap 'trap - INT; kill -s INT "$$"' INT
@DroidFreak32
DroidFreak32 / flac2opus.sh
Created December 8, 2019 18:31 — forked from berturion/flac2opus.sh
Encode flac files to opus preserving folder structure and stripping ID3 tags
#!/bin/bash
# Copyright 2019 Bertrand Michas <berturion@free.fr>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCNUMBERLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY