„gtc-media-compress.sh“ ändern
This commit is contained in:
parent
d064547a1f
commit
135416429f
@ -96,19 +96,19 @@ then
|
|||||||
then
|
then
|
||||||
if echo $vidres | grep -q "480p"
|
if echo $vidres | grep -q "480p"
|
||||||
then
|
then
|
||||||
echo -n 'tmux new -s g_ffmpegparallel ". /etc/bash/gaboshlib.include; echo \$\$ >"\$g_tmp"/VID-SD; cat ~/.g_tmpvidlist | sort -R | while read video; do g_compress_video \$video; done" ' >$g_tmp/g_vidcmd
|
echo -n 'tmux new -s g_ffmpegparallel ". /etc/bash/gaboshlib.include; echo \$\$ >"\$g_tmp"/VID-SD; cat ~/.g_tmpvidlist | sort -R | while read video; do g_compress_video \"\$video\"; done" ' >$g_tmp/g_vidcmd
|
||||||
echo -n '\; split-window -d ". /etc/bash/gaboshlib.include; echo \$\$ >"\$g_tmp"/VID-SD; cat ~/.g_tmpvidlist | sort -R | while read video; do g_compress_video \$video; done" \; select-layout even-vertical ' >>$g_tmp/g_vidcmd
|
echo -n '\; split-window -d ". /etc/bash/gaboshlib.include; echo \$\$ >"\$g_tmp"/VID-SD; cat ~/.g_tmpvidlist | sort -R | while read video; do g_compress_video \"\$video\"; done" \; select-layout even-vertical ' >>$g_tmp/g_vidcmd
|
||||||
else
|
else
|
||||||
echo -n 'tmux new -s g_ffmpegparallel ". /etc/bash/gaboshlib.include; cat ~/.g_tmpvidlist | sort -R | while read video; do g_compress_video \$video; done" ' >$g_tmp/g_vidcmd
|
echo -n 'tmux new -s g_ffmpegparallel ". /etc/bash/gaboshlib.include; cat ~/.g_tmpvidlist | sort -R | while read video; do g_compress_video \"\$video\"; done" ' >$g_tmp/g_vidcmd
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if echo $vidres | grep -q "480p"
|
if echo $vidres | grep -q "480p"
|
||||||
then
|
then
|
||||||
echo -n "\; split-window -d \" sleep $num ; " >>$g_tmp/g_vidcmd
|
echo -n "\; split-window -d \" sleep $num ; " >>$g_tmp/g_vidcmd
|
||||||
echo -n '. /etc/bash/gaboshlib.include; echo \$\$ >"\$g_tmp"/VID-SD; cat ~/.g_tmpvidlist | sort -R | while read video; do g_compress_video \$video; done" \; select-layout even-vertical ' >>$g_tmp/g_vidcmd
|
echo -n '. /etc/bash/gaboshlib.include; echo \$\$ >"\$g_tmp"/VID-SD; cat ~/.g_tmpvidlist | sort -R | while read video; do g_compress_video \"\$video\"; done" \; select-layout even-vertical ' >>$g_tmp/g_vidcmd
|
||||||
else
|
else
|
||||||
echo -n "\; split-window -d \" sleep $num ; " >>$g_tmp/g_vidcmd
|
echo -n "\; split-window -d \" sleep $num ; " >>$g_tmp/g_vidcmd
|
||||||
echo -n '. /etc/bash/gaboshlib.include; cat ~/.g_tmpvidlist | sort -R | while read video; do g_compress_video \$video; done" \; select-layout even-vertical ' >>$g_tmp/g_vidcmd
|
echo -n '. /etc/bash/gaboshlib.include; cat ~/.g_tmpvidlist | sort -R | while read video; do g_compress_video \"\$video\"; done" \; select-layout even-vertical ' >>$g_tmp/g_vidcmd
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@ -124,7 +124,7 @@ else
|
|||||||
echo $vidres | grep -q "480p" && echo $$ >"$g_tmp"/VID-SD
|
echo $vidres | grep -q "480p" && echo $$ >"$g_tmp"/VID-SD
|
||||||
g_find_video "$mediapath" | while read video
|
g_find_video "$mediapath" | while read video
|
||||||
do
|
do
|
||||||
g_compress_video $video
|
g_compress_video "$video"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user