author | Don Pellegrino <don@coffee.donpellegrino.com> | 2009-12-18 00:15:34 (GMT) |
---|---|---|
committer | Don Pellegrino <don@coffee.donpellegrino.com> | 2009-12-18 00:15:34 (GMT) |
commit | 19c12c898675844c8e8a99bc580be01a993472ad (patch) (unidiff) | |
tree | ca1d1725bcc649c7ff8144749b1450bab6626ac4 | |
parent | 84e7cf6f26fd77c3b13bcc80392b6264ffcb710e (diff) | |
download | exp005-19c12c898675844c8e8a99bc580be01a993472ad.zip exp005-19c12c898675844c8e8a99bc580be01a993472ad.tar.gz exp005-19c12c898675844c8e8a99bc580be01a993472ad.tar.bz2 |
Script to create an avi movie file from a sequence of JPEG images
output from ParaView and a movie for strains by year.
-rwxr-xr-x | test/ParaView/encode.sh | 16 | ||||
-rw-r--r-- | test/ParaView/strains_by_year-091217.avi | bin | 0 -> 9504830 bytes |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/ParaView/encode.sh b/test/ParaView/encode.sh new file mode 100755 index 0000000..a2bb80a --- a/dev/null +++ b/test/ParaView/encode.sh | |||
@@ -0,0 +1,16 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | # Create a video from the series of jpeg files output by ParaView. | ||
4 | |||
5 | # Based on documentation on-line at: | ||
6 | # http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html | ||
7 | |||
8 | # For compatibility with Windows Media Player msmpeg4v2 is used as | ||
9 | # per: http://ffmpeg.org/compat.html | ||
10 | |||
11 | mencoder mf://Animation/*.jpg \ | ||
12 | -mf fps=1:type=jpg \ | ||
13 | -ovc lavc \ | ||
14 | -lavcopts vcodec=msmpeg4v2:mbd=2:trell:keyint=3 \ | ||
15 | -info name="Influenza Sequence Diversity by Year of Strain":artist="Don Pellegrino":genre="Science":subject="Influenza":copyright="Copyright © 2009 Don Pellegrino" \ | ||
16 | -o output.avi | ||
diff --git a/test/ParaView/strains_by_year-091217.avi b/test/ParaView/strains_by_year-091217.avi new file mode 100644 index 0000000..334de55 --- a/dev/null +++ b/test/ParaView/strains_by_year-091217.avi | |||
Binary files differ | |||