Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

title.sh 2.5 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
  1. #!/usr/bin/env bash
  2. # Test movie options -E and -K
  3. # Total of 19 separate tests or combinations
  4. #
  5. # 1 Set up title
  6. cat << EOF > t.sh
  7. gmt begin
  8. echo TITLE | gmt text -R0/5/0/5 -JX5i -B+glightpink -F+f24p+cCM -X0 -Y0
  9. gmt end
  10. EOF
  11. # 2. Set up the main frame script
  12. cat << EOF > m.sh
  13. gmt begin
  14. gmt basemap -R0/5/0/5 -JX5i -Baf -B+glightgreen --MAP_FRAME_TYPE=inside -X0 -Y0
  15. gmt end
  16. EOF
  17. # A. Run the movie: title plus plot, no fading anywhere
  18. gmt movie m.sh -C5ix5ix100 -T48 -NA -D12 -Fmp4 -Et.sh+d24 -Lf -Z
  19. # B. Run the movie: title plus plot, 6 frames fade in on title
  20. gmt movie m.sh -C5ix5ix100 -T48 -NB -D12 -Fmp4 -Et.sh+d24+fi6 -Lf -Z
  21. # C. Run the movie: title plus plot, 6 frames fade out on title
  22. gmt movie m.sh -C5ix5ix100 -T48 -NC -D12 -Fmp4 -Et.sh+d24+fo6 -Lf -Z
  23. # D. Run the movie: title plus plot, 6 frames fade in and out on title
  24. gmt movie m.sh -C5ix5ix100 -T48 -ND -D12 -Fmp4 -Et.sh+d24+f6 -Lf -Z
  25. # E. Run the movie: title plus plot, 6 frames fade in, 3 frames out on title
  26. gmt movie m.sh -C5ix5ix100 -T48 -NE -D12 -Fmp4 -Et.sh+d24+fi6+fo3 -Lf -Z
  27. # F. Run the movie: title plus plot, fade in on plot
  28. gmt movie m.sh -C5ix5ix100 -T48 -NF -D12 -Fmp4 -Et.sh+d24 -K+fi6 -Lf -Z
  29. # G. Run the movie: title plus plot, fade out on plot
  30. gmt movie m.sh -C5ix5ix100 -T48 -NG -D12 -Fmp4 -Et.sh+d24 -K+fo6 -Lf -Z
  31. # H. Run the movie: title plus plot, fade in/out on plot
  32. gmt movie m.sh -C5ix5ix100 -T48 -NH -D12 -Fmp4 -Et.sh+d24 -K+f6 -Lf -Z
  33. # I. Run the movie: title plus plot, fade in/out on plot unequally
  34. gmt movie m.sh -C5ix5ix100 -T48 -NI -D12 -Fmp4 -Et.sh+d24 -K+fi6+fo12 -Lf -Z
  35. # J. Run the movie: title plus plot, fade in title, fade out on plot
  36. gmt movie m.sh -C5ix5ix100 -T48 -NJ -D12 -Fmp4 -Et.sh+d24+fi6 -K+fo6 -Lf -Z
  37. # K. Run the movie: title plus plot, fade in title, fade out in/on plot
  38. gmt movie m.sh -C5ix5ix100 -T48 -NK -D12 -Fmp4 -Et.sh+d24+fi6 -K+f6 -Lf -Z
  39. # L. Run the movie: title plus plot, fade in/out title, fade in/out plot
  40. gmt movie m.sh -C5ix5ix100 -T48 -NL -D12 -Fmp4 -Et.sh+d24+f6 -K+f6 -Lf -Z
  41. # M. Run the movie: title plus plot, no title fade, fade in/out plot with preserve both ends
  42. gmt movie m.sh -C5ix5ix100 -T48 -NM -D12 -Fmp4 -Et.sh+d24 -K+f6+p -Lf -Z
  43. # N. Run the movie: title plus plot, no title fade, fade in/out plot with preserve in
  44. gmt movie m.sh -C5ix5ix100 -T48 -NN -D12 -Fmp4 -Et.sh+d24 -K+f6+pi -Lf -Z
  45. # O. Run the movie: title plus plot, no title fade, fade in/out plot with preserve out
  46. gmt movie m.sh -C5ix5ix100 -T48 -NO -D12 -Fmp4 -Et.sh+d24 -K+f6+po -Lf -Z
  47. rm -f t.sh m.sh
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...