Ángel

@angel@triptico.com



curmudgeon / cascarrabias

wwwhttps://triptico.com
geminigemini://triptico.com
tilde.clubhttps://tilde.club/~angel/
Ann Hell Musichttps://exode.me/accounts/annhell
Keyoxidehttps://keyoxide.org/hkp/1AFAE6809099EB5CD65A4E32B498DDC28F4584FF
YO NO SOY PAVEL (novela)https://distrito93.com/catalogo/yo-no-soy-pavel/
1 ★ 2 ↺

Ángel »
@angel@triptico.com

TIL that most video processing tools accept as a valid input stream a set of concatenated PPM [1] files, so you can generate video from your own programs easily. You just have to pipe your program's output to the appropriate tools (indicating the FPS) like
./fancy-prg | mpv --no-correct-pts --fps=$FPS -
or
./fancy-prg | ffmpeg -i - -r $FPS video.mp4
[1] https://en.wikipedia.org/wiki/Netpbm_format

History