📄 mkmovie
字号:
#!/bin/sh #--------------------------- Shell MegaWave2 Macro --------------------------#_sccsid="%Z%MegaWave2 %R%, %M% %I%, %G%";_Prog="Mkmovie"_Vers="1.2"_Date="2002"_Func="Build a movie from an image sequence"_Auth="Lionel Moisan";_Usage="type prefix n1 n2 (type=Cmovie/Fmovie/Ccmovie/Cfmovie)"#----------------------------------------------------------------------------## This file is part of the MegaWave2 system macros. # MegaWave2 is a "soft-publication" for the scientific community. It has# been developed for research purposes and it comes without any warranty.# The last version is available at http://www.cmla.ens-cachan.fr/Cmla/Megawave# CMLA, Ecole Normale Superieure de Cachan, 61 av. du President Wilson,# 94235 Cachan cedex, France. Email: megawave@cmla.ens-cachan.fr #-----------------------------------------------------------------------------# Usageif [ $# -ne 4 ]; then . .mw2_help_lg_comfidef=$1dest=$2prefix=`basename $dest`n1=$3n2=$4n=`expr $n2 - $n1 + 1`if [ $n -le 0 ] || [ $n -gt 100000 ]; then . .mw2_help_lg_comfiif [ $def != Cmovie ] && [ $def != Fmovie ] && [ $def != Ccmovie ] && [ $def != Cfmovie ]; then . .mw2_help_lg_comfi\rm -f $destecho "%" > $destecho "MegaWave2 - DATA ASCII file -" >> $destecho "%" >> $destecho "def $def" >> $destecho "" >> $destecho "nimage:$n" >> $destecho "" >> $destn=$n1while [ $n -le $n2 ]do echo $prefix'_'$n >> $dest n=`expr $n + 1`doneexit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -