Skip to content

DaveMcW/factorio-movie-maker

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages