tomviz icon indicating copy to clipboard operation
tomviz copied to clipboard

Cant export animation to movie

Open ercius opened this issue 6 years ago • 4 comments

Describe the bug Trying to save an animation as a AVI file fails.

To Reproduce Steps to reproduce the behavior:

  1. File --> Export Movie
  2. Select VFW AVI file as output type
  3. Accept the defaults for the video output
  4. 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.

ercius avatar Sep 04 '19 22:09 ercius

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.

psavery avatar Sep 05 '19 12:09 psavery

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.

ercius avatar Sep 07 '19 04:09 ercius

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.

ercius avatar Sep 07 '19 04:09 ercius

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

ercius avatar Oct 14 '19 23:10 ercius