Skip to content

Commit

Permalink
fix rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Oct 4, 2024
1 parent 8b8a841 commit eb9d547
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 15 deletions.
Binary file modified binary_exoplanets/binary_stars/binary_mratio=1_e=0.0.mp4
Binary file not shown.
Binary file modified binary_exoplanets/binary_stars/binary_mratio=1_e=0.4.mp4
Binary file not shown.
Binary file modified binary_exoplanets/binary_stars/binary_mratio=2_e=0.0.mp4
Binary file not shown.
Binary file modified binary_exoplanets/binary_stars/binary_mratio=2_e=0.4.mp4
Binary file not shown.
Binary file modified binary_exoplanets/binary_stars/binary_mratio=4_e=0.4_energy.mp4
Binary file not shown.
20 changes: 5 additions & 15 deletions binary_exoplanets/binary_stars/do_anim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,43 @@

# make the movie
./binary_stars.py --mass1 1.0 --mass2 1.0 -e 0.0 -a 10.0
ffmpeg -framerate 15 -f image2 -pattern_type glob -i "binary_star_mratio=1.00_e=0.00_????.png" -vcodec mpeg4 -c:v libx264 -crf 20 binary_mratio=1_e=0.0.mp4
ffmpeg -framerate 15 -f image2 -pattern_type glob -i "binary_star_mratio=1.00_e=0.00_????.png" -vcodec mpeg4 -c:v libx264 -crf 20 -pix_fmt yuv420p -movflags +faststart binary_mratio=1_e=0.0.mp4

# store one of the frames as the preview frame for the webpage and clean-up
cp binary_star_mratio=1.00_e=0.00_0150.png binary_mratio=1_e=0.0_preview.png
rm -f binary_star_mratio=1.00_e=0.00_????.png


# ---- M1/M2 = 2.0; e = 0.0 ----

# make the movie
./binary_stars.py --mass1 2.0 --mass2 1.0 -e 0.0 -a 10.0
ffmpeg -framerate 15 -f image2 -pattern_type glob -i "binary_star_mratio=2.00_e=0.00_????.png" -vcodec mpeg4 -c:v libx264 -crf 20 binary_mratio=2_e=0.0.mp4
ffmpeg -framerate 15 -f image2 -pattern_type glob -i "binary_star_mratio=2.00_e=0.00_????.png" -vcodec mpeg4 -c:v libx264 -crf 20 -pix_fmt yuv420p -movflags +faststart binary_mratio=2_e=0.0.mp4

# store one of the frames as the preview frame for the webpage and clean-up
cp binary_star_mratio=2.00_e=0.00_0150.png binary_mratio=2_e=0.0_preview.png
rm -f binary_star_mratio=2.00_e=0.00_????.png


# ---- M1/M2 = 1.0; e = 0.4 ----

# make the movie
./binary_stars.py --mass1 1.0 --mass2 1.0 -e 0.4 -a 10.0
ffmpeg -framerate 15 -f image2 -pattern_type glob -i "binary_star_mratio=1.00_e=0.40_????.png" -vcodec mpeg4 -c:v libx264 -crf 20 binary_mratio=1_e=0.4.mp4
ffmpeg -framerate 15 -f image2 -pattern_type glob -i "binary_star_mratio=1.00_e=0.40_????.png" -vcodec mpeg4 -c:v libx264 -crf 20 -pix_fmt yuv420p -movflags +faststart binary_mratio=1_e=0.4.mp4

# store one of the frames as the preview frame for the webpage and clean-up
cp binary_star_mratio=1.00_e=0.40_0150.png binary_mratio=1_e=0.4_preview.png
rm -f binary_star_mratio=1.00_e=0.40_????.png


# ---- M1/M2 = 2.0; e = 0.4 ----

# make the movie
./binary_stars.py --mass1 2.0 --mass2 1.0 -e 0.4 -a 10.0
ffmpeg -framerate 15 -f image2 -pattern_type glob -i "binary_star_mratio=2.00_e=0.40_????.png" -vcodec mpeg4 -c:v libx264 -crf 20 binary_mratio=2_e=0.4.mp4
ffmpeg -framerate 15 -f image2 -pattern_type glob -i "binary_star_mratio=2.00_e=0.40_????.png" -vcodec mpeg4 -c:v libx264 -crf 20 -pix_fmt yuv420p -movflags +faststart binary_mratio=2_e=0.4.mp4

# store one of the frames as the preview frame for the webpage and clean-up
cp binary_star_mratio=2.00_e=0.40_0150.png binary_mratio=2_e=0.4_preview.png
rm -f binary_star_mratio=2.00_e=0.40_????.png


# ---- M1/M2 = 4.0; e = 0.4 w/ energy ----

# make the movie
./binary_stars.py --mass1 4.0 --mass2 1.0 -e 0.4 -a 10.0 --annotate
ffmpeg -framerate 15 -f image2 -pattern_type glob -i "binary_star_mratio=4.00_e=0.40_????_energy.png" -vcodec mpeg4 -c:v libx264 -crf 20 binary_mratio=4_e=0.4_energy.mp4
ffmpeg -framerate 15 -f image2 -pattern_type glob -i "binary_star_mratio=4.00_e=0.40_????_energy.png" -vcodec mpeg4 -c:v libx264 -crf 20 -pix_fmt yuv420p -movflags +faststart binary_mratio=4_e=0.4_energy.mp4

# store one of the frames as the preview frame for the webpage and clean-up
cp binary_star_mratio=4.00_e=0.40_0150_energy.png binary_mratio=4_e=0.4_energy_preview.png
rm -f binary_star_mratio=4.00_e=0.40_????_energy.png

0 comments on commit eb9d547

Please sign in to comment.