Create video from images in Flutter

2,600

Yes, and I would recommend this package in the long run, because your expectations about how the video is created, may become more elaborated.

The package is large because it provides the full power of ffmpeg on all supported platforms. When you build an app for specific device (e.g., iPhone), the size penalty will hopefully be tolerable.

This said, you can build your own version of flutter_ffmpeg package removing all the external libraries that you don't need. Don't expect such cleanup to be easy, it may take few iterations before you settle on the right balance of size vs power.

Share:
2,600
asored
Author by

asored

... a developer who loves to write code.

Updated on December 22, 2022

Comments

  • asored
    asored over 1 year

    I try to develope the following in Flutter

    1. The user can add multiple images to a gallery
    2. The user can create a video from all these images with timelapse

    The first step is no problem, but how to build the second step? How can I create a video from images in Flutter?

    I found the flutter_ffmpeg plugin: https://pub.dev/packages/flutter_ffmpeg Would this be possible with this package?

    Otherwise this package above is very large. Are there other possibility to create a video from images with Flutter?

    • Andy
      Andy over 3 years
      Were you ever able to get this functionality?
    • reverie_ss
      reverie_ss about 3 years
      Can u share, how u added this functionality?
    • Petro
      Petro about 2 years
      Could you share an example?