← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2845: - Changed link to deprecated utils.encodeVideoFromFrames with utils.makeVideo (hope i did it prop...

 

------------------------------------------------------------
revno: 2845
committer: Emanuele Catalano <catalano@xxxxxxxxxxx
branch nick: yade
timestamp: Fri 2011-04-29 15:28:28 +0200
message:
  - Changed link to deprecated utils.encodeVideoFromFrames with utils.makeVideo (hope i did it properly, first time I modify docs)
modified:
  doc/sphinx/user.rst


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'doc/sphinx/user.rst'
--- doc/sphinx/user.rst	2011-04-15 06:20:10 +0000
+++ doc/sphinx/user.rst	2011-04-29 13:28:28 +0000
@@ -1319,11 +1319,11 @@
       	SnapshotEngine(iterPeriod=100,fileBase='/tmp/bulldozer-',viewNo=0,label='snapshooter')
       ]
 
-   which will save numbered files like ``/tmp/bulldozer-0000.png``. These files can be processed externally (with `mencoder <http://www.mplayerhq.hu>`_ and similar tools) or directly with the :yref:`yade.utils.encodeVideoFromFrames`::
+   which will save numbered files like ``/tmp/bulldozer-0000.png``. These files can be processed externally (with `mencoder <http://www.mplayerhq.hu>`_ and similar tools) or directly with the :yref:`yade.utils.makeVideo`::
 
-      utils.encodeVideoFromFrames(snapshooter.savedSnapshots,out='/tmp/bulldozer.ogg',fps=2)
+      utils.makeVideo(frameSpec,out,renameNotOverwrite=True,fps=24,kbps=6000,bps=None)
    
-   The video is encoded in the `Theora <http://www.theora.org>`_ format stored in an ogg container.
+   The video is encoded using the default mencoder codec (mpeg4).
 
 #. Specialized post-processing tools, notably `Paraview <http://www.paraview.org>`_. This is described in more detail in the following section.