Does anyone know about plotting an image in a movie?
I have a list of images (full path) and for some reason, the movie script cannot seem to handle sed -n "${MOVIE_COL1}p" ../photolist.txt | gmt image -Y0i -X4.5i
The photolist.txt file is the full path from /home to where the photos are located.
The error given is image [ERROR]: Must specify a single input raster or EPS file.
I was able to get a static image to plot with gmt image /home/sentry/Desktop/Sentry625_Plots/Processed_Images/Data/Photos/Dive625Photos/sentry.20220218.230324807175.13.acun.jpg -Y0i -X4.5i when I specified the path/photo within gmt image, but not when I fed in an image list one at a time.
The movie I am trying to make follows an AUV path which was taking photos. On the left, I have the AUV path plotted over the bathymetry, and each frame advances the location of the photo. This part works successfully. On the right side of the movie, I want to iterate through each photo.
I tried to create a list of photos in the directory and then just feed a certain line into gmt image via sed, but this hasn’t worked for me so far.
Here is something I have noticed: The paths for inc.sh and pre.sh are different than the paths in main.sh, but even the paths within main.sh are different.
Script and data: FOLDER
I know that there is a bunch of bash variables used here, but in this folder, I have isolated all relevant data with paths.
To simplify things, I have only provided the first 100 photos instead of all 1500.
If this doesn’t solve the issue, please share the terminal output. Do you get the message *** stack smashing detected ***: terminated, or is it just me?