fish: Add an alias to transcode mkv to mp4
This commit is contained in:
parent
30245370ca
commit
c06bee9cb3
1 changed files with 6 additions and 0 deletions
6
fish/.config/fish/functions/mkvtomp4.fish
Normal file
6
fish/.config/fish/functions/mkvtomp4.fish
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
function mkvtomp4 --description "Reencode mkv to mp4"
|
||||||
|
for i in *.mkv
|
||||||
|
set fname (basename $i .mkv)
|
||||||
|
ffmpeg -i $i -c:v libx264 -c:a aac $fname.mp4
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue