If you want to stream a slideshow using ffmpeg, it seems like one easy way to do it is to create an imagepipe of the files.
This can then be streamed to twitch.tv or youtube ... https://trac.ffmpeg.org/wiki/StreamingGuide
This sample cycles between images on disk
go run main.go -duration 1.5 -fps 25 *.png | ./stream.sh twitch_streaming_key_goes_here
- if the FPS is too low, it won't actually send enough data to cause images to be read often enough (it seems)
- ffmpeg will rescale the images to the resolution specified in stream.sh
- ffmpeg seems want the imagepipe (all the images) to be the same format (although it will scale each independantly)
https://stackoverflow.com/questions/46397240/ffmpeg-image2pipe-producing-broken-video is interesting