out.mp4
Compilation has only been tested on linux / macOS.
This algorithm is implemented in ocen, and you'll need to set up the ocen compiler. You will also need to have SDL installed and available in your default include / library paths. If you wish to use the ffmpeg
video output mode, you'll need to have ffmpeg
available in your PATH.
For input, currently only .qoi
images are supported. You can use imagemagick
to convert existing ones you have (convert foo.png foo.qoi
)
$ ocen main.oc -o seamcarve
$ /seamcarve input.qoi