Is your ParaView built with FFMPEG support? Try saving a "png" e.g. "movie.png" instead of "movie.avi", does that work? In that case, your ParaView is not built with FFMPEG support and cannot write AVI files.
Utkarsh On Wed, Apr 11, 2012 at 1:40 PM, Guillaume <gsi...@lanl.gov> wrote: > Hi, > > I try to run this script for test the possibility of animation with Python > and Paraview: > > #!/opt/Paraview/ParaView-3.12.0-RC2_python_MPI/bin/pvpython > from paraview.simple import * > import sys > reader = XDMFReader(FileName='Datas/HrsTest.xdmf') > Show(reader) > Render() > GetActiveCamera() > AnimateReader(reader,filename="movie.avi") > sys.exit() > # > > But I get this error: > > Traceback (most recent call last): > File "./anim_time.py", line 8, in <module> > AnimateReader(reader,filename="movie.avi") > File > "/opt/Paraview/ParaView-3.12.0-RC2_python_MPI/Utilities/VTKPythonWrapping/site-packages/paraview/simple.py", > line 551, in AnimateReader > return servermanager.AnimateReader(reader, view, filename) > File > "/opt/Paraview/ParaView-3.12.0-RC2_python_MPI/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py", > line 2163, in AnimateReader > raise RuntimeError, "Saving of animation failed!" > RuntimeError: Saving of animation failed! > > Please is somebody have an idea what is wrong ? > > Thanks, > G > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview