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

ndvi

parent a356ef8b
...@@ -58,7 +58,14 @@ do ...@@ -58,7 +58,14 @@ do
cd $PRODCUTSDIR cd $PRODCUTSDIR
done done
#cd $JP2DIR"/video_ndvi" cd $JP2DIR$OUTPUTDIR
#ffmpeg -i %*.jpg -c:v libx264 -vf fps=10 -pix_fmt yuvj422p ndvi.mp4 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/" ...@@ -64,7 +64,7 @@ cd $JP2DIR"rgb/"
for d in */; do for d in */; do
# Will print */ if no directories are available # Will print */ if no directories are available
cd $d 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 # ffmpeg -i %*.jpg -c:v libx264 -vf fps=10 -pix_fmt yuvj422p $VIDEONAME.mp4
rm *.xml rm *.xml
cd .. 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