No description or website provided.
Lua
Latest commit 89aba75 Nov 20, 2016 @DaveMcW committed on GitHub Update README.md
Permalink
Failed to load latest commit information.
images initial commit Nov 20, 2016
script
LICENSE Update LICENSE Nov 20, 2016
README.md Update README.md Nov 20, 2016
build.lua initial commit Nov 20, 2016
movie.zip initial commit Nov 20, 2016
palette.bmp initial commit Nov 20, 2016

README.md

Factorio Movie Maker

This project encodes a 178x100 3-bit color movie in a Factorio map.

  1. Install FFmpeg and Lua if you don't already have them.

  2. Obtain a source picture or video. It must have a 16:9 aspect ratio or it will be stretched. In this example it is called source.mp4.

  3. cd factorio-movie-maker
    ffmpeg -i source.mp4 -i palette.bmp -filter_complex "fps=20,scale=178:100:flags=lanczos,paletteuse" -pix_fmt bgr24 images/%04d.bmp
    lua build.lua
    
  4. Start Factorio and load movie.zip.

  5. Open each file in the script directory, select all, and copy/paste it into the Factorio console.

  6. Open the constant combinator at position {-183,-1}. Change the red signal to the frame count of your movie.