movies module
Code author: Niklaus Johner <niklaus.johner@a3.epfl.ch>
This module contains functions to render movies from OpenStructure using ffmpeg
-
InterpolateTrajectory(t, nsteps)[source]
-
MakeMovieAndCleanImageFiles(outdir, outname, nd='4', image_rate=24, quality=30, clean=False, first=0, last=0)[source]
Uses ffmpeg to encode a movie from png images
-pix_fmt yuv420p is needed to replay the movie in QuickTime
-
RenderTrajSimple(t, go, outdir, outname, width=500, height=500, first=0, last=-1, stride=1, first_index=0, nd='4')[source]
-
Fade(go, nsteps, initial_opacity, final_opacity, outdir, outname, width=500, height=500, first_index=0, nd='4')[source]
-
Fades(go_list, nsteps, initial_opacity_list, final_opacity_list, outdir, outname, width=500, height=500, first_index=0, nd='4')[source]
-
ClipObject(go, nsteps, initial_offset, final_offset, outdir, outname, width=500, height=500, first_index=0, nd='4')[source]
-
AdvanceTraj(t, go, outdir, outname, width=500, height=500, first=0, last=-1, stride=1, first_index=0, nd='4')[source]
-
RenderFrames(nframes, outdir, outname, width, height, first_index, nd='4')[source]
-
Zoom(nsteps, outdir, outname, dz, width=500, height=500, first_index=0, nd='4')[source]
-
ZoomAndClip(nsteps, outdir, outname, dz, initial_offset, final_offset, width=500, height=500, first_index=0, nd='4')[source]
-
ClipScene(nsteps, initial_near, final_near, outdir, outname, width=500, height=500, first_index=0, nd='4', change_far=False, near_to_far=20)[source]
-
Rotate(nsteps, outdir, outname, width=500, height=500, initial_angle=0, final_angle=6.28, axis=geom.Vec3(0, 1, 0), first_index=0, nd='4')[source]