From 19c12c898675844c8e8a99bc580be01a993472ad Mon Sep 17 00:00:00 2001 From: Don Pellegrino Date: Fri, 18 Dec 2009 00:15:34 +0000 Subject: Script to create an avi movie file from a sequence of JPEG images output from ParaView and a movie for strains by year. --- 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 @@ +#!/bin/bash + +# Create a video from the series of jpeg files output by ParaView. + +# Based on documentation on-line at: +# http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html + +# For compatibility with Windows Media Player msmpeg4v2 is used as +# per: http://ffmpeg.org/compat.html + +mencoder mf://Animation/*.jpg \ + -mf fps=1:type=jpg \ + -ovc lavc \ + -lavcopts vcodec=msmpeg4v2:mbd=2:trell:keyint=3 \ + -info name="Influenza Sequence Diversity by Year of Strain":artist="Don Pellegrino":genre="Science":subject="Influenza":copyright="Copyright © 2009 Don Pellegrino" \ + -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 -- cgit v0.8.3.1-22-g547a