Commit 4e4b2c14 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

ndvi

parent a356ef8b
......@@ -58,7 +58,14 @@ do
cd $PRODCUTSDIR
done
#cd $JP2DIR"/video_ndvi"
#ffmpeg -i %*.jpg -c:v libx264 -vf fps=10 -pix_fmt yuvj422p ndvi.mp4
cd $JP2DIR$OUTPUTDIR
for d in */; do
# Will print */ if no directories are available
cd $d
VIDEONAME=$(echo $d/ | cut -d"/" -f1)
# ffmpeg -i %*.jpg -c:v libx264 -vf fps=10 -pix_fmt yuvj422p $VIDEONAME.mp4
rm *.xml
cd ..
done
......@@ -64,7 +64,7 @@ cd $JP2DIR"rgb/"
for d in */; do
# Will print */ if no directories are available
cd $d
# VIDEONAME = $(echo $d/ | cut -d"/" -f1)
# VIDEONAME=$(echo $d/ | cut -d"/" -f1)
# ffmpeg -i %*.jpg -c:v libx264 -vf fps=10 -pix_fmt yuvj422p $VIDEONAME.mp4
rm *.xml
cd ..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment