# error when saving animation in avi

**URL:** https://discourse.paraview.org/t/error-when-saving-animation-in-avi/13269
**Category:** ParaView Support
**Created:** [November 17, 2023, 9:36am UTC](https://discourse.paraview.org/t/error-when-saving-animation-in-avi/13269 "2023-11-17T09:36:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Eloise](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/e/35a633/32.png) [@Eloise](https://discourse.paraview.org/u/Eloise)
#### Post date: [November 17, 2023, 9:36am UTC](https://discourse.paraview.org/t/error-when-saving-animation-in-avi/13269/1 "2023-11-17T09:36:55Z")

</div>

Hello,  
I know there is already some issues in saving animation with ffmpeg bug i did not see the same error message I have.

I installed paraview@master with spack adding the flag `-DPARAVIEW_ENABLE_FFMPEG` in my build of paraview.  
The installation is based on ffmpeg 6.0 (i tried with 6.1 but there is no changes), and build without error.

However when I want to save some animation in AVI fomat I get this error:

```auto
( 29.524s) [paraview]vtkSMSaveAnimationProxy:396 WARN| vtkSMSaveAnimationProxy (0x5561b9846da0): The requested resolution '(844, 251)' has been changed to '(844, 248)' to match format specification.
( 29.571s) [paraview]vtkSMPropertyHelper.cxx:570 WARN| Failed to locate property: FileName
( 29.572s) [paraview]vtkSMPropertyHelper.cxx:367 WARN| Call not supported for the current property type.
( 29.599s) [paraview] vtkFFMPEGWriter.cxx:691 ERR| vtkFFMPEGWriter (0x5561b988b450): Please specify a filename.

```

I can save in others formats (tried ogv and png) but not in AVI.

My colleague tried with a full manual installation of paraview with the same flag and have the same error.

Do we have forgot something in the build ? Is it a paraview bug ?

Eloïse

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [November 17, 2023, 12:52pm UTC](https://discourse.paraview.org/t/error-when-saving-animation-in-avi/13269/2 "2023-11-17T12:52:47Z")

</div>

Looks like it to me. Does this patch help? [https://gitlab.kitware.com/paraview/paraview/-/merge\_requests/6590](https://gitlab.kitware.com/paraview/paraview/-/merge_requests/6590)

---

<div class="post-metadata">

### Author: ![Eloise](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/e/35a633/32.png) [@Eloise](https://discourse.paraview.org/u/Eloise)
#### Post date: [November 17, 2023, 1:21pm UTC](https://discourse.paraview.org/t/error-when-saving-animation-in-avi/13269/3 "2023-11-17T13:21:28Z")

</div>

yeah it works ! thanks =)

---

<div class="post-metadata">

### Author: ![rmoortgat](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/4491bb/32.png) [@rmoortgat](https://discourse.paraview.org/u/rmoortgat)
#### Post date: [January 8, 2024, 8:15am UTC](https://discourse.paraview.org/t/error-when-saving-animation-in-avi/13269/4 "2024-01-08T08:15:00Z")

</div>

Hello,

I have the same problem however I have no idea how to apply this patch.  
Some help would be appreciated.

Kind regards,

Roger

---

<div class="post-metadata">

### Author: ![Eloise](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/e/35a633/32.png) [@Eloise](https://discourse.paraview.org/u/Eloise)
#### Post date: [January 8, 2024, 9:34am UTC](https://discourse.paraview.org/t/error-when-saving-animation-in-avi/13269/5 "2024-01-08T09:34:42Z")

</div>

Hello,  
The patch is merged now, so this should work without any action if your installation has been done recently (1 month ago) :o

Regards,  
Eloïse

---

<div class="post-metadata">

### Author: ![rmoortgat](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/4491bb/32.png) [@rmoortgat](https://discourse.paraview.org/u/rmoortgat)
#### Post date: [January 8, 2024, 10:27am UTC](https://discourse.paraview.org/t/error-when-saving-animation-in-avi/13269/6 "2024-01-08T10:27:51Z")

</div>

OK. Thx!
