Added a couple ffmpeg compression scripts, updated the mount whitehorse command and a couple of cli commands to open files with quicktime

This commit is contained in:
2016-09-29 16:36:16 -07:00
parent dee053f9f1
commit aca1cdd6ca
14 changed files with 77 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 MiB

+9
View File
@@ -0,0 +1,9 @@
export IFS=$'\n';
for i;
do
for j in $(cat "$i");
do
cp "$j" .
done;
done;
+4
View File
@@ -0,0 +1,4 @@
search_string="$1";
echo $search_string;
find . -n "'*$search_string*'";
+1
View File
@@ -0,0 +1 @@
echo Punch "$1" was logged at $(date +"%Y-%h-%d %r") >> /Users/makinegx15/missed_punches/$(date +"%Y-%h-%d").txt
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
log_punch.sh out
+4
View File
@@ -0,0 +1,4 @@
for i;
do ffmpeg -i "$i" -g 15 -s 1280x720 -c:v libx264 -profile:v main -pix_fmt yuv420p -strict -2 -q 0 -b:v 18000k "${i%.*}_h264.mov" ;
done;
+4
View File
@@ -0,0 +1,4 @@
for i;
do ffmpeg -i "$i" -c:v libx264 -profile:v main -pix_fmt yuv420p -q 0 -strict -2 "${i%.*}_h264.mov" ;
done;
+4
View File
@@ -0,0 +1,4 @@
for i;
do ffmpeg -i "$i" -c:v libx264 -profile:v main -pix_fmt yuv420p -q 0 -strict -2 -vb 5000k "${i%.*}_h264.mov" ;
done;
+4
View File
@@ -0,0 +1,4 @@
for i;
do ffmpeg -i "$i" -c:v libx264 -profile:v high444 -pix_fmt yuv444p -q 0 -strict -2 -g 15 "${i%.*}_hq_h264.mov" ;
done;
+4
View File
@@ -0,0 +1,4 @@
for i;
do ffmpeg -i "$i" -s 960x540 -b:v 900k -b:a 64k -g 15 "${i%.*}.wmv" ;
done;
+34
View File
@@ -0,0 +1,34 @@
stty -echo
echo Waiting for silly MAC lag...
for i in {1..3};
do
echo ...$i
sleep 1
done
echo mounting whitehorse
mkdir /Volumes/whthrs
mount -t smbfs //mak:ale2312x@makineisilon/whitehorse /Volumes/whthrs
echo mounting pegasus
mkdir /Volumes/pgss
mount -t smbfs //eduardo:"pgss%401046"@mak-nas/pegasus /Volumes/pgss
echo done.
sleep 1
open -a trolCommander
echo ' /$$$$$$$ /$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$ /$$';
echo '| $$__ $$| $$ | $$| $$$ | $$ /$$__ $$| $$ | $$ |_ $$_/| $$$ | $$';
echo '| $$ \ $$| $$ | $$| $$$$| $$| $$ \__/| $$ | $$ | $$ | $$$$| $$';
echo '| $$$$$$$/| $$ | $$| $$ $$ $$| $$ | $$$$$$$$ | $$ | $$ $$ $$';
echo '| $$____/ | $$ | $$| $$ $$$$| $$ | $$__ $$ | $$ | $$ $$$$';
echo '| $$ | $$ | $$| $$\ $$$| $$ $$| $$ | $$ | $$ | $$\ $$$';
echo '| $$ | $$$$$$/| $$ \ $$| $$$$$$/| $$ | $$ /$$$$$$| $$ \ $$';
echo '|__/ \______/ |__/ \__/ \______/ |__/ |__/ |______/|__/ \__/';
log_punch.sh in
sleep 25
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" https://timeandlabor.paychex.com/secure/Login.aspx?Alias=0083A8306102 --args --"profile-direory"="Profile 2" > /tmp/chromelog.log &
stty echo
exit
+3
View File
@@ -0,0 +1,3 @@
for i;
do open -a "Quicktime Player" "$i";
done;
+3
View File
@@ -0,0 +1,3 @@
for i;
do open -a "Quicktime Player 7" "$i";
done;
+1
View File
@@ -0,0 +1 @@
//Walk the items.␍search_string = "Element";␍project_items = app.project.items␍for ( var i = 1; i <= project_items.length ; i ++)␍ {␍ var item = project_items[i];␍ if( item.typeName == "Composition" )␍ {␍ var comp = item;␍ //alert( comp.name );␍ var comp = item;␍ for ( var j = 1 ; j <= comp.numLayers ; j ++ )␍ {␍ var layer = comp.layer(j);␍ if ( layer.matchName == "ADBE AV Layer") //Only go into layers... not cameras and lights.␍ {␍ var effects = layer.property("Effects");␍ //alert( comp.name + " , " + layer.name );␍ for ( var k = 1 ; k <= effects.numProperties ; k ++ )␍ {␍ var effect = effects.property(k);␍ if ( effect.name == search_string )␍ {␍ layer.comment = "Contains " + effect.name + " layer.";␍ comp.comment = "Contains " + effect.name + " layer.";␍ }␍ //alert( comp.name + " , " + layer.name + " , " + effect.name );␍ }␍ }␍ } ␍ }␍ }