File: node28.html

package info (click to toggle)
viewmol 2.3-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 9,424 kB
  • ctags: 2,239
  • sloc: ansic: 29,098; sh: 909; makefile: 513; python: 238
file content (76 lines) | stat: -rw-r--r-- 3,457 bytes parent folder | download
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--****************************************************************************
*                                                                              *
*                                   Viewmol                                    *
*                                                                              *
*                            N O D E 2 8 . H T M L                             *
*                                                                              *
*                  Copyright (c) Joerg-R. Hill, December 2000                  *
*                                                                              *
********************************************************************************
*-->
<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>The making of multimedia files</TITLE>
<META NAME="description" CONTENT="The making of multimedia files">
<META NAME="keywords" CONTENT="viewmol">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="viewmol.css">

</HEAD>

<BODY LANG="EN" BGCOLOR="#FFFFFF">

<H1>
<BR>
The making of multimedia files
</H1>
<A NAME="mpeg">
If normal modes are animated and the user selects <code>Save drawing/TIFF</code> from
the main window menu a series of TIFF files is written out, one for each
frame of the animation (currently 20 frames which cannot be changed by
the user). These TIFF files can easily be converted to a video file (MPEG)
showing the animation using standard image manipulation tools from the Internet.
One possible MPEG encoder is <code>mpeg_encode</code> which is available from
<A NAME="tex2html32"
  HREF="ftp://mm-ftp.CS.Berkeley.EDU/pub/mpeg/encode/"><TT>ftp://mm-ftp.CS.Berkeley.EDU</TT></A>
via anonymous ftp. This encoder expects its input files
either in PPM, PNM, or YUV format. To convert the TIFF files written by
V<SMALL>IEWMOL</SMALL> you can use the PBMPLUS or NETPBM libraries which have a filter
tifftopnm (you also need pnmflip, since tifftopnm changes the orientation of
the picture).  The following shell script will do the conversion (for sh and
ksh users) if the default files from V<SMALL>IEWMOL</SMALL> have been used:
<PRE>
for i in vm_image*.tiff
do
  j=`basename $i tiff`pnm
  tifftopnm $i | pnmflip -topbottom &gt; $j
done
</PRE>
The resulting PNM files can then be processed by <code>mpeg_encode</code> to produce
a MPEG file which can, e.&nbsp;g., be included into a World Wide Web document.

<P>
Selecting <code>Save drawing/Rayshade</code> from the main window menu with an
animation running will write a series of 20 input files for R<SMALL>AYSHADE</SMALL>.
These files can also be processed by R<SMALL>AYSHADE</SMALL> and used to generate
a movie of the vibration. This process can, however, be very time consuming.

<P>
<BR><HR>
<ADDRESS>
<A HREF="mailto:joehill@users.sourceforge.net"><I>Jrg-Rdiger Hill</I></A><BR>Sun Dec 10 17:38:35 MET 2000
</ADDRESS>
</BODY>
</HTML>