scripts and tridactyl

This commit is contained in:
Chris Cochrun 2020-12-09 08:53:50 -06:00
parent fda17aea44
commit 2dbf5dfc9f
13 changed files with 18 additions and 9 deletions

13
scripts/drvid Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env fish
mkdir transcoded
for vid in *.mp4
touch $vid.txt
echo $vid >>$vid.txt
set newvid (sed "s/\.mp4//g" $vid.txt)
echo $newvid
ffmpeg -i $vid -c:v dnxhd -profile:v 3 -qscale:v 9 -c:a pcm_s16le $newvid.mov
mv $newvid.mov ./transcoded/$newvid.mov
rm $vid.txt
echo \n finished transcoding new file is in transcoded/$newvid.mov
end