summaryrefslogtreecommitdiffstats
path: root/test/ParaView/encode.sh (plain)
blob: a2bb80a22be79ef144b20f7a9673bd02e3fe8a25
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.