omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Video or gif from still images

    Pythonista
    5
    6
    4604
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NoBetterName
      NoBetterName last edited by

      I have about 300 images that I want to combine together into a gif or video. I know there is a way to extract still images from a video in the camera roll, but is there a way to construct a video purely using still images? my ultimate goal is a .gif, but I can turn a video into a gif with an online tool. Any suggestions?

      1 Reply Last reply Reply Quote 0
      • dgelessus
        dgelessus last edited by

        FWIW, the Workflow app (which I think is now free) has some actions for combining images into a GIF and converting a GIF to a video. I have no idea if there are any Python modules for working with GIFs that could be used in Pythonista. If there aren't and you really want to do this from Python, there are ways to interact between Pythonista and Workflow via the URL schemes. But depending on what you want to do, it might be easier to use Workflow for the entire process, instead of calling Workflow from Pythonista.

        1 Reply Last reply Reply Quote 0
        • abcabc
          abcabc last edited by

          "Animated Gif.py" in "Examples/Misc" directory would combine images to gif. There does not seem to be a direct utility for combining images to video. As suggested by @dgelessus you may have to use workflow app for that.

          1 Reply Last reply Reply Quote 0
          • upwart
            upwart last edited by

            I have found a module to do exactly that. I haven't tried it but it should work under Pythonista, as it only depends on PIL.
            See https://gist.github.com/xyfeng/559e56401dee3eccfa23

            1 Reply Last reply Reply Quote 0
            • omz
              omz last edited by

              It should be possible to use the included images2gif module for creating an animated GIF from a sequence of images. You can find an example in the "Examples/Misc" folder ("Animated Gif.py").

              1 Reply Last reply Reply Quote 0
              • NoBetterName
                NoBetterName last edited by

                Thanks everybody for your quick answers. I have another question, but I'll ask it in another thread.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB Forums | Contributors