Skip to content

1jz/pixsort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pixsort

Image/Video pixel sorter made in rust inspired by Kim Asendorf

Dependencies

FFmpeg - tested with v5.1.2

Usage:

cargo install --path .
pixsort --help

Arguments

Argument Flag Description
input -i input file to sort
rate -r framerate for videos
threads -t numbers of threads to use for sorting
white-threshold -w luminance threshold for whiteness
black-threshold -b luminance threshold for blackness
horizontal -H sort horizontally

Examples

pixsort -i 'input.mp4' -r 24 -b 0 -w 255 out.mp4 paprika

pixsort -i 'input.mp4' -r 24 out.mp4 paprika