Search code examples
pythonjythonquicktimemoviejes

Can makeQuicktimeMovie be used for png file?


I am using JES, and have my png files ready to makeQuicktimeMovie. I can't find anywhere, can I use png files?

The JES function as follows:

def makeQuicktimeMovie():
  file = pickAFile()
  myMovie = makeMovieFromInitialFile(file)
  writeQuicktime(myMovie, "C:\\myframes\\myMovie.mov", 30)

Solution

  • Here is the document:

    makeMovieFromInitialFile(filename):

    filename: string path to the first frame of the movie.

    returns: a Movie object using the given file as the first frame Takes a filename as input. Returns a Movie object using the given file as the first frame and using sequentially named files for subsequent frames (i.e. frame001, frame002, etc.)


    EDIT :

    It seems that both writeQuicktime() and writeAVI() work with .jpgs sequences ONLY (tested under Windows and Linux).