rgb update

parent 61a7901b
......@@ -33,7 +33,7 @@ do
fileout1=$(echo $filepattern | cut -d"_" -f1)
fileout2=$(echo $filepattern | cut -d"_" -f2)
if [ ! -e rgb/$fileout2"_"$fileout1".tiff" ]; then
gdal_merge.py -separate -co PHOTOMETRIC=RGB -o rgb/$fileout2"_"$fileout1".tiff" $filepattern"04.jp2" $filepattern"03.jp2" $filepattern"02.jp2"
fi
......@@ -61,7 +61,8 @@ cd $JP2DIR"rgb/"
for d in */; do
# Will print */ if no directories are available
cd $d
ffmpeg -i %*.jpg -c:v libx264 -vf fps=10 -pix_fmt yuvj422p $d.mp4
VIDEONAME = $(echo $d/ | cut -d"/" -f1)
ffmpeg -i %*.jpg -c:v libx264 -vf fps=10 -pix_fmt yuvj422p $VIDEONAME.mp4
cd ..
done
......
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