Merge branch 'master' of https://github.com/jorgevasquezp/my_scripts
commit
df057165a7
@ -0,0 +1,16 @@
|
||||
export IFS=$'\n'
|
||||
n=0
|
||||
for i;
|
||||
do
|
||||
total=$(ls ./"$i"/*.dng | wc -l)
|
||||
for j in $(find "$i" -type f -iname '*.dng');
|
||||
do
|
||||
|
||||
n=$(($n+1))
|
||||
#converting
|
||||
dcraw -vw -6 "$j" > .$i_dcraw_out.log 2> /dev/null;
|
||||
echo "converting" '"'$i'"' to images ":" $((($n)*100/$total))
|
||||
done;
|
||||
ffmpeg -r 24 -i "./"$i"/"$i"_"%06d".ppm" -f mov -c:v prores_ks -profile:v 4444 -pix_fmt yuva444p10le -strict -2 -vendor ap10 $i"_@24fps.mov"
|
||||
rm *ppm
|
||||
done
|
||||
@ -0,0 +1,6 @@
|
||||
g=6;
|
||||
vb=16M;
|
||||
for i;
|
||||
do ffmpeg -i "$i" -s 960x540 -c:v libx264 -x264opts keyint=$g:scenecut=-1 -profile:v main -pix_fmt yuv420p -q 0 -strict -2 -vb $vb "${i%.*}_960x540_h264.mov" ;
|
||||
done;
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
g=8;
|
||||
vb=32M;
|
||||
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" ;
|
||||
do ffmpeg -i "$i" -c:v libx264 -x264opts keyint=$g:scenecut=-1 -profile:v main -pix_fmt yuv420p -q 0 -strict -2 -vb $vb "${i%.*}_h264.mov" ;
|
||||
done;
|
||||
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
sudo mount.cifs //mak-nas/pegasus /Volumes/pegasus -o username=eduardo,password=pgss@1046,domain=intra.makinestudios.com
|
||||
sudo mount.cifs //mak-nas/pegasus /Volumes/pegasus -o credentials=/home/makine3d/.pgsscredentials,sec=ntlmv2,vers=2.0,gid=20,uid=1000,file_mode=0775,dir_mode=0775
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
qsynth &
|
||||
sleep 2
|
||||
out=$(aconnect -o | grep client.*'FLUID Synth' | grep -o [0-9]*[\:] | sed 's/\://')
|
||||
in=$(aconnect -o | grep client.*'USB Axiom 49' | grep -o [0-9]*[\:] | sed 's/\://')
|
||||
echo aconnect $in $out
|
||||
aconnect $in $out
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in new issue