tomviz
tomviz copied to clipboard
Cant export animation to movie
Describe the bug Trying to save an animation as a AVI file fails.
To Reproduce Steps to reproduce the behavior:
- File --> Export Movie
- Select VFW AVI file as output type
- Accept the defaults for the video output
- See error:
ERROR: In C:\d\buildbot\fff8b192\build\paraview\src\paraview\VTK\IO\Movie\vtkAVIWriter.cxx, line 206
vtkAVIWriter (0000014BC68B0900): Unable to format C:/Users/Peter.000/Desktop/test/aab.avi Most likely this means that the video compression scheme you selected could not handle the data. Try selecting a different compression scheme.
Expected behavior AVI should be properly output.
Desktop (please complete the following information):
- Operating system: Windows 10]
- Tomviz version: 1.7.0
Hardware (please complete the following information):
- Device: Dell xps 13
- Graphics card: Intel
Notes Exporting to png files works. This can be used to make a movie animation if needed.
Strange - I gave it a quick try on my personal Windows PC this morning (with the sample tilt series), and it seemed to work okay.
I just tried it on another computer. This one is a Microsoft Surface Book 2. When its connected to the base it has a Nvidia card. I ran into the same problem. So its not a intel/nvidia card issue.
I made a discovery though. If you set the X number of pixels above about 2000 then it fails. Try setting your image resolution to something large. Its either the number of pixels or the file size.
Its probably the file size. A 1920x1080 rendering of the example reconstruction with an orbit animation will be about 600 MB! Changing the quality did not affect the file size at all. Maybe the movie being saved as raw? The movie output needs some tuning.
This is also outputting the movie without any compression. That is why the file size is so large. Better look at how the movie is being generated by ffmpeg