Hi,
I built Paraview 5.9.0 using the following cmake command line
cmake \
-DPARAVIEW_USE_PYTHON=ON \
-DPARAVIEW_USE_MPI=ON \
-DPARAVIEW_ENABLE_XDMF2=ON \
-DPARAVIEW_ENABLE_XDMF3=ON \
-DPARAVIEW_ENABLE_FFMPEG=ON \
-DQT5_DIR=$QT5_DIR \
-DVTK_SMP_IMPLEMENTATION_TYPE=TBB \
-DCMAKE_BUILD_TYPE=Release \
..
where QT5_DIR
points to a Qt installation.
I also installed the following libraries for ffmpeg support viat apt
libavcodec-dev
libavformat-dev
libswscale-dev
libavdevice-dev
libavfilter-dev
libavresample-dev
When I try to save an animation in .avi
format, I got this error
Warning: In /home/kihiro/Softwares/paraview/Remoting/Animation/vtkSMSaveAnimationProxy.cxx, line 326
vtkSMSaveAnimationProxy (0x55aa0a0df3e0): The requested resolution '(1517, 792)' has been changed to '(1516, 792)' to match format specification.
Generic Warning: In /home/kihiro/Softwares/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx, line 114
Could not open the avi media file format.
ERROR: In /home/kihiro/Softwares/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx, line 753
vtkFFMPEGWriter (0x55aa053e5a80): Error initializing video stream.
Looks like it fails on a call to av_guess_format
. Any idea why this happens?
Thanks.