gmt icon indicating copy to clipboard operation
gmt copied to clipboard

Get last frame (-Ml) when a title sequence is used (-E) in movie

Open Esteban82 opened this issue 1 year ago • 1 comments

The amount of frames on a movie are modified when a title sequence is added (-E).

So, for example I won't get the last frame if I use -Ml along with -E with this command (of WED-A_Fig_8.sh)

gmt movie main.sh -Iin.sh -Sbpre.sh -N${FIG} -Tdistance_vs_frame.txt -Ml,png -Etitle.sh+d6s+fo1s -Cfhd -Vi -D60 -K+p -Zs

-K can also affect the total amount of frames?

Esteban82 avatar Jan 22 '24 20:01 Esteban82

Another issue related to this is:

If I asked for the first frame (-Mf,png). I sometimes got the message below. In this case the master frame is created but is not copy to upper directory.

mv: cannot stat 'WED-A_Vid_4.png': No such file or directory

And in other occasions I got this:

ERROR: Caught signal number 11 (Segmentation fault) at
/lib/x86_64-linux-gnu/libc.so.6(+0xb48a8)[0x7fa9b6cb48a8]
[0x0]
Stack backtrace:
/usr/local/lib/libgmt.so.6(gmt_sig_handler_unix+0xf1)[0x7fa9b715ea11]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fa9b6c42520]
/lib/x86_64-linux-gnu/libc.so.6(+0xb48a8)[0x7fa9b6cb48a8]
/lib/x86_64-linux-gnu/libc.so.6(_IO_getline_info+0x6c)[0x7fa9b6c803dc]
/lib/x86_64-linux-gnu/libc.so.6(__fgets_chk+0x99)[0x7fa9b6d351c9]
/usr/local/lib/libgmt.so.6(gmt_fgets+0x3b)[0x7fa9b70bbc8b]
/usr/local/lib/libgmt.so.6(GMT_movie+0x8036)[0x7fa9b73785b6]
/usr/local/lib/libgmt.so.6(GMT_Call_Module+0x4ff)[0x7fa9b706012f]
gmt(+0x19b0)[0x558d53ec79b0]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fa9b6c29d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fa9b6c29e40]
gmt(+0x2855)[0x558d53ec8855]

Esteban82 avatar Mar 08 '24 02:03 Esteban82