This would require bundling a library most people don’t need. This seems better done as a script or plugin that just presents a GUI for the options and then runs the appropriate command (using os.execute() presumably).
More than a year late, but I would love to have that feature ready in Aseprite to export files as intended instead of relying on a site that might butcher some frames or quality. Any updates on this?
Perhaps this could be done with a lua script that invokes ffmpeg from the users $PATH. I don’t know if the lua scripts have access to execute external apps, would need @dacap to weigh in.