summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 10:35:14 +0100
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 10:35:14 +0100
commitc4ed099657a2aaa75d26b27afa94f62cd52a011c (patch)
tree204c3b76ed91d291650a5bdbeff10bcbd39aff28
parentAdd col function (diff)
downloadutil-c4ed099657a2aaa75d26b27afa94f62cd52a011c.tar.bz2
util-c4ed099657a2aaa75d26b27afa94f62cd52a011c.tar.xz
util-c4ed099657a2aaa75d26b27afa94f62cd52a011c.zip
Add mp4 function
-rw-r--r--bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 3593cc7..8851b40 100644
--- a/bashrc
+++ b/bashrc
@@ -8,6 +8,10 @@ col() {
awk "{ print \$$1; }"
}
+mp4() {
+ ffmpeg -i "$1" -vcodec copy -acodec ac3 "${1%.*}.mp4"
+}
+
safedir() {
echo "$@ $(pwd)" | md5sum | cut -b-32
}