diff options
author | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2021-08-27 10:35:14 +0100 |
---|---|---|
committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2021-08-27 10:35:14 +0100 |
commit | c4ed099657a2aaa75d26b27afa94f62cd52a011c (patch) | |
tree | 204c3b76ed91d291650a5bdbeff10bcbd39aff28 /bashrc | |
parent | Add col function (diff) | |
download | util-c4ed099657a2aaa75d26b27afa94f62cd52a011c.tar.bz2 util-c4ed099657a2aaa75d26b27afa94f62cd52a011c.tar.xz util-c4ed099657a2aaa75d26b27afa94f62cd52a011c.zip |
Add mp4 function
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 } |