# Error while exporting animation [closed]

When trying to export a video in the following manner

anim = ListAnimate[Table[Graphics[Rectangle[]], {j, 10}]]

Export["anim.mp4", anim, "FrameRate" -> 60,
ImageResolution -> 800, Antialiasing -> True]


where anim is just an example. The code is inspired by this answer, I get the following error message

"FrameRate" is working fine, but I also tried to add the " " to ImageResolution and Antialiasing, with no success. Any idea why, and how to solve this?

I'm using Mathematica 12.1 on Windows 10.

• Why do you use ListAnimate instead of just exporting the Table as .mp4? – CA Trevillian Jun 16 at 0:40
• I didn't know you could do that. How exactly? – sam wolfe Jun 17 at 10:19

The allowed options for Export to mp4 are

Export["anim.mp4", anim, "FrameRate" -> 60,

Therefore 2 of the options you used do not apply to mp4. These are ImageResolution and Antialiasing. That is why you get the errors.