add tomp4 to zshrc
This commit is contained in:
parent
4850e142aa
commit
7e9fcc0894
1 changed files with 7 additions and 0 deletions
|
@ -128,6 +128,13 @@ function die () {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function tomp4 () {
|
||||||
|
__TOMP4_INPUT="${1}"
|
||||||
|
__TOMP4_OUTPUT="${1%%.*}.mp4"
|
||||||
|
|
||||||
|
ffmpeg -i "file:${__TOMP4_INPUT}" -codec:v copy -codec:a copy "${__TOMP4_OUTPUT}"
|
||||||
|
}
|
||||||
|
|
||||||
function mkvoid () {
|
function mkvoid () {
|
||||||
__MKVOID_TARGET="$1"
|
__MKVOID_TARGET="$1"
|
||||||
__MKVOID_PATH="${__MKVOID_TARGET:P}"
|
__MKVOID_PATH="${__MKVOID_TARGET:P}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue