From c4ed099657a2aaa75d26b27afa94f62cd52a011c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 27 Aug 2021 10:35:14 +0100 Subject: Add mp4 function --- bashrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bashrc') 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 } -- cgit v1.2.3